#[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 RefpropSeriesNode {
#[builder(custom(type = super::NumericSeriesNode, convert = Box::new))]
#[serde(rename = "firstInput")]
first_input: Box<super::NumericSeriesNode>,
#[builder(custom(type = super::NumericSeriesNode, convert = Box::new))]
#[serde(rename = "secondInput")]
second_input: Box<super::NumericSeriesNode>,
#[serde(rename = "firstProperty")]
first_property: super::super::super::api::RefpropProperty,
#[serde(rename = "secondProperty")]
second_property: super::super::super::api::RefpropProperty,
#[serde(rename = "outputProperty")]
output_property: super::super::super::api::RefpropProperty,
#[serde(rename = "substance")]
substance: super::super::super::api::RefpropSubstance,
#[builder(custom(type = super::InterpolationConfiguration, convert = Box::new))]
#[serde(rename = "interpolationConfiguration")]
interpolation_configuration: Box<super::InterpolationConfiguration>,
}
impl RefpropSeriesNode {
#[inline]
pub fn first_input(&self) -> &super::NumericSeriesNode {
&*self.first_input
}
#[inline]
pub fn second_input(&self) -> &super::NumericSeriesNode {
&*self.second_input
}
#[inline]
pub fn first_property(&self) -> &super::super::super::api::RefpropProperty {
&self.first_property
}
#[inline]
pub fn second_property(&self) -> &super::super::super::api::RefpropProperty {
&self.second_property
}
#[inline]
pub fn output_property(&self) -> &super::super::super::api::RefpropProperty {
&self.output_property
}
#[inline]
pub fn substance(&self) -> &super::super::super::api::RefpropSubstance {
&self.substance
}
#[inline]
pub fn interpolation_configuration(&self) -> &super::InterpolationConfiguration {
&*self.interpolation_configuration
}
}