/
auth_user.go
54 lines (39 loc) · 1.59 KB
/
auth_user.go
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
48
49
50
51
52
53
54
/*
* Isilon SDK
*
* Isilon SDK - Language bindings for the OneFS API
*
* API version: 5
* Contact: sdk@isilon.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package isi_sdk_8_1_0
// Specifies the configuration properties for a user.
type AuthUser struct {
// Specifies an email address for the user.
Email string `json:"email,omitempty"`
// If true, the authenticated user is enabled.
Enabled bool `json:"enabled,omitempty"`
// Specifies the Unix Epoch time when the auth user will expire.
Expiry int32 `json:"expiry,omitempty"`
// Specifies the GECOS value, which is usually the full name.
Gecos string `json:"gecos,omitempty"`
// Specifies a home directory for the user.
HomeDirectory string `json:"home_directory,omitempty"`
// Changes the password for the user.
Password string `json:"password,omitempty"`
// If true, the password should expire.
PasswordExpires bool `json:"password_expires,omitempty"`
// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
PrimaryGroup *AuthAccessAccessItemFileGroup `json:"primary_group,omitempty"`
// If true, prompts the user to change their password at the next login.
PromptPasswordChange bool `json:"prompt_password_change,omitempty"`
// Specifies the shell for the user.
Shell string `json:"shell,omitempty"`
// Specifies a security identifier.
Sid string `json:"sid,omitempty"`
// Specifies a numeric user identifier.
Uid int32 `json:"uid,omitempty"`
// If true, the user account should be unlocked.
Unlock bool `json:"unlock,omitempty"`
}