#[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 AlignmentConfiguration {
    #[builder(custom(type = super::InterpolationConfiguration, convert = Box::new))]
    #[serde(rename = "interpolationConfiguration")]
    interpolation_configuration: Box<super::InterpolationConfiguration>,
    #[serde(rename = "driverSeries")]
    driver_series: super::AlignmentDriverSeries,
}
impl AlignmentConfiguration {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        interpolation_configuration: super::InterpolationConfiguration,
        driver_series: super::AlignmentDriverSeries,
    ) -> Self {
        Self::builder()
            .interpolation_configuration(interpolation_configuration)
            .driver_series(driver_series)
            .build()
    }
    /// The interpolation rules to use when aligning the non-driver series.
    #[inline]
    pub fn interpolation_configuration(&self) -> &super::InterpolationConfiguration {
        &*self.interpolation_configuration
    }
    /// The series whose timestamps drive alignment.
    #[inline]
    pub fn driver_series(&self) -> &super::AlignmentDriverSeries {
        &self.driver_series
    }
}
