nominal_api/conjure/objects/scout/compute/resolved/api/
refprop_series_node.rs1#[derive(
2 Debug,
3 Clone,
4 conjure_object::serde::Serialize,
5 conjure_object::serde::Deserialize,
6 conjure_object::private::DeriveWith
7)]
8#[serde(crate = "conjure_object::serde")]
9#[derive_with(PartialEq, Eq, PartialOrd, Ord, Hash)]
10#[conjure_object::private::staged_builder::staged_builder]
11#[builder(crate = conjure_object::private::staged_builder, update, inline)]
12pub struct RefpropSeriesNode {
13 #[builder(custom(type = super::NumericSeriesNode, convert = Box::new))]
14 #[serde(rename = "firstInput")]
15 first_input: Box<super::NumericSeriesNode>,
16 #[builder(custom(type = super::NumericSeriesNode, convert = Box::new))]
17 #[serde(rename = "secondInput")]
18 second_input: Box<super::NumericSeriesNode>,
19 #[serde(rename = "firstProperty")]
20 first_property: super::super::super::api::RefpropProperty,
21 #[serde(rename = "secondProperty")]
22 second_property: super::super::super::api::RefpropProperty,
23 #[serde(rename = "outputProperty")]
24 output_property: super::super::super::api::RefpropProperty,
25 #[serde(rename = "substance")]
26 substance: super::super::super::api::RefpropSubstance,
27 #[builder(custom(type = super::InterpolationConfiguration, convert = Box::new))]
28 #[serde(rename = "interpolationConfiguration")]
29 interpolation_configuration: Box<super::InterpolationConfiguration>,
30}
31impl RefpropSeriesNode {
32 #[inline]
33 pub fn first_input(&self) -> &super::NumericSeriesNode {
34 &*self.first_input
35 }
36 #[inline]
37 pub fn second_input(&self) -> &super::NumericSeriesNode {
38 &*self.second_input
39 }
40 #[inline]
41 pub fn first_property(&self) -> &super::super::super::api::RefpropProperty {
42 &self.first_property
43 }
44 #[inline]
45 pub fn second_property(&self) -> &super::super::super::api::RefpropProperty {
46 &self.second_property
47 }
48 #[inline]
49 pub fn output_property(&self) -> &super::super::super::api::RefpropProperty {
50 &self.output_property
51 }
52 #[inline]
53 pub fn substance(&self) -> &super::super::super::api::RefpropSubstance {
54 &self.substance
55 }
56 #[inline]
57 pub fn interpolation_configuration(&self) -> &super::InterpolationConfiguration {
58 &*self.interpolation_configuration
59 }
60}