/// Applies a tag predicate to the enum series produced by input.
#[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 EnumTagFilterSeries {
    #[builder(custom(type = super::EnumSeries, convert = Box::new))]
    #[serde(rename = "input")]
    input: Box<super::EnumSeries>,
    #[builder(custom(type = super::TagPredicate, convert = Box::new))]
    #[serde(rename = "predicate")]
    predicate: Box<super::TagPredicate>,
}
impl EnumTagFilterSeries {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(input: super::EnumSeries, predicate: super::TagPredicate) -> Self {
        Self::builder().input(input).predicate(predicate).build()
    }
    #[inline]
    pub fn input(&self) -> &super::EnumSeries {
        &*self.input
    }
    #[inline]
    pub fn predicate(&self) -> &super::TagPredicate {
        &*self.predicate
    }
}
