/*
 * 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 QuarantineActionResponse {
    #[serde(rename = "artifact_id")]
    pub artifact_id: uuid::Uuid,
    #[serde(rename = "message")]
    pub message: String,
    #[serde(rename = "new_status")]
    pub new_status: String,
}

impl QuarantineActionResponse {
    pub fn new(artifact_id: uuid::Uuid, message: String, new_status: String) -> QuarantineActionResponse {
        QuarantineActionResponse {
            artifact_id,
            message,
            new_status,
        }
    }
}

