harbor_api/models/
user_sys_admin_flag.rs

1/*
2 * Harbor API
3 *
4 * These APIs provide services for manipulating Harbor project.
5 *
6 * The version of the OpenAPI document: 2.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct UserSysAdminFlag {
16    /// true-admin, false-not admin.
17    #[serde(rename = "sysadmin_flag", skip_serializing_if = "Option::is_none")]
18    pub sysadmin_flag: Option<bool>,
19}
20
21impl UserSysAdminFlag {
22    pub fn new() -> UserSysAdminFlag {
23        UserSysAdminFlag {
24            sysadmin_flag: None,
25        }
26    }
27}
28