/// The specified REFPROP property is not supported or not available in the current configuration.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct UnsupportedRefpropProperty {
    #[builder(into)]
    #[serde(rename = "property")]
    property: String,
    #[builder(into)]
    #[serde(rename = "propertyType")]
    property_type: String,
}
impl UnsupportedRefpropProperty {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(property: impl Into<String>, property_type: impl Into<String>) -> Self {
        Self::builder().property(property).property_type(property_type).build()
    }
    #[inline]
    pub fn property(&self) -> &str {
        &*self.property
    }
    #[inline]
    pub fn property_type(&self) -> &str {
        &*self.property_type
    }
}
impl conjure_error::ErrorType for UnsupportedRefpropProperty {
    #[inline]
    fn code() -> conjure_error::ErrorCode {
        conjure_error::ErrorCode::InvalidArgument
    }
    #[inline]
    fn name() -> &'static str {
        "Compute:UnsupportedRefpropProperty"
    }
    #[inline]
    fn safe_args() -> &'static [&'static str] {
        &["property", "propertyType"]
    }
}
