artifact-keeper-client 1.1.6

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.0.0-rc.3
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// SetupStatusResponse : Response body for the setup status endpoint.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SetupStatusResponse {
    /// Whether the initial admin password change is still required.
    #[serde(rename = "setup_required")]
    pub setup_required: bool,
}

impl SetupStatusResponse {
    /// Response body for the setup status endpoint.
    pub fn new(setup_required: bool) -> SetupStatusResponse {
        SetupStatusResponse {
            setup_required,
        }
    }
}