#[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 BatchInitiateDataReviewRequest {
    #[builder(default, list(item(type = super::CreateDataReviewRequest)))]
    #[serde(rename = "requests", skip_serializing_if = "Vec::is_empty", default)]
    requests: Vec<super::CreateDataReviewRequest>,
    #[builder(
        default,
        list(
            item(
                type = super::super::super::integrations::api::NotificationConfiguration
            )
        )
    )]
    #[serde(
        rename = "notificationConfigurations",
        skip_serializing_if = "Vec::is_empty",
        default
    )]
    notification_configurations: Vec<
        super::super::super::integrations::api::NotificationConfiguration,
    >,
}
impl BatchInitiateDataReviewRequest {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    #[inline]
    pub fn requests(&self) -> &[super::CreateDataReviewRequest] {
        &*self.requests
    }
    /// If provided, checklist violations will be sent to the specified integrations.
    #[inline]
    pub fn notification_configurations(
        &self,
    ) -> &[super::super::super::integrations::api::NotificationConfiguration] {
        &*self.notification_configurations
    }
}
