/// Produces a list of zero-duration ranges at the first point where two series cross over one another
#[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 SeriesCrossoverRanges {
    #[builder(custom(type = super::NumericSeries, convert = Box::new))]
    #[serde(rename = "inputA")]
    input_a: Box<super::NumericSeries>,
    #[builder(custom(type = super::NumericSeries, convert = Box::new))]
    #[serde(rename = "inputB")]
    input_b: Box<super::NumericSeries>,
}
impl SeriesCrossoverRanges {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(input_a: super::NumericSeries, input_b: super::NumericSeries) -> Self {
        Self::builder().input_a(input_a).input_b(input_b).build()
    }
    #[inline]
    pub fn input_a(&self) -> &super::NumericSeries {
        &*self.input_a
    }
    #[inline]
    pub fn input_b(&self) -> &super::NumericSeries {
        &*self.input_b
    }
}
