-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelList.go
105 lines (92 loc) · 2.93 KB
/
ModelList.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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
// List undocumented
type List struct {
// BaseItem is the base model of List
BaseItem
ODataType string `json:"@odata.type,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// List undocumented
List *ListInfo `json:"list,omitempty"`
// SharepointIDs undocumented
SharepointIDs *SharepointIDs `json:"sharepointIds,omitempty"`
// System undocumented
System *SystemFacet `json:"system,omitempty"`
// Columns undocumented
Columns []ColumnDefinition `json:"columns,omitempty"`
// ContentTypes undocumented
ContentTypes []ContentType `json:"contentTypes,omitempty"`
// Drive undocumented
Drive *Drive `json:"drive,omitempty"`
// Items undocumented
Items []ListItem `json:"items,omitempty"`
// Operations undocumented
Operations []RichLongRunningOperation `json:"operations,omitempty"`
// Subscriptions undocumented
Subscriptions []Subscription `json:"subscriptions,omitempty"`
}
func NewList() (*List, error) {
newList := &List{
ODataType: "#microsoft.graph.List",
}
return newList, nil
}
// ListInfo undocumented
type ListInfo struct {
// Object is the base model of ListInfo
Object
ODataType string `json:"@odata.type,omitempty"`
// ContentTypesEnabled undocumented
ContentTypesEnabled *bool `json:"contentTypesEnabled,omitempty"`
// Hidden undocumented
Hidden *bool `json:"hidden,omitempty"`
// Template undocumented
Template *string `json:"template,omitempty"`
}
func NewListInfo() (*ListInfo, error) {
newListInfo := &ListInfo{
ODataType: "#microsoft.graph.ListInfo",
}
return newListInfo, nil
}
// ListItem undocumented
type ListItem struct {
// BaseItem is the base model of ListItem
BaseItem
ODataType string `json:"@odata.type,omitempty"`
// ContentType undocumented
ContentType *ContentTypeInfo `json:"contentType,omitempty"`
// SharepointIDs undocumented
SharepointIDs *SharepointIDs `json:"sharepointIds,omitempty"`
// Analytics undocumented
Analytics *ItemAnalytics `json:"analytics,omitempty"`
// DocumentSetVersions undocumented
DocumentSetVersions []DocumentSetVersion `json:"documentSetVersions,omitempty"`
// DriveItem undocumented
DriveItem *DriveItem `json:"driveItem,omitempty"`
// Fields undocumented
Fields *FieldValueSet `json:"fields,omitempty"`
// Versions undocumented
Versions []ListItemVersion `json:"versions,omitempty"`
}
func NewListItem() (*ListItem, error) {
newListItem := &ListItem{
ODataType: "#microsoft.graph.ListItem",
}
return newListItem, nil
}
// ListItemVersion undocumented
type ListItemVersion struct {
// BaseItemVersion is the base model of ListItemVersion
BaseItemVersion
ODataType string `json:"@odata.type,omitempty"`
// Fields undocumented
Fields *FieldValueSet `json:"fields,omitempty"`
}
func NewListItemVersion() (*ListItemVersion, error) {
newListItemVersion := &ListItemVersion{
ODataType: "#microsoft.graph.ListItemVersion",
}
return newListItemVersion, nil
}