// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Gate fires only if ALL child predicates fire.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ReviewAllOf {
    /// Defaults to `all_of`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub kind: Option<String>,
    pub predicates: Vec<ReviewAllOfPredicatesOneOf>,
}
impl ReviewAllOf {
    /// Construct a new `ReviewAllOf` with the required fields set.
    #[allow(deprecated)]
    pub fn new(predicates: Vec<ReviewAllOfPredicatesOneOf>) -> Self {
        Self {
            kind: Default::default(),
            predicates,
        }
    }
}
