#[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 LogFilterSeriesNode {
    #[builder(custom(type = super::LogSeriesNode, convert = Box::new))]
    #[serde(rename = "input")]
    input: Box<super::LogSeriesNode>,
    #[builder(
        custom(type = super::super::super::api::LogFilterOperator, convert = Box::new)
    )]
    #[serde(rename = "operator")]
    operator: Box<super::super::super::api::LogFilterOperator>,
}
impl LogFilterSeriesNode {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        input: super::LogSeriesNode,
        operator: super::super::super::api::LogFilterOperator,
    ) -> Self {
        Self::builder().input(input).operator(operator).build()
    }
    #[inline]
    pub fn input(&self) -> &super::LogSeriesNode {
        &*self.input
    }
    #[inline]
    pub fn operator(&self) -> &super::super::super::api::LogFilterOperator {
        &*self.operator
    }
}
