/*
 * 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 ReadyzChecks {
    #[serde(rename = "database")]
    pub database: Box<models::CheckStatus>,
    #[serde(rename = "migrations")]
    pub migrations: Box<models::CheckStatus>,
    #[serde(rename = "setup_complete")]
    pub setup_complete: Box<models::CheckStatus>,
}

impl ReadyzChecks {
    pub fn new(database: models::CheckStatus, migrations: models::CheckStatus, setup_complete: models::CheckStatus) -> ReadyzChecks {
        ReadyzChecks {
            database: Box::new(database),
            migrations: Box::new(migrations),
            setup_complete: Box::new(setup_complete),
        }
    }
}

