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

/// ResetPasswordResponse : Response for password reset
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ResetPasswordResponse {
    #[serde(rename = "temporary_password")]
    pub temporary_password: String,
}

impl ResetPasswordResponse {
    /// Response for password reset
    pub fn new(temporary_password: String) -> ResetPasswordResponse {
        ResetPasswordResponse {
            temporary_password,
        }
    }
}

