/*
 * Artifact Keeper API
 *
 * Enterprise artifact registry supporting 45+ package formats.
 *
 * The version of the OpenAPI document: 1.2.1
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// DtPolicyConditionFull : Full policy condition with all fields
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DtPolicyConditionFull {
    #[serde(rename = "operator")]
    pub operator: String,
    #[serde(rename = "subject")]
    pub subject: String,
    #[serde(rename = "uuid")]
    pub uuid: String,
    #[serde(rename = "value")]
    pub value: String,
}

impl DtPolicyConditionFull {
    /// Full policy condition with all fields
    pub fn new(operator: String, subject: String, uuid: String, value: String) -> DtPolicyConditionFull {
        DtPolicyConditionFull {
            operator,
            subject,
            uuid,
            value,
        }
    }
}

