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