/// The number of points in the REFPROP inputs is too large.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash,
    Copy
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct RefpropInputTooLarge {
    #[serde(rename = "alignedSeriesSize")]
    aligned_series_size: i32,
}
impl RefpropInputTooLarge {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(aligned_series_size: i32) -> Self {
        Self::builder().aligned_series_size(aligned_series_size).build()
    }
    #[inline]
    pub fn aligned_series_size(&self) -> i32 {
        self.aligned_series_size
    }
}
impl conjure_error::ErrorType for RefpropInputTooLarge {
    #[inline]
    fn code() -> conjure_error::ErrorCode {
        conjure_error::ErrorCode::InvalidArgument
    }
    #[inline]
    fn name() -> &'static str {
        "Compute:RefpropInputTooLarge"
    }
    #[inline]
    fn safe_args() -> &'static [&'static str] {
        &["alignedSeriesSize"]
    }
}
