artifact-keeper-client 1.2.1

Rust client for the Artifact Keeper REST API
Documentation
/*
 * 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 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),
        }
    }
}