/*
 * 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};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct EvaluationResultResponse {
    #[serde(rename = "created")]
    pub created: i32,
    #[serde(rename = "policies_evaluated")]
    pub policies_evaluated: i32,
    #[serde(rename = "removed")]
    pub removed: i32,
    #[serde(rename = "retroactive_tasks_queued")]
    pub retroactive_tasks_queued: i32,
    #[serde(rename = "updated")]
    pub updated: i32,
}

impl EvaluationResultResponse {
    pub fn new(created: i32, policies_evaluated: i32, removed: i32, retroactive_tasks_queued: i32, updated: i32) -> EvaluationResultResponse {
        EvaluationResultResponse {
            created,
            policies_evaluated,
            removed,
            retroactive_tasks_queued,
            updated,
        }
    }
}

