1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/// AuthUser : Specifies the configuration properties for a user.

#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct AuthUser {
    /// Specifies an email address for the user.
    #[serde(rename = "email")]
    pub email: Option<String>,
    /// If true, the authenticated user is enabled.
    #[serde(rename = "enabled")]
    pub enabled: Option<bool>,
    /// Specifies the Unix Epoch time when the auth user will expire.
    #[serde(rename = "expiry")]
    pub expiry: Option<i32>,
    /// Specifies the GECOS value, which is usually the full name.
    #[serde(rename = "gecos")]
    pub gecos: Option<String>,
    /// Specifies a home directory for the user.
    #[serde(rename = "home_directory")]
    pub home_directory: Option<String>,
    /// Changes the password for the user.
    #[serde(rename = "password")]
    pub password: Option<String>,
    /// If true, the password should expire.
    #[serde(rename = "password_expires")]
    pub password_expires: Option<bool>,
    /// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
    #[serde(rename = "primary_group")]
    pub primary_group: Option <crate::models::AuthAccessAccessItemFileGroup>,
    /// If true, prompts the user to change their password at the next login.
    #[serde(rename = "prompt_password_change")]
    pub prompt_password_change: Option<bool>,
    /// Specifies the shell for the user.
    #[serde(rename = "shell")]
    pub shell: Option<String>,
    /// Specifies a security identifier.
    #[serde(rename = "sid")]
    pub sid: Option<String>,
    /// Specifies a numeric user identifier.
    #[serde(rename = "uid")]
    pub uid: Option<i32>,
    /// If true, the user account should be unlocked.
    #[serde(rename = "unlock")]
    pub unlock: Option<bool>,
}