/*
* 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 LdapTestResult {
#[serde(rename = "message")]
pub message: String,
#[serde(rename = "response_time_ms")]
pub response_time_ms: i64,
#[serde(rename = "success")]
pub success: bool,
}
impl LdapTestResult {
pub fn new(message: String, response_time_ms: i64, success: bool) -> LdapTestResult {
LdapTestResult {
message,
response_time_ms,
success,
}
}
}