#[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 Property {
    #[builder(
        custom(
            type = super::super::super::compute::api::StringConstant,
            convert = Box::new
        )
    )]
    #[serde(rename = "name")]
    name: Box<super::super::super::compute::api::StringConstant>,
    #[builder(
        custom(
            type = super::super::super::compute::api::StringConstant,
            convert = Box::new
        )
    )]
    #[serde(rename = "value")]
    value: Box<super::super::super::compute::api::StringConstant>,
}
impl Property {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        name: super::super::super::compute::api::StringConstant,
        value: super::super::super::compute::api::StringConstant,
    ) -> Self {
        Self::builder().name(name).value(value).build()
    }
    #[inline]
    pub fn name(&self) -> &super::super::super::compute::api::StringConstant {
        &*self.name
    }
    #[inline]
    pub fn value(&self) -> &super::super::super::compute::api::StringConstant {
        &*self.value
    }
}
