-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelApp.go
280 lines (239 loc) · 8.21 KB
/
ModelApp.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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// AppCatalogs undocumented
type AppCatalogs struct {
// Entity is the base model of AppCatalogs
Entity
ODataType string `json:"@odata.type,omitempty"`
// TeamsApps undocumented
TeamsApps []TeamsApp `json:"teamsApps,omitempty"`
}
func NewAppCatalogs() (*AppCatalogs, error) {
newAppCatalogs := &AppCatalogs{
ODataType: "#microsoft.graph.AppCatalogs",
}
return newAppCatalogs, nil
}
// AppConfigurationSettingItem undocumented
type AppConfigurationSettingItem struct {
// Object is the base model of AppConfigurationSettingItem
Object
ODataType string `json:"@odata.type,omitempty"`
// AppConfigKey undocumented
AppConfigKey *string `json:"appConfigKey,omitempty"`
// AppConfigKeyType undocumented
AppConfigKeyType *MDMAppConfigKeyType `json:"appConfigKeyType,omitempty"`
// AppConfigKeyValue undocumented
AppConfigKeyValue *string `json:"appConfigKeyValue,omitempty"`
}
func NewAppConfigurationSettingItem() (*AppConfigurationSettingItem, error) {
newAppConfigurationSettingItem := &AppConfigurationSettingItem{
ODataType: "#microsoft.graph.AppConfigurationSettingItem",
}
return newAppConfigurationSettingItem, nil
}
// AppConsentApprovalRoute undocumented
type AppConsentApprovalRoute struct {
// Entity is the base model of AppConsentApprovalRoute
Entity
ODataType string `json:"@odata.type,omitempty"`
// AppConsentRequests undocumented
AppConsentRequests []AppConsentRequestObject `json:"appConsentRequests,omitempty"`
}
func NewAppConsentApprovalRoute() (*AppConsentApprovalRoute, error) {
newAppConsentApprovalRoute := &AppConsentApprovalRoute{
ODataType: "#microsoft.graph.AppConsentApprovalRoute",
}
return newAppConsentApprovalRoute, nil
}
// AppConsentRequestObject undocumented
type AppConsentRequestObject struct {
// Entity is the base model of AppConsentRequestObject
Entity
ODataType string `json:"@odata.type,omitempty"`
// AppDisplayName undocumented
AppDisplayName *string `json:"appDisplayName,omitempty"`
// AppID undocumented
AppID *string `json:"appId,omitempty"`
// PendingScopes undocumented
PendingScopes []AppConsentRequestScope `json:"pendingScopes,omitempty"`
// UserConsentRequests undocumented
UserConsentRequests []UserConsentRequestObject `json:"userConsentRequests,omitempty"`
}
func NewAppConsentRequestObject() (*AppConsentRequestObject, error) {
newAppConsentRequestObject := &AppConsentRequestObject{
ODataType: "#microsoft.graph.AppConsentRequestObject",
}
return newAppConsentRequestObject, nil
}
// AppConsentRequestScope undocumented
type AppConsentRequestScope struct {
// Object is the base model of AppConsentRequestScope
Object
ODataType string `json:"@odata.type,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
}
func NewAppConsentRequestScope() (*AppConsentRequestScope, error) {
newAppConsentRequestScope := &AppConsentRequestScope{
ODataType: "#microsoft.graph.AppConsentRequestScope",
}
return newAppConsentRequestScope, nil
}
// AppHostedMediaConfig undocumented
type AppHostedMediaConfig struct {
// MediaConfig is the base model of AppHostedMediaConfig
MediaConfig
ODataType string `json:"@odata.type,omitempty"`
// Blob undocumented
Blob *string `json:"blob,omitempty"`
}
func NewAppHostedMediaConfig() (*AppHostedMediaConfig, error) {
newAppHostedMediaConfig := &AppHostedMediaConfig{
ODataType: "#microsoft.graph.AppHostedMediaConfig",
}
return newAppHostedMediaConfig, nil
}
// AppIdentity undocumented
type AppIdentity struct {
// Object is the base model of AppIdentity
Object
ODataType string `json:"@odata.type,omitempty"`
// AppID undocumented
AppID *string `json:"appId,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// ServicePrincipalID undocumented
ServicePrincipalID *string `json:"servicePrincipalId,omitempty"`
// ServicePrincipalName undocumented
ServicePrincipalName *string `json:"servicePrincipalName,omitempty"`
}
func NewAppIdentity() (*AppIdentity, error) {
newAppIdentity := &AppIdentity{
ODataType: "#microsoft.graph.AppIdentity",
}
return newAppIdentity, nil
}
// AppListItem undocumented
type AppListItem struct {
// Object is the base model of AppListItem
Object
ODataType string `json:"@odata.type,omitempty"`
// AppID undocumented
AppID *string `json:"appId,omitempty"`
// AppStoreURL undocumented
AppStoreURL *string `json:"appStoreUrl,omitempty"`
// Name undocumented
Name *string `json:"name,omitempty"`
// Publisher undocumented
Publisher *string `json:"publisher,omitempty"`
}
func NewAppListItem() (*AppListItem, error) {
newAppListItem := &AppListItem{
ODataType: "#microsoft.graph.AppListItem",
}
return newAppListItem, nil
}
// AppManagementConfiguration undocumented
type AppManagementConfiguration struct {
// Object is the base model of AppManagementConfiguration
Object
ODataType string `json:"@odata.type,omitempty"`
// KeyCredentials undocumented
KeyCredentials []KeyCredentialConfiguration `json:"keyCredentials,omitempty"`
// PasswordCredentials undocumented
PasswordCredentials []PasswordCredentialConfiguration `json:"passwordCredentials,omitempty"`
}
func NewAppManagementConfiguration() (*AppManagementConfiguration, error) {
newAppManagementConfiguration := &AppManagementConfiguration{
ODataType: "#microsoft.graph.AppManagementConfiguration",
}
return newAppManagementConfiguration, nil
}
// AppManagementPolicy undocumented
type AppManagementPolicy struct {
// PolicyBase is the base model of AppManagementPolicy
PolicyBase
ODataType string `json:"@odata.type,omitempty"`
// IsEnabled undocumented
IsEnabled *bool `json:"isEnabled,omitempty"`
// Restrictions undocumented
Restrictions *AppManagementConfiguration `json:"restrictions,omitempty"`
// AppliesTo undocumented
AppliesTo []DirectoryObject `json:"appliesTo,omitempty"`
}
func NewAppManagementPolicy() (*AppManagementPolicy, error) {
newAppManagementPolicy := &AppManagementPolicy{
ODataType: "#microsoft.graph.AppManagementPolicy",
}
return newAppManagementPolicy, nil
}
// AppRole undocumented
type AppRole struct {
// Object is the base model of AppRole
Object
ODataType string `json:"@odata.type,omitempty"`
// AllowedMemberTypes undocumented
AllowedMemberTypes []string `json:"allowedMemberTypes,omitempty"`
// Description undocumented
Description *string `json:"description,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// ID undocumented
ID *UUID `json:"id,omitempty"`
// IsEnabled undocumented
IsEnabled *bool `json:"isEnabled,omitempty"`
// Origin undocumented
Origin *string `json:"origin,omitempty"`
// Value undocumented
Value *string `json:"value,omitempty"`
}
func NewAppRole() (*AppRole, error) {
newAppRole := &AppRole{
ODataType: "#microsoft.graph.AppRole",
}
return newAppRole, nil
}
// AppRoleAssignment undocumented
type AppRoleAssignment struct {
// DirectoryObject is the base model of AppRoleAssignment
DirectoryObject
ODataType string `json:"@odata.type,omitempty"`
// AppRoleID undocumented
AppRoleID *UUID `json:"appRoleId,omitempty"`
// CreatedDateTime undocumented
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// PrincipalDisplayName undocumented
PrincipalDisplayName *string `json:"principalDisplayName,omitempty"`
// PrincipalID undocumented
PrincipalID *UUID `json:"principalId,omitempty"`
// PrincipalType undocumented
PrincipalType *string `json:"principalType,omitempty"`
// ResourceDisplayName undocumented
ResourceDisplayName *string `json:"resourceDisplayName,omitempty"`
// ResourceID undocumented
ResourceID *UUID `json:"resourceId,omitempty"`
}
func NewAppRoleAssignment() (*AppRoleAssignment, error) {
newAppRoleAssignment := &AppRoleAssignment{
ODataType: "#microsoft.graph.AppRoleAssignment",
}
return newAppRoleAssignment, nil
}
// AppScope undocumented
type AppScope struct {
// Entity is the base model of AppScope
Entity
ODataType string `json:"@odata.type,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// Type undocumented
Type *string `json:"type,omitempty"`
}
func NewAppScope() (*AppScope, error) {
newAppScope := &AppScope{
ODataType: "#microsoft.graph.AppScope",
}
return newAppScope, nil
}