#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct NominalStorageLocator {
    #[serde(rename = "dataSourceRid")]
    data_source_rid: conjure_object::ResourceIdentifier,
    #[serde(rename = "type")]
    type_: super::super::super::super::super::storage::series::api::NominalDataType,
    #[builder(
        custom(type = super::ClickHouseSeriesResolutionDetails, convert = Box::new)
    )]
    #[serde(rename = "details")]
    details: Box<super::ClickHouseSeriesResolutionDetails>,
    #[serde(rename = "isInMemoryStreamingEnabled")]
    is_in_memory_streaming_enabled: bool,
    #[serde(rename = "datasetBackingType")]
    dataset_backing_type: super::super::super::super::catalog::DatasetBackingType,
}
impl NominalStorageLocator {
    #[inline]
    pub fn data_source_rid(&self) -> &conjure_object::ResourceIdentifier {
        &self.data_source_rid
    }
    #[inline]
    pub fn type_(
        &self,
    ) -> &super::super::super::super::super::storage::series::api::NominalDataType {
        &self.type_
    }
    #[inline]
    pub fn details(&self) -> &super::ClickHouseSeriesResolutionDetails {
        &*self.details
    }
    #[inline]
    pub fn is_in_memory_streaming_enabled(&self) -> bool {
        self.is_in_memory_streaming_enabled
    }
    #[inline]
    pub fn dataset_backing_type(
        &self,
    ) -> &super::super::super::super::catalog::DatasetBackingType {
        &self.dataset_backing_type
    }
}
