#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    conjure_object::private::DeriveWith
)]
#[serde(crate = "conjure_object::serde")]
#[derive_with(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct BandPassConfiguration {
    #[builder(custom(type = super::DoubleConstant, convert = Box::new))]
    #[serde(rename = "lowPassbandFrequency")]
    low_passband_frequency: Box<super::DoubleConstant>,
    #[builder(custom(type = super::DoubleConstant, convert = Box::new))]
    #[serde(rename = "highPassbandFrequency")]
    high_passband_frequency: Box<super::DoubleConstant>,
}
impl BandPassConfiguration {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        low_passband_frequency: super::DoubleConstant,
        high_passband_frequency: super::DoubleConstant,
    ) -> Self {
        Self::builder()
            .low_passband_frequency(low_passband_frequency)
            .high_passband_frequency(high_passband_frequency)
            .build()
    }
    #[inline]
    pub fn low_passband_frequency(&self) -> &super::DoubleConstant {
        &*self.low_passband_frequency
    }
    #[inline]
    pub fn high_passband_frequency(&self) -> &super::DoubleConstant {
        &*self.high_passband_frequency
    }
}
