// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ArrayContainsCondition {
    /// Defaults to `array_contains`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub kind: Option<String>,
    pub expected: std::collections::HashMap<String, serde_json::Value>,
}
impl ArrayContainsCondition {
    /// Construct a new `ArrayContainsCondition` with the required fields set.
    #[allow(deprecated)]
    pub fn new(expected: std::collections::HashMap<String, serde_json::Value>) -> Self {
        Self {
            kind: Default::default(),
            expected,
        }
    }
}
