-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelDelegated.go
233 lines (201 loc) · 8.81 KB
/
ModelDelegated.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// DelegatedAdminAccessAssignment undocumented
type DelegatedAdminAccessAssignment struct {
// Entity is the base model of DelegatedAdminAccessAssignment
Entity
ODataType string `json:"@odata.type,omitempty"`
// AccessContainer undocumented
AccessContainer *DelegatedAdminAccessContainer `json:"accessContainer,omitempty"`
// AccessDetails undocumented
AccessDetails *DelegatedAdminAccessDetails `json:"accessDetails,omitempty"`
// CreatedDateTime undocumented
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// Status undocumented
Status *DelegatedAdminAccessAssignmentStatus `json:"status,omitempty"`
}
func NewDelegatedAdminAccessAssignment() (*DelegatedAdminAccessAssignment, error) {
newDelegatedAdminAccessAssignment := &DelegatedAdminAccessAssignment{
ODataType: "#microsoft.graph.DelegatedAdminAccessAssignment",
}
return newDelegatedAdminAccessAssignment, nil
}
// DelegatedAdminAccessContainer undocumented
type DelegatedAdminAccessContainer struct {
// Object is the base model of DelegatedAdminAccessContainer
Object
ODataType string `json:"@odata.type,omitempty"`
// AccessContainerID undocumented
AccessContainerID *string `json:"accessContainerId,omitempty"`
// AccessContainerType undocumented
AccessContainerType *DelegatedAdminAccessContainerType `json:"accessContainerType,omitempty"`
}
func NewDelegatedAdminAccessContainer() (*DelegatedAdminAccessContainer, error) {
newDelegatedAdminAccessContainer := &DelegatedAdminAccessContainer{
ODataType: "#microsoft.graph.DelegatedAdminAccessContainer",
}
return newDelegatedAdminAccessContainer, nil
}
// DelegatedAdminAccessDetails undocumented
type DelegatedAdminAccessDetails struct {
// Object is the base model of DelegatedAdminAccessDetails
Object
ODataType string `json:"@odata.type,omitempty"`
// UnifiedRoles undocumented
UnifiedRoles []UnifiedRole `json:"unifiedRoles,omitempty"`
}
func NewDelegatedAdminAccessDetails() (*DelegatedAdminAccessDetails, error) {
newDelegatedAdminAccessDetails := &DelegatedAdminAccessDetails{
ODataType: "#microsoft.graph.DelegatedAdminAccessDetails",
}
return newDelegatedAdminAccessDetails, nil
}
// DelegatedAdminCustomer undocumented
type DelegatedAdminCustomer struct {
// Entity is the base model of DelegatedAdminCustomer
Entity
ODataType string `json:"@odata.type,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// TenantID undocumented
TenantID *string `json:"tenantId,omitempty"`
// ServiceManagementDetails undocumented
ServiceManagementDetails []DelegatedAdminServiceManagementDetail `json:"serviceManagementDetails,omitempty"`
}
func NewDelegatedAdminCustomer() (*DelegatedAdminCustomer, error) {
newDelegatedAdminCustomer := &DelegatedAdminCustomer{
ODataType: "#microsoft.graph.DelegatedAdminCustomer",
}
return newDelegatedAdminCustomer, nil
}
// DelegatedAdminRelationship undocumented
type DelegatedAdminRelationship struct {
// Entity is the base model of DelegatedAdminRelationship
Entity
ODataType string `json:"@odata.type,omitempty"`
// AccessDetails undocumented
AccessDetails *DelegatedAdminAccessDetails `json:"accessDetails,omitempty"`
// ActivatedDateTime undocumented
ActivatedDateTime *time.Time `json:"activatedDateTime,omitempty"`
// CreatedDateTime undocumented
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// Customer undocumented
Customer *DelegatedAdminRelationshipCustomerParticipant `json:"customer,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// Duration undocumented
Duration *Duration `json:"duration,omitempty"`
// EndDateTime undocumented
EndDateTime *time.Time `json:"endDateTime,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// Status undocumented
Status *DelegatedAdminRelationshipStatus `json:"status,omitempty"`
// AccessAssignments undocumented
AccessAssignments []DelegatedAdminAccessAssignment `json:"accessAssignments,omitempty"`
// Operations undocumented
Operations []DelegatedAdminRelationshipOperation `json:"operations,omitempty"`
// Requests undocumented
Requests []DelegatedAdminRelationshipRequestObject `json:"requests,omitempty"`
}
func NewDelegatedAdminRelationship() (*DelegatedAdminRelationship, error) {
newDelegatedAdminRelationship := &DelegatedAdminRelationship{
ODataType: "#microsoft.graph.DelegatedAdminRelationship",
}
return newDelegatedAdminRelationship, nil
}
// DelegatedAdminRelationshipCustomerParticipant undocumented
type DelegatedAdminRelationshipCustomerParticipant struct {
// Object is the base model of DelegatedAdminRelationshipCustomerParticipant
Object
ODataType string `json:"@odata.type,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// TenantID undocumented
TenantID *string `json:"tenantId,omitempty"`
}
func NewDelegatedAdminRelationshipCustomerParticipant() (*DelegatedAdminRelationshipCustomerParticipant, error) {
newDelegatedAdminRelationshipCustomerParticipant := &DelegatedAdminRelationshipCustomerParticipant{
ODataType: "#microsoft.graph.DelegatedAdminRelationshipCustomerParticipant",
}
return newDelegatedAdminRelationshipCustomerParticipant, nil
}
// DelegatedAdminRelationshipOperation undocumented
type DelegatedAdminRelationshipOperation struct {
// Entity is the base model of DelegatedAdminRelationshipOperation
Entity
ODataType string `json:"@odata.type,omitempty"`
// CreatedDateTime undocumented
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// Data undocumented
Data *string `json:"data,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// OperationType undocumented
OperationType *DelegatedAdminRelationshipOperationType `json:"operationType,omitempty"`
// Status undocumented
Status *LongRunningOperationStatus `json:"status,omitempty"`
}
func NewDelegatedAdminRelationshipOperation() (*DelegatedAdminRelationshipOperation, error) {
newDelegatedAdminRelationshipOperation := &DelegatedAdminRelationshipOperation{
ODataType: "#microsoft.graph.DelegatedAdminRelationshipOperation",
}
return newDelegatedAdminRelationshipOperation, nil
}
// DelegatedAdminRelationshipRequestObject undocumented
type DelegatedAdminRelationshipRequestObject struct {
// Entity is the base model of DelegatedAdminRelationshipRequestObject
Entity
ODataType string `json:"@odata.type,omitempty"`
// Action undocumented
Action *DelegatedAdminRelationshipRequestAction `json:"action,omitempty"`
// CreatedDateTime undocumented
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// Status undocumented
Status *DelegatedAdminRelationshipRequestStatus `json:"status,omitempty"`
}
func NewDelegatedAdminRelationshipRequestObject() (*DelegatedAdminRelationshipRequestObject, error) {
newDelegatedAdminRelationshipRequestObject := &DelegatedAdminRelationshipRequestObject{
ODataType: "#microsoft.graph.DelegatedAdminRelationshipRequestObject",
}
return newDelegatedAdminRelationshipRequestObject, nil
}
// DelegatedAdminServiceManagementDetail undocumented
type DelegatedAdminServiceManagementDetail struct {
// Entity is the base model of DelegatedAdminServiceManagementDetail
Entity
ODataType string `json:"@odata.type,omitempty"`
// ServiceManagementURL undocumented
ServiceManagementURL *string `json:"serviceManagementUrl,omitempty"`
// ServiceName undocumented
ServiceName *string `json:"serviceName,omitempty"`
}
func NewDelegatedAdminServiceManagementDetail() (*DelegatedAdminServiceManagementDetail, error) {
newDelegatedAdminServiceManagementDetail := &DelegatedAdminServiceManagementDetail{
ODataType: "#microsoft.graph.DelegatedAdminServiceManagementDetail",
}
return newDelegatedAdminServiceManagementDetail, nil
}
// DelegatedPermissionClassification undocumented
type DelegatedPermissionClassification struct {
// Entity is the base model of DelegatedPermissionClassification
Entity
ODataType string `json:"@odata.type,omitempty"`
// Classification undocumented
Classification *PermissionClassificationType `json:"classification,omitempty"`
// PermissionID undocumented
PermissionID *string `json:"permissionId,omitempty"`
// PermissionName undocumented
PermissionName *string `json:"permissionName,omitempty"`
}
func NewDelegatedPermissionClassification() (*DelegatedPermissionClassification, error) {
newDelegatedPermissionClassification := &DelegatedPermissionClassification{
ODataType: "#microsoft.graph.DelegatedPermissionClassification",
}
return newDelegatedPermissionClassification, nil
}