#[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 BatchAutomaticCheckEvaluationActionRequest {
    #[builder(
        custom(type = super::AutomaticCheckEvaluationReviewAction, convert = Box::new)
    )]
    #[serde(rename = "checkEvaluationAction")]
    check_evaluation_action: Box<super::AutomaticCheckEvaluationReviewAction>,
    #[builder(default, set(item(type = conjure_object::ResourceIdentifier)))]
    #[serde(
        rename = "checkEvaluationRids",
        skip_serializing_if = "std::collections::BTreeSet::is_empty",
        default
    )]
    check_evaluation_rids: std::collections::BTreeSet<
        conjure_object::ResourceIdentifier,
    >,
}
impl BatchAutomaticCheckEvaluationActionRequest {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        check_evaluation_action: super::AutomaticCheckEvaluationReviewAction,
    ) -> Self {
        Self::builder().check_evaluation_action(check_evaluation_action).build()
    }
    #[inline]
    pub fn check_evaluation_action(
        &self,
    ) -> &super::AutomaticCheckEvaluationReviewAction {
        &*self.check_evaluation_action
    }
    #[inline]
    pub fn check_evaluation_rids(
        &self,
    ) -> &std::collections::BTreeSet<conjure_object::ResourceIdentifier> {
        &self.check_evaluation_rids
    }
}
