#[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 BatchCheckAlertActionRequest {
    #[builder(custom(type = super::CheckAlertAction, convert = Box::new))]
    #[serde(rename = "checkAlertAction")]
    check_alert_action: Box<super::CheckAlertAction>,
    #[builder(default, set(item(type = super::super::super::rids::api::CheckAlertRid)))]
    #[serde(
        rename = "checkAlertRids",
        skip_serializing_if = "std::collections::BTreeSet::is_empty",
        default
    )]
    check_alert_rids: std::collections::BTreeSet<
        super::super::super::rids::api::CheckAlertRid,
    >,
}
impl BatchCheckAlertActionRequest {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(check_alert_action: super::CheckAlertAction) -> Self {
        Self::builder().check_alert_action(check_alert_action).build()
    }
    #[inline]
    pub fn check_alert_action(&self) -> &super::CheckAlertAction {
        &*self.check_alert_action
    }
    #[inline]
    pub fn check_alert_rids(
        &self,
    ) -> &std::collections::BTreeSet<super::super::super::rids::api::CheckAlertRid> {
        &self.check_alert_rids
    }
}
