/*
* 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 UserEntity {
/// The ID of the user.
#[serde(rename = "user_id", skip_serializing_if = "Option::is_none")]
pub user_id: Option<i32>,
/// The name of the user.
#[serde(rename = "username", skip_serializing_if = "Option::is_none")]
pub username: Option<String>,
}
impl UserEntity {
pub fn new() -> UserEntity {
UserEntity {
user_id: None,
username: None,
}
}
}