/*
* Antimatter Public API
*
* Interact with the Antimatter Cloud API
*
* The version of the OpenAPI document: 2.0.13
* Contact: support@antimatter.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// CapabilityRule : A rule that refers to a domain identity capability. These rules are ANDed together
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CapabilityRule {
/// A list of capability matching patterns. Elements are ANDed together
#[serde(rename = "matchExpressions", skip_serializing_if = "Option::is_none")]
pub match_expressions: Option<Vec<models::CapabilityRuleMatchExpressionsInner>>,
}
impl CapabilityRule {
/// A rule that refers to a domain identity capability. These rules are ANDed together
pub fn new() -> CapabilityRule {
CapabilityRule {
match_expressions: None,
}
}
}