#[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 ClosedWithFurtherActionAlertState {
    #[builder(into)]
    #[serde(rename = "comment")]
    comment: String,
    #[serde(rename = "closedBy")]
    closed_by: super::UserRid,
}
impl ClosedWithFurtherActionAlertState {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(comment: impl Into<String>, closed_by: super::UserRid) -> Self {
        Self::builder().comment(comment).closed_by(closed_by).build()
    }
    #[inline]
    pub fn comment(&self) -> &str {
        &*self.comment
    }
    #[inline]
    pub fn closed_by(&self) -> &super::UserRid {
        &self.closed_by
    }
}
