/*
* Harbor API
*
* These APIs provide services for manipulating Harbor project.
*
* The version of the OpenAPI document: 2.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct LdapFailedImportUser {
/// the uid can't add to system.
#[serde(rename = "uid", skip_serializing_if = "Option::is_none")]
pub uid: Option<String>,
/// fail reason.
#[serde(rename = "error", skip_serializing_if = "Option::is_none")]
pub error: Option<String>,
}
impl LdapFailedImportUser {
pub fn new() -> LdapFailedImportUser {
LdapFailedImportUser {
uid: None,
error: None,
}
}
}