-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtype_Identity.go
24 lines (22 loc) · 1.01 KB
/
type_Identity.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
package main
type Identity struct {
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
IsManager bool `json:"isManager,omitempty"`
Alias string `json:"alias"`
EmailAddress string `json:"emailAddress,omitempty"`
IdentityStatus string `json:"identityStatus,omitempty"`
Enabled bool `json:"enabled,omitempty"`
IdentityAttributes *IdentityAttributes `json:"attributes,omitempty"`
}
type IdentityAttributes struct {
AdpID string `json:"adpId,omitempty"`
LastName string `json:"lastname,omitempty"`
FirstName string `json:"firstname,omitempty"`
Phone string `json:"phone,omitempty"`
UserType string `json:"userType,omitempty"`
UID string `json:"uid,omitempty"`
Email string `json:"email,omitempty"`
WorkdayId string `json:"workdayId,omitempty"`
}