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