#[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 BandStopConfiguration {
    #[builder(custom(type = super::DoubleConstant, convert = Box::new))]
    #[serde(rename = "lowStopbandFrequency")]
    low_stopband_frequency: Box<super::DoubleConstant>,
    #[builder(custom(type = super::DoubleConstant, convert = Box::new))]
    #[serde(rename = "highStopbandFrequency")]
    high_stopband_frequency: Box<super::DoubleConstant>,
}
impl BandStopConfiguration {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        low_stopband_frequency: super::DoubleConstant,
        high_stopband_frequency: super::DoubleConstant,
    ) -> Self {
        Self::builder()
            .low_stopband_frequency(low_stopband_frequency)
            .high_stopband_frequency(high_stopband_frequency)
            .build()
    }
    #[inline]
    pub fn low_stopband_frequency(&self) -> &super::DoubleConstant {
        &*self.low_stopband_frequency
    }
    #[inline]
    pub fn high_stopband_frequency(&self) -> &super::DoubleConstant {
        &*self.high_stopband_frequency
    }
}
