/
ModelPassword.go
112 lines (95 loc) · 3.65 KB
/
ModelPassword.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// PasswordAuthenticationMethod undocumented
type PasswordAuthenticationMethod struct {
// AuthenticationMethod is the base model of PasswordAuthenticationMethod
AuthenticationMethod
ODataType string `json:"@odata.type,omitempty"`
// CreatedDateTime undocumented
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// Password undocumented
Password *string `json:"password,omitempty"`
}
func NewPasswordAuthenticationMethod() (*PasswordAuthenticationMethod, error) {
newPasswordAuthenticationMethod := &PasswordAuthenticationMethod{
ODataType: "#microsoft.graph.PasswordAuthenticationMethod",
}
return newPasswordAuthenticationMethod, nil
}
// PasswordCredential undocumented
type PasswordCredential struct {
// Object is the base model of PasswordCredential
Object
ODataType string `json:"@odata.type,omitempty"`
// CustomKeyIdentifier undocumented
CustomKeyIdentifier *Binary `json:"customKeyIdentifier,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// EndDateTime undocumented
EndDateTime *time.Time `json:"endDateTime,omitempty"`
// Hint undocumented
Hint *string `json:"hint,omitempty"`
// KeyID undocumented
KeyID *UUID `json:"keyId,omitempty"`
// SecretText undocumented
SecretText *string `json:"secretText,omitempty"`
// StartDateTime undocumented
StartDateTime *time.Time `json:"startDateTime,omitempty"`
}
func NewPasswordCredential() (*PasswordCredential, error) {
newPasswordCredential := &PasswordCredential{
ODataType: "#microsoft.graph.PasswordCredential",
}
return newPasswordCredential, nil
}
// PasswordCredentialConfiguration undocumented
type PasswordCredentialConfiguration struct {
// Object is the base model of PasswordCredentialConfiguration
Object
ODataType string `json:"@odata.type,omitempty"`
// MaxLifetime undocumented
MaxLifetime *Duration `json:"maxLifetime,omitempty"`
// RestrictForAppsCreatedAfterDateTime undocumented
RestrictForAppsCreatedAfterDateTime *time.Time `json:"restrictForAppsCreatedAfterDateTime,omitempty"`
// RestrictionType undocumented
RestrictionType *AppCredentialRestrictionType `json:"restrictionType,omitempty"`
}
func NewPasswordCredentialConfiguration() (*PasswordCredentialConfiguration, error) {
newPasswordCredentialConfiguration := &PasswordCredentialConfiguration{
ODataType: "#microsoft.graph.PasswordCredentialConfiguration",
}
return newPasswordCredentialConfiguration, nil
}
// PasswordProfile undocumented
type PasswordProfile struct {
// Object is the base model of PasswordProfile
Object
ODataType string `json:"@odata.type,omitempty"`
// ForceChangePasswordNextSignIn undocumented
ForceChangePasswordNextSignIn *bool `json:"forceChangePasswordNextSignIn,omitempty"`
// ForceChangePasswordNextSignInWithMFA undocumented
ForceChangePasswordNextSignInWithMFA *bool `json:"forceChangePasswordNextSignInWithMfa,omitempty"`
// Password undocumented
Password *string `json:"password,omitempty"`
}
func NewPasswordProfile() (*PasswordProfile, error) {
newPasswordProfile := &PasswordProfile{
ODataType: "#microsoft.graph.PasswordProfile",
}
return newPasswordProfile, nil
}
// PasswordResetResponse undocumented
type PasswordResetResponse struct {
// Object is the base model of PasswordResetResponse
Object
ODataType string `json:"@odata.type,omitempty"`
// NewPassword undocumented
NewPassword *string `json:"newPassword,omitempty"`
}
func NewPasswordResetResponse() (*PasswordResetResponse, error) {
newPasswordResetResponse := &PasswordResetResponse{
ODataType: "#microsoft.graph.PasswordResetResponse",
}
return newPasswordResetResponse, nil
}