-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelPlanner.go
523 lines (455 loc) · 16.3 KB
/
ModelPlanner.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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// Planner undocumented
type Planner struct {
// Entity is the base model of Planner
Entity
ODataType string `json:"@odata.type,omitempty"`
// Buckets undocumented
Buckets []PlannerBucket `json:"buckets,omitempty"`
// Plans undocumented
Plans []PlannerPlan `json:"plans,omitempty"`
// Tasks undocumented
Tasks []PlannerTask `json:"tasks,omitempty"`
}
func NewPlanner() (*Planner, error) {
newPlanner := &Planner{
ODataType: "#microsoft.graph.Planner",
}
return newPlanner, nil
}
// PlannerAppliedCategories undocumented
type PlannerAppliedCategories struct {
// Object is the base model of PlannerAppliedCategories
Object
ODataType string `json:"@odata.type,omitempty"`
}
func NewPlannerAppliedCategories() (*PlannerAppliedCategories, error) {
newPlannerAppliedCategories := &PlannerAppliedCategories{
ODataType: "#microsoft.graph.PlannerAppliedCategories",
}
return newPlannerAppliedCategories, nil
}
// PlannerAssignedToTaskBoardTaskFormat undocumented
type PlannerAssignedToTaskBoardTaskFormat struct {
// Entity is the base model of PlannerAssignedToTaskBoardTaskFormat
Entity
ODataType string `json:"@odata.type,omitempty"`
// OrderHintsByAssignee undocumented
OrderHintsByAssignee *PlannerOrderHintsByAssignee `json:"orderHintsByAssignee,omitempty"`
// UnassignedOrderHint undocumented
UnassignedOrderHint *string `json:"unassignedOrderHint,omitempty"`
}
func NewPlannerAssignedToTaskBoardTaskFormat() (*PlannerAssignedToTaskBoardTaskFormat, error) {
newPlannerAssignedToTaskBoardTaskFormat := &PlannerAssignedToTaskBoardTaskFormat{
ODataType: "#microsoft.graph.PlannerAssignedToTaskBoardTaskFormat",
}
return newPlannerAssignedToTaskBoardTaskFormat, nil
}
// PlannerAssignment undocumented
type PlannerAssignment struct {
// Object is the base model of PlannerAssignment
Object
ODataType string `json:"@odata.type,omitempty"`
// AssignedBy undocumented
AssignedBy *IdentitySet `json:"assignedBy,omitempty"`
// AssignedDateTime undocumented
AssignedDateTime *time.Time `json:"assignedDateTime,omitempty"`
// OrderHint undocumented
OrderHint *string `json:"orderHint,omitempty"`
}
func NewPlannerAssignment() (*PlannerAssignment, error) {
newPlannerAssignment := &PlannerAssignment{
ODataType: "#microsoft.graph.PlannerAssignment",
}
return newPlannerAssignment, nil
}
// PlannerAssignments undocumented
type PlannerAssignments struct {
// Object is the base model of PlannerAssignments
Object
ODataType string `json:"@odata.type,omitempty"`
}
func NewPlannerAssignments() (*PlannerAssignments, error) {
newPlannerAssignments := &PlannerAssignments{
ODataType: "#microsoft.graph.PlannerAssignments",
}
return newPlannerAssignments, nil
}
// PlannerBucket undocumented
type PlannerBucket struct {
// Entity is the base model of PlannerBucket
Entity
ODataType string `json:"@odata.type,omitempty"`
// Name undocumented
Name *string `json:"name,omitempty"`
// OrderHint undocumented
OrderHint *string `json:"orderHint,omitempty"`
// PlanID undocumented
PlanID *string `json:"planId,omitempty"`
// Tasks undocumented
Tasks []PlannerTask `json:"tasks,omitempty"`
}
func NewPlannerBucket() (*PlannerBucket, error) {
newPlannerBucket := &PlannerBucket{
ODataType: "#microsoft.graph.PlannerBucket",
}
return newPlannerBucket, nil
}
// PlannerBucketTaskBoardTaskFormat undocumented
type PlannerBucketTaskBoardTaskFormat struct {
// Entity is the base model of PlannerBucketTaskBoardTaskFormat
Entity
ODataType string `json:"@odata.type,omitempty"`
// OrderHint undocumented
OrderHint *string `json:"orderHint,omitempty"`
}
func NewPlannerBucketTaskBoardTaskFormat() (*PlannerBucketTaskBoardTaskFormat, error) {
newPlannerBucketTaskBoardTaskFormat := &PlannerBucketTaskBoardTaskFormat{
ODataType: "#microsoft.graph.PlannerBucketTaskBoardTaskFormat",
}
return newPlannerBucketTaskBoardTaskFormat, nil
}
// PlannerCategoryDescriptions undocumented
type PlannerCategoryDescriptions struct {
// Object is the base model of PlannerCategoryDescriptions
Object
ODataType string `json:"@odata.type,omitempty"`
// Category1 undocumented
Category1 *string `json:"category1,omitempty"`
// Category10 undocumented
Category10 *string `json:"category10,omitempty"`
// Category11 undocumented
Category11 *string `json:"category11,omitempty"`
// Category12 undocumented
Category12 *string `json:"category12,omitempty"`
// Category13 undocumented
Category13 *string `json:"category13,omitempty"`
// Category14 undocumented
Category14 *string `json:"category14,omitempty"`
// Category15 undocumented
Category15 *string `json:"category15,omitempty"`
// Category16 undocumented
Category16 *string `json:"category16,omitempty"`
// Category17 undocumented
Category17 *string `json:"category17,omitempty"`
// Category18 undocumented
Category18 *string `json:"category18,omitempty"`
// Category19 undocumented
Category19 *string `json:"category19,omitempty"`
// Category2 undocumented
Category2 *string `json:"category2,omitempty"`
// Category20 undocumented
Category20 *string `json:"category20,omitempty"`
// Category21 undocumented
Category21 *string `json:"category21,omitempty"`
// Category22 undocumented
Category22 *string `json:"category22,omitempty"`
// Category23 undocumented
Category23 *string `json:"category23,omitempty"`
// Category24 undocumented
Category24 *string `json:"category24,omitempty"`
// Category25 undocumented
Category25 *string `json:"category25,omitempty"`
// Category3 undocumented
Category3 *string `json:"category3,omitempty"`
// Category4 undocumented
Category4 *string `json:"category4,omitempty"`
// Category5 undocumented
Category5 *string `json:"category5,omitempty"`
// Category6 undocumented
Category6 *string `json:"category6,omitempty"`
// Category7 undocumented
Category7 *string `json:"category7,omitempty"`
// Category8 undocumented
Category8 *string `json:"category8,omitempty"`
// Category9 undocumented
Category9 *string `json:"category9,omitempty"`
}
func NewPlannerCategoryDescriptions() (*PlannerCategoryDescriptions, error) {
newPlannerCategoryDescriptions := &PlannerCategoryDescriptions{
ODataType: "#microsoft.graph.PlannerCategoryDescriptions",
}
return newPlannerCategoryDescriptions, nil
}
// PlannerChecklistItem undocumented
type PlannerChecklistItem struct {
// Object is the base model of PlannerChecklistItem
Object
ODataType string `json:"@odata.type,omitempty"`
// IsChecked undocumented
IsChecked *bool `json:"isChecked,omitempty"`
// LastModifiedBy undocumented
LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// OrderHint undocumented
OrderHint *string `json:"orderHint,omitempty"`
// Title undocumented
Title *string `json:"title,omitempty"`
}
func NewPlannerChecklistItem() (*PlannerChecklistItem, error) {
newPlannerChecklistItem := &PlannerChecklistItem{
ODataType: "#microsoft.graph.PlannerChecklistItem",
}
return newPlannerChecklistItem, nil
}
// PlannerChecklistItems undocumented
type PlannerChecklistItems struct {
// Object is the base model of PlannerChecklistItems
Object
ODataType string `json:"@odata.type,omitempty"`
}
func NewPlannerChecklistItems() (*PlannerChecklistItems, error) {
newPlannerChecklistItems := &PlannerChecklistItems{
ODataType: "#microsoft.graph.PlannerChecklistItems",
}
return newPlannerChecklistItems, nil
}
// PlannerExternalReference undocumented
type PlannerExternalReference struct {
// Object is the base model of PlannerExternalReference
Object
ODataType string `json:"@odata.type,omitempty"`
// Alias undocumented
Alias *string `json:"alias,omitempty"`
// LastModifiedBy undocumented
LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// PreviewPriority undocumented
PreviewPriority *string `json:"previewPriority,omitempty"`
// Type undocumented
Type *string `json:"type,omitempty"`
}
func NewPlannerExternalReference() (*PlannerExternalReference, error) {
newPlannerExternalReference := &PlannerExternalReference{
ODataType: "#microsoft.graph.PlannerExternalReference",
}
return newPlannerExternalReference, nil
}
// PlannerExternalReferences undocumented
type PlannerExternalReferences struct {
// Object is the base model of PlannerExternalReferences
Object
ODataType string `json:"@odata.type,omitempty"`
}
func NewPlannerExternalReferences() (*PlannerExternalReferences, error) {
newPlannerExternalReferences := &PlannerExternalReferences{
ODataType: "#microsoft.graph.PlannerExternalReferences",
}
return newPlannerExternalReferences, nil
}
// PlannerGroup undocumented
type PlannerGroup struct {
// Entity is the base model of PlannerGroup
Entity
ODataType string `json:"@odata.type,omitempty"`
// Plans undocumented
Plans []PlannerPlan `json:"plans,omitempty"`
}
func NewPlannerGroup() (*PlannerGroup, error) {
newPlannerGroup := &PlannerGroup{
ODataType: "#microsoft.graph.PlannerGroup",
}
return newPlannerGroup, nil
}
// PlannerOrderHintsByAssignee undocumented
type PlannerOrderHintsByAssignee struct {
// Object is the base model of PlannerOrderHintsByAssignee
Object
ODataType string `json:"@odata.type,omitempty"`
}
func NewPlannerOrderHintsByAssignee() (*PlannerOrderHintsByAssignee, error) {
newPlannerOrderHintsByAssignee := &PlannerOrderHintsByAssignee{
ODataType: "#microsoft.graph.PlannerOrderHintsByAssignee",
}
return newPlannerOrderHintsByAssignee, nil
}
// PlannerPlan undocumented
type PlannerPlan struct {
// Entity is the base model of PlannerPlan
Entity
ODataType string `json:"@odata.type,omitempty"`
// Container undocumented
Container *PlannerPlanContainer `json:"container,omitempty"`
// CreatedBy undocumented
CreatedBy *IdentitySet `json:"createdBy,omitempty"`
// CreatedDateTime undocumented
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// Owner undocumented
Owner *string `json:"owner,omitempty"`
// Title undocumented
Title *string `json:"title,omitempty"`
// Buckets undocumented
Buckets []PlannerBucket `json:"buckets,omitempty"`
// Details undocumented
Details *PlannerPlanDetails `json:"details,omitempty"`
// Tasks undocumented
Tasks []PlannerTask `json:"tasks,omitempty"`
}
func NewPlannerPlan() (*PlannerPlan, error) {
newPlannerPlan := &PlannerPlan{
ODataType: "#microsoft.graph.PlannerPlan",
}
return newPlannerPlan, nil
}
// PlannerPlanContainer undocumented
type PlannerPlanContainer struct {
// Object is the base model of PlannerPlanContainer
Object
ODataType string `json:"@odata.type,omitempty"`
// ContainerID undocumented
ContainerID *string `json:"containerId,omitempty"`
// Type undocumented
Type *PlannerContainerType `json:"type,omitempty"`
// URL undocumented
URL *string `json:"url,omitempty"`
}
func NewPlannerPlanContainer() (*PlannerPlanContainer, error) {
newPlannerPlanContainer := &PlannerPlanContainer{
ODataType: "#microsoft.graph.PlannerPlanContainer",
}
return newPlannerPlanContainer, nil
}
// PlannerPlanDetails undocumented
type PlannerPlanDetails struct {
// Entity is the base model of PlannerPlanDetails
Entity
ODataType string `json:"@odata.type,omitempty"`
// CategoryDescriptions undocumented
CategoryDescriptions *PlannerCategoryDescriptions `json:"categoryDescriptions,omitempty"`
// SharedWith undocumented
SharedWith *PlannerUserIDs `json:"sharedWith,omitempty"`
}
func NewPlannerPlanDetails() (*PlannerPlanDetails, error) {
newPlannerPlanDetails := &PlannerPlanDetails{
ODataType: "#microsoft.graph.PlannerPlanDetails",
}
return newPlannerPlanDetails, nil
}
// PlannerProgressTaskBoardTaskFormat undocumented
type PlannerProgressTaskBoardTaskFormat struct {
// Entity is the base model of PlannerProgressTaskBoardTaskFormat
Entity
ODataType string `json:"@odata.type,omitempty"`
// OrderHint undocumented
OrderHint *string `json:"orderHint,omitempty"`
}
func NewPlannerProgressTaskBoardTaskFormat() (*PlannerProgressTaskBoardTaskFormat, error) {
newPlannerProgressTaskBoardTaskFormat := &PlannerProgressTaskBoardTaskFormat{
ODataType: "#microsoft.graph.PlannerProgressTaskBoardTaskFormat",
}
return newPlannerProgressTaskBoardTaskFormat, nil
}
// PlannerTask undocumented
type PlannerTask struct {
// Entity is the base model of PlannerTask
Entity
ODataType string `json:"@odata.type,omitempty"`
// ActiveChecklistItemCount undocumented
ActiveChecklistItemCount *int `json:"activeChecklistItemCount,omitempty"`
// AppliedCategories undocumented
AppliedCategories *PlannerAppliedCategories `json:"appliedCategories,omitempty"`
// AssigneePriority undocumented
AssigneePriority *string `json:"assigneePriority,omitempty"`
// Assignments undocumented
Assignments *PlannerAssignments `json:"assignments,omitempty"`
// BucketID undocumented
BucketID *string `json:"bucketId,omitempty"`
// ChecklistItemCount undocumented
ChecklistItemCount *int `json:"checklistItemCount,omitempty"`
// CompletedBy undocumented
CompletedBy *IdentitySet `json:"completedBy,omitempty"`
// CompletedDateTime undocumented
CompletedDateTime *time.Time `json:"completedDateTime,omitempty"`
// ConversationThreadID undocumented
ConversationThreadID *string `json:"conversationThreadId,omitempty"`
// CreatedBy undocumented
CreatedBy *IdentitySet `json:"createdBy,omitempty"`
// CreatedDateTime undocumented
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// DueDateTime undocumented
DueDateTime *time.Time `json:"dueDateTime,omitempty"`
// HasDescription undocumented
HasDescription *bool `json:"hasDescription,omitempty"`
// OrderHint undocumented
OrderHint *string `json:"orderHint,omitempty"`
// PercentComplete undocumented
PercentComplete *int `json:"percentComplete,omitempty"`
// PlanID undocumented
PlanID *string `json:"planId,omitempty"`
// PreviewType undocumented
PreviewType *PlannerPreviewType `json:"previewType,omitempty"`
// Priority undocumented
Priority *int `json:"priority,omitempty"`
// ReferenceCount undocumented
ReferenceCount *int `json:"referenceCount,omitempty"`
// StartDateTime undocumented
StartDateTime *time.Time `json:"startDateTime,omitempty"`
// Title undocumented
Title *string `json:"title,omitempty"`
// AssignedToTaskBoardFormat undocumented
AssignedToTaskBoardFormat *PlannerAssignedToTaskBoardTaskFormat `json:"assignedToTaskBoardFormat,omitempty"`
// BucketTaskBoardFormat undocumented
BucketTaskBoardFormat *PlannerBucketTaskBoardTaskFormat `json:"bucketTaskBoardFormat,omitempty"`
// Details undocumented
Details *PlannerTaskDetails `json:"details,omitempty"`
// ProgressTaskBoardFormat undocumented
ProgressTaskBoardFormat *PlannerProgressTaskBoardTaskFormat `json:"progressTaskBoardFormat,omitempty"`
}
func NewPlannerTask() (*PlannerTask, error) {
newPlannerTask := &PlannerTask{
ODataType: "#microsoft.graph.PlannerTask",
}
return newPlannerTask, nil
}
// PlannerTaskDetails undocumented
type PlannerTaskDetails struct {
// Entity is the base model of PlannerTaskDetails
Entity
ODataType string `json:"@odata.type,omitempty"`
// Checklist undocumented
Checklist *PlannerChecklistItems `json:"checklist,omitempty"`
// Description undocumented
Description *string `json:"description,omitempty"`
// PreviewType undocumented
PreviewType *PlannerPreviewType `json:"previewType,omitempty"`
// References undocumented
References *PlannerExternalReferences `json:"references,omitempty"`
}
func NewPlannerTaskDetails() (*PlannerTaskDetails, error) {
newPlannerTaskDetails := &PlannerTaskDetails{
ODataType: "#microsoft.graph.PlannerTaskDetails",
}
return newPlannerTaskDetails, nil
}
// PlannerUser undocumented
type PlannerUser struct {
// Entity is the base model of PlannerUser
Entity
ODataType string `json:"@odata.type,omitempty"`
// Plans undocumented
Plans []PlannerPlan `json:"plans,omitempty"`
// Tasks undocumented
Tasks []PlannerTask `json:"tasks,omitempty"`
}
func NewPlannerUser() (*PlannerUser, error) {
newPlannerUser := &PlannerUser{
ODataType: "#microsoft.graph.PlannerUser",
}
return newPlannerUser, nil
}
// PlannerUserIDs undocumented
type PlannerUserIDs struct {
// Object is the base model of PlannerUserIDs
Object
ODataType string `json:"@odata.type,omitempty"`
}
func NewPlannerUserIDs() (*PlannerUserIDs, error) {
newPlannerUserIDs := &PlannerUserIDs{
ODataType: "#microsoft.graph.PlannerUserIds",
}
return newPlannerUserIDs, nil
}