-
Notifications
You must be signed in to change notification settings - Fork 7
/
type_access_profile.go
26 lines (23 loc) · 1.16 KB
/
type_access_profile.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
package main
type AccessProfile struct {
Description string `json:"description"`
Enabled *bool `json:"enabled,omitempty"`
Entitlements []*ObjectInfo `json:"entitlements,omitempty"`
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
AccessProfileOwner *ObjectInfo `json:"owner,omitempty"`
AccessProfileSource *ObjectInfo `json:"source,omitempty"`
Requestable *bool `json:"requestable,omitempty"`
AccessRequestConfig *AccessRequestConfigList `json:"accessRequestConfig,omitempty"`
}
type AccessRequestConfigList struct {
CommentsRequired *bool `json:"commentsRequired,omitempty"`
DenialCommentsRequired *bool `json:"denialCommentsRequired,omitempty"`
ApprovalSchemes interface{} `json:"approvalSchemes,omitempty"`
ReauthorizationRequired *bool `json:"reauthorizationRequired,omitempty"`
}
type UpdateAccessProfile struct {
Op string `json:"op"`
Path string `json:"path"`
Value []interface{} `json:"value"`
}