-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelGroup.go
249 lines (229 loc) · 9.3 KB
/
ModelGroup.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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// Group undocumented
type Group struct {
// DirectoryObject is the base model of Group
DirectoryObject
ODataType string `json:"@odata.type,omitempty"`
// AssignedLabels undocumented
AssignedLabels []AssignedLabel `json:"assignedLabels,omitempty"`
// AssignedLicenses undocumented
AssignedLicenses []AssignedLicense `json:"assignedLicenses,omitempty"`
// Classification undocumented
Classification *string `json:"classification,omitempty"`
// CreatedDateTime undocumented
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// Description undocumented
Description *string `json:"description,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// ExpirationDateTime undocumented
ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
// GroupTypes undocumented
GroupTypes []string `json:"groupTypes,omitempty"`
// HasMembersWithLicenseErrors undocumented
HasMembersWithLicenseErrors *bool `json:"hasMembersWithLicenseErrors,omitempty"`
// IsAssignableToRole undocumented
IsAssignableToRole *bool `json:"isAssignableToRole,omitempty"`
// LicenseProcessingState undocumented
LicenseProcessingState *LicenseProcessingState `json:"licenseProcessingState,omitempty"`
// Mail undocumented
Mail *string `json:"mail,omitempty"`
// MailEnabled undocumented
MailEnabled *bool `json:"mailEnabled,omitempty"`
// MailNickname undocumented
MailNickname *string `json:"mailNickname,omitempty"`
// MembershipRule undocumented
MembershipRule *string `json:"membershipRule,omitempty"`
// MembershipRuleProcessingState undocumented
MembershipRuleProcessingState *string `json:"membershipRuleProcessingState,omitempty"`
// OnPremisesDomainName undocumented
OnPremisesDomainName *string `json:"onPremisesDomainName,omitempty"`
// OnPremisesLastSyncDateTime undocumented
OnPremisesLastSyncDateTime *time.Time `json:"onPremisesLastSyncDateTime,omitempty"`
// OnPremisesNetBiosName undocumented
OnPremisesNetBiosName *string `json:"onPremisesNetBiosName,omitempty"`
// OnPremisesProvisioningErrors undocumented
OnPremisesProvisioningErrors []OnPremisesProvisioningError `json:"onPremisesProvisioningErrors,omitempty"`
// OnPremisesSamAccountName undocumented
OnPremisesSamAccountName *string `json:"onPremisesSamAccountName,omitempty"`
// OnPremisesSecurityIdentifier undocumented
OnPremisesSecurityIdentifier *string `json:"onPremisesSecurityIdentifier,omitempty"`
// OnPremisesSyncEnabled undocumented
OnPremisesSyncEnabled *bool `json:"onPremisesSyncEnabled,omitempty"`
// PreferredDataLocation undocumented
PreferredDataLocation *string `json:"preferredDataLocation,omitempty"`
// PreferredLanguage undocumented
PreferredLanguage *string `json:"preferredLanguage,omitempty"`
// ProxyAddresses undocumented
ProxyAddresses []string `json:"proxyAddresses,omitempty"`
// RenewedDateTime undocumented
RenewedDateTime *time.Time `json:"renewedDateTime,omitempty"`
// SecurityEnabled undocumented
SecurityEnabled *bool `json:"securityEnabled,omitempty"`
// SecurityIdentifier undocumented
SecurityIdentifier *string `json:"securityIdentifier,omitempty"`
// Theme undocumented
Theme *string `json:"theme,omitempty"`
// Visibility undocumented
Visibility *string `json:"visibility,omitempty"`
// AllowExternalSenders undocumented
AllowExternalSenders *bool `json:"allowExternalSenders,omitempty"`
// AutoSubscribeNewMembers undocumented
AutoSubscribeNewMembers *bool `json:"autoSubscribeNewMembers,omitempty"`
// HideFromAddressLists undocumented
HideFromAddressLists *bool `json:"hideFromAddressLists,omitempty"`
// HideFromOutlookClients undocumented
HideFromOutlookClients *bool `json:"hideFromOutlookClients,omitempty"`
// IsSubscribedByMail undocumented
IsSubscribedByMail *bool `json:"isSubscribedByMail,omitempty"`
// UnseenCount undocumented
UnseenCount *int `json:"unseenCount,omitempty"`
// IsArchived undocumented
IsArchived *bool `json:"isArchived,omitempty"`
// AppRoleAssignments undocumented
AppRoleAssignments []AppRoleAssignment `json:"appRoleAssignments,omitempty"`
// CreatedOnBehalfOf undocumented
CreatedOnBehalfOf *DirectoryObject `json:"createdOnBehalfOf,omitempty"`
// MemberOf undocumented
MemberOf []DirectoryObject `json:"memberOf,omitempty"`
// Members undocumented
Members []DirectoryObject `json:"members,omitempty"`
// MembersWithLicenseErrors undocumented
MembersWithLicenseErrors []DirectoryObject `json:"membersWithLicenseErrors,omitempty"`
// Owners undocumented
Owners []DirectoryObject `json:"owners,omitempty"`
// PermissionGrants undocumented
PermissionGrants []ResourceSpecificPermissionGrant `json:"permissionGrants,omitempty"`
// Settings undocumented
Settings []GroupSetting `json:"settings,omitempty"`
// TransitiveMemberOf undocumented
TransitiveMemberOf []DirectoryObject `json:"transitiveMemberOf,omitempty"`
// TransitiveMembers undocumented
TransitiveMembers []DirectoryObject `json:"transitiveMembers,omitempty"`
// AcceptedSenders undocumented
AcceptedSenders []DirectoryObject `json:"acceptedSenders,omitempty"`
// Calendar undocumented
Calendar *Calendar `json:"calendar,omitempty"`
// CalendarView undocumented
CalendarView []Event `json:"calendarView,omitempty"`
// Conversations undocumented
Conversations []Conversation `json:"conversations,omitempty"`
// Events undocumented
Events []Event `json:"events,omitempty"`
// RejectedSenders undocumented
RejectedSenders []DirectoryObject `json:"rejectedSenders,omitempty"`
// Threads undocumented
Threads []ConversationThread `json:"threads,omitempty"`
// Drive undocumented
Drive *Drive `json:"drive,omitempty"`
// Drives undocumented
Drives []Drive `json:"drives,omitempty"`
// Sites undocumented
Sites []Site `json:"sites,omitempty"`
// Extensions undocumented
Extensions []Extension `json:"extensions,omitempty"`
// GroupLifecyclePolicies undocumented
GroupLifecyclePolicies []GroupLifecyclePolicy `json:"groupLifecyclePolicies,omitempty"`
// Planner undocumented
Planner *PlannerGroup `json:"planner,omitempty"`
// Onenote undocumented
Onenote *Onenote `json:"onenote,omitempty"`
// Photo undocumented
Photo *ProfilePhoto `json:"photo,omitempty"`
// Photos undocumented
Photos []ProfilePhoto `json:"photos,omitempty"`
// Team undocumented
Team *Team `json:"team,omitempty"`
}
func NewGroup() (*Group, error) {
newGroup := &Group{
ODataType: "#microsoft.graph.Group",
}
return newGroup, nil
}
// GroupAssignmentTarget undocumented
type GroupAssignmentTarget struct {
// DeviceAndAppManagementAssignmentTarget is the base model of GroupAssignmentTarget
DeviceAndAppManagementAssignmentTarget
ODataType string `json:"@odata.type,omitempty"`
// GroupID undocumented
GroupID *string `json:"groupId,omitempty"`
}
func NewGroupAssignmentTarget() (*GroupAssignmentTarget, error) {
newGroupAssignmentTarget := &GroupAssignmentTarget{
ODataType: "#microsoft.graph.GroupAssignmentTarget",
}
return newGroupAssignmentTarget, nil
}
// GroupLifecyclePolicy undocumented
type GroupLifecyclePolicy struct {
// Entity is the base model of GroupLifecyclePolicy
Entity
ODataType string `json:"@odata.type,omitempty"`
// AlternateNotificationEmails undocumented
AlternateNotificationEmails *string `json:"alternateNotificationEmails,omitempty"`
// GroupLifetimeInDays undocumented
GroupLifetimeInDays *int `json:"groupLifetimeInDays,omitempty"`
// ManagedGroupTypes undocumented
ManagedGroupTypes *string `json:"managedGroupTypes,omitempty"`
}
func NewGroupLifecyclePolicy() (*GroupLifecyclePolicy, error) {
newGroupLifecyclePolicy := &GroupLifecyclePolicy{
ODataType: "#microsoft.graph.GroupLifecyclePolicy",
}
return newGroupLifecyclePolicy, nil
}
// GroupMembers undocumented
type GroupMembers struct {
// SubjectSet is the base model of GroupMembers
SubjectSet
ODataType string `json:"@odata.type,omitempty"`
// Description undocumented
Description *string `json:"description,omitempty"`
// GroupID undocumented
GroupID *string `json:"groupId,omitempty"`
}
func NewGroupMembers() (*GroupMembers, error) {
newGroupMembers := &GroupMembers{
ODataType: "#microsoft.graph.GroupMembers",
}
return newGroupMembers, nil
}
// GroupSetting undocumented
type GroupSetting struct {
// Entity is the base model of GroupSetting
Entity
ODataType string `json:"@odata.type,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// TemplateID undocumented
TemplateID *string `json:"templateId,omitempty"`
// Values undocumented
Values []SettingValue `json:"values,omitempty"`
}
func NewGroupSetting() (*GroupSetting, error) {
newGroupSetting := &GroupSetting{
ODataType: "#microsoft.graph.GroupSetting",
}
return newGroupSetting, nil
}
// GroupSettingTemplate undocumented
type GroupSettingTemplate struct {
// DirectoryObject is the base model of GroupSettingTemplate
DirectoryObject
ODataType string `json:"@odata.type,omitempty"`
// Description undocumented
Description *string `json:"description,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// Values undocumented
Values []SettingTemplateValue `json:"values,omitempty"`
}
func NewGroupSettingTemplate() (*GroupSettingTemplate, error) {
newGroupSettingTemplate := &GroupSettingTemplate{
ODataType: "#microsoft.graph.GroupSettingTemplate",
}
return newGroupSettingTemplate, nil
}