/*
* 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};
/// 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,
}
}
}