#[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 SeriesCrossoverRangesNode {
    #[builder(custom(type = super::NumericSeriesNode, convert = Box::new))]
    #[serde(rename = "inputA")]
    input_a: Box<super::NumericSeriesNode>,
    #[builder(custom(type = super::NumericSeriesNode, convert = Box::new))]
    #[serde(rename = "inputB")]
    input_b: Box<super::NumericSeriesNode>,
}
impl SeriesCrossoverRangesNode {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        input_a: super::NumericSeriesNode,
        input_b: super::NumericSeriesNode,
    ) -> Self {
        Self::builder().input_a(input_a).input_b(input_b).build()
    }
    #[inline]
    pub fn input_a(&self) -> &super::NumericSeriesNode {
        &*self.input_a
    }
    #[inline]
    pub fn input_b(&self) -> &super::NumericSeriesNode {
        &*self.input_b
    }
}
