#[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 BatchEditRunMetadataResponse {
    #[builder(default, list(item(type = super::RunRid)))]
    #[serde(rename = "modifiedRunRids", skip_serializing_if = "Vec::is_empty", default)]
    modified_run_rids: Vec<super::RunRid>,
    #[builder(default, list(item(type = super::RunRid)))]
    #[serde(
        rename = "conflictingRunRids",
        skip_serializing_if = "Vec::is_empty",
        default
    )]
    conflicting_run_rids: Vec<super::RunRid>,
}
impl BatchEditRunMetadataResponse {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    /// RIDs for runs that were modified by the batch edit.
    #[inline]
    pub fn modified_run_rids(&self) -> &[super::RunRid] {
        &*self.modified_run_rids
    }
    /// RIDs for runs 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_run_rids(&self) -> &[super::RunRid] {
        &*self.conflicting_run_rids
    }
}
