/// This response identifies the series metadata row and nominal types from the applied change.
#[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 ChangeDataTypeResponse {
    #[serde(rename = "seriesMetadataRid")]
    series_metadata_rid: conjure_object::ResourceIdentifier,
    #[serde(rename = "oldType")]
    old_type: super::super::super::super::storage::series::api::NominalDataType,
    #[serde(rename = "newType")]
    new_type: super::super::super::super::storage::series::api::NominalDataType,
}
impl ChangeDataTypeResponse {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        series_metadata_rid: conjure_object::ResourceIdentifier,
        old_type: super::super::super::super::storage::series::api::NominalDataType,
        new_type: super::super::super::super::storage::series::api::NominalDataType,
    ) -> Self {
        Self::builder()
            .series_metadata_rid(series_metadata_rid)
            .old_type(old_type)
            .new_type(new_type)
            .build()
    }
    /// Identifies the series metadata row being changed.
    #[inline]
    pub fn series_metadata_rid(&self) -> &conjure_object::ResourceIdentifier {
        &self.series_metadata_rid
    }
    /// Reports the exact nominal type read from the existing locator.
    #[inline]
    pub fn old_type(
        &self,
    ) -> &super::super::super::super::storage::series::api::NominalDataType {
        &self.old_type
    }
    /// Reports the exact nominal type requested by the caller.
    #[inline]
    pub fn new_type(
        &self,
    ) -> &super::super::super::super::storage::series::api::NominalDataType {
        &self.new_type
    }
}
