#[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 SummarizeMultivariateNode {
#[builder(default, list(item(type = super::MultivariateInputNode)))]
#[serde(rename = "inputs", skip_serializing_if = "Vec::is_empty", default)]
inputs: Vec<super::MultivariateInputNode>,
#[builder(custom(type = super::AlignmentConfiguration, convert = Box::new))]
#[serde(rename = "alignmentConfiguration")]
alignment_configuration: Box<super::AlignmentConfiguration>,
#[serde(rename = "outputFormat")]
output_format: super::super::super::api::OutputFormat,
#[builder(custom(type = super::MultivariateDecimateStrategy, convert = Box::new))]
#[serde(rename = "decimation")]
decimation: Box<super::MultivariateDecimateStrategy>,
}
impl SummarizeMultivariateNode {
#[inline]
pub fn new(
alignment_configuration: super::AlignmentConfiguration,
output_format: super::super::super::api::OutputFormat,
decimation: super::MultivariateDecimateStrategy,
) -> Self {
Self::builder()
.alignment_configuration(alignment_configuration)
.output_format(output_format)
.decimation(decimation)
.build()
}
#[inline]
pub fn inputs(&self) -> &[super::MultivariateInputNode] {
&*self.inputs
}
#[inline]
pub fn alignment_configuration(&self) -> &super::AlignmentConfiguration {
&*self.alignment_configuration
}
#[inline]
pub fn output_format(&self) -> &super::super::super::api::OutputFormat {
&self.output_format
}
#[inline]
pub fn decimation(&self) -> &super::MultivariateDecimateStrategy {
&*self.decimation
}
}