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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct StatsResponse {
    #[serde(rename = "counts")]
    pub counts: Vec<models::StatusCount>,
    #[serde(rename = "staging_repo_id")]
    pub staging_repo_id: uuid::Uuid,
}

impl StatsResponse {
    pub fn new(counts: Vec<models::StatusCount>, staging_repo_id: uuid::Uuid) -> StatsResponse {
        StatsResponse {
            counts,
            staging_repo_id,
        }
    }
}

