// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Gate when the number of resulting splits != `expected`.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ReviewSplitCountNeq {
    /// Defaults to `split_count_neq`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub kind: Option<String>,
    pub expected: i64,
}
impl ReviewSplitCountNeq {
    /// Construct a new `ReviewSplitCountNeq` with the required fields set.
    #[allow(deprecated)]
    pub fn new(expected: i64) -> Self {
        Self {
            kind: Default::default(),
            expected,
        }
    }
}
