#[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 BatchEditChecklistMetadataResponse {
    #[builder(default, list(item(type = super::super::super::rids::api::ChecklistRid)))]
    #[serde(
        rename = "modifiedChecklistRids",
        skip_serializing_if = "Vec::is_empty",
        default
    )]
    modified_checklist_rids: Vec<super::super::super::rids::api::ChecklistRid>,
    #[builder(default, list(item(type = super::super::super::rids::api::ChecklistRid)))]
    #[serde(
        rename = "conflictingChecklistRids",
        skip_serializing_if = "Vec::is_empty",
        default
    )]
    conflicting_checklist_rids: Vec<super::super::super::rids::api::ChecklistRid>,
}
impl BatchEditChecklistMetadataResponse {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    /// RIDs for checklists that were modified by the batch edit.
    #[inline]
    pub fn modified_checklist_rids(
        &self,
    ) -> &[super::super::super::rids::api::ChecklistRid] {
        &*self.modified_checklist_rids
    }
    /// RIDs for checklists that matched the source filter but already had the target property key
    /// and were skipped (SkipOnConflict behavior). Empty for operations without conflict semantics
    /// or when using OverwriteOnConflict.
    #[inline]
    pub fn conflicting_checklist_rids(
        &self,
    ) -> &[super::super::super::rids::api::ChecklistRid] {
        &*self.conflicting_checklist_rids
    }
}
