#[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 DurationFilterRangesNode {
    #[builder(custom(type = super::RangesNode, convert = Box::new))]
    #[serde(rename = "input")]
    input: Box<super::RangesNode>,
    #[builder(
        custom(type = super::super::super::super::run::api::Duration, convert = Box::new)
    )]
    #[serde(rename = "threshold")]
    threshold: Box<super::super::super::super::run::api::Duration>,
    #[serde(rename = "operator")]
    operator: super::super::super::api::ThresholdOperator,
    #[serde(rename = "unboundedBehavior")]
    unbounded_behavior: super::super::super::api::UnboundedBehavior,
}
impl DurationFilterRangesNode {
    #[inline]
    pub fn input(&self) -> &super::RangesNode {
        &*self.input
    }
    #[inline]
    pub fn threshold(&self) -> &super::super::super::super::run::api::Duration {
        &*self.threshold
    }
    #[inline]
    pub fn operator(&self) -> &super::super::super::api::ThresholdOperator {
        &self.operator
    }
    #[inline]
    pub fn unbounded_behavior(&self) -> &super::super::super::api::UnboundedBehavior {
        &self.unbounded_behavior
    }
}
