#[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 OrSeriesNode {
    #[builder(custom(type = super::BooleanSeriesNode, convert = Box::new))]
    #[serde(rename = "left")]
    left: Box<super::BooleanSeriesNode>,
    #[builder(custom(type = super::BooleanSeriesNode, convert = Box::new))]
    #[serde(rename = "right")]
    right: Box<super::BooleanSeriesNode>,
    #[builder(custom(type = super::FillStrategy, convert = Box::new))]
    #[serde(rename = "fillStrategy")]
    fill_strategy: Box<super::FillStrategy>,
}
impl OrSeriesNode {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        left: super::BooleanSeriesNode,
        right: super::BooleanSeriesNode,
        fill_strategy: super::FillStrategy,
    ) -> Self {
        Self::builder().left(left).right(right).fill_strategy(fill_strategy).build()
    }
    #[inline]
    pub fn left(&self) -> &super::BooleanSeriesNode {
        &*self.left
    }
    #[inline]
    pub fn right(&self) -> &super::BooleanSeriesNode {
        &*self.right
    }
    #[inline]
    pub fn fill_strategy(&self) -> &super::FillStrategy {
        &*self.fill_strategy
    }
}
