-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelCalendar.go
146 lines (130 loc) · 5.05 KB
/
ModelCalendar.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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
// Calendar undocumented
type Calendar struct {
// Entity is the base model of Calendar
Entity
ODataType string `json:"@odata.type,omitempty"`
// AllowedOnlineMeetingProviders undocumented
AllowedOnlineMeetingProviders []OnlineMeetingProviderType `json:"allowedOnlineMeetingProviders,omitempty"`
// CanEdit undocumented
CanEdit *bool `json:"canEdit,omitempty"`
// CanShare undocumented
CanShare *bool `json:"canShare,omitempty"`
// CanViewPrivateItems undocumented
CanViewPrivateItems *bool `json:"canViewPrivateItems,omitempty"`
// ChangeKey undocumented
ChangeKey *string `json:"changeKey,omitempty"`
// Color undocumented
Color *CalendarColor `json:"color,omitempty"`
// DefaultOnlineMeetingProvider undocumented
DefaultOnlineMeetingProvider *OnlineMeetingProviderType `json:"defaultOnlineMeetingProvider,omitempty"`
// HexColor undocumented
HexColor *string `json:"hexColor,omitempty"`
// IsDefaultCalendar undocumented
IsDefaultCalendar *bool `json:"isDefaultCalendar,omitempty"`
// IsRemovable undocumented
IsRemovable *bool `json:"isRemovable,omitempty"`
// IsTallyingResponses undocumented
IsTallyingResponses *bool `json:"isTallyingResponses,omitempty"`
// Name undocumented
Name *string `json:"name,omitempty"`
// Owner undocumented
Owner *EmailAddress `json:"owner,omitempty"`
// CalendarPermissions undocumented
CalendarPermissions []CalendarPermission `json:"calendarPermissions,omitempty"`
// CalendarView undocumented
CalendarView []Event `json:"calendarView,omitempty"`
// Events undocumented
Events []Event `json:"events,omitempty"`
// MultiValueExtendedProperties undocumented
MultiValueExtendedProperties []MultiValueLegacyExtendedProperty `json:"multiValueExtendedProperties,omitempty"`
// SingleValueExtendedProperties undocumented
SingleValueExtendedProperties []SingleValueLegacyExtendedProperty `json:"singleValueExtendedProperties,omitempty"`
}
func NewCalendar() (*Calendar, error) {
newCalendar := &Calendar{
ODataType: "#microsoft.graph.Calendar",
}
return newCalendar, nil
}
// CalendarGroup undocumented
type CalendarGroup struct {
// Entity is the base model of CalendarGroup
Entity
ODataType string `json:"@odata.type,omitempty"`
// ChangeKey undocumented
ChangeKey *string `json:"changeKey,omitempty"`
// ClassID undocumented
ClassID *UUID `json:"classId,omitempty"`
// Name undocumented
Name *string `json:"name,omitempty"`
// Calendars undocumented
Calendars []Calendar `json:"calendars,omitempty"`
}
func NewCalendarGroup() (*CalendarGroup, error) {
newCalendarGroup := &CalendarGroup{
ODataType: "#microsoft.graph.CalendarGroup",
}
return newCalendarGroup, nil
}
// CalendarPermission undocumented
type CalendarPermission struct {
// Entity is the base model of CalendarPermission
Entity
ODataType string `json:"@odata.type,omitempty"`
// AllowedRoles undocumented
AllowedRoles []CalendarRoleType `json:"allowedRoles,omitempty"`
// EmailAddress undocumented
EmailAddress *EmailAddress `json:"emailAddress,omitempty"`
// IsInsideOrganization undocumented
IsInsideOrganization *bool `json:"isInsideOrganization,omitempty"`
// IsRemovable undocumented
IsRemovable *bool `json:"isRemovable,omitempty"`
// Role undocumented
Role *CalendarRoleType `json:"role,omitempty"`
}
func NewCalendarPermission() (*CalendarPermission, error) {
newCalendarPermission := &CalendarPermission{
ODataType: "#microsoft.graph.CalendarPermission",
}
return newCalendarPermission, nil
}
// CalendarSharingMessage undocumented
type CalendarSharingMessage struct {
// Message is the base model of CalendarSharingMessage
Message
ODataType string `json:"@odata.type,omitempty"`
// CanAccept undocumented
CanAccept *bool `json:"canAccept,omitempty"`
// SharingMessageAction undocumented
SharingMessageAction *CalendarSharingMessageAction `json:"sharingMessageAction,omitempty"`
// SharingMessageActions undocumented
SharingMessageActions []CalendarSharingMessageAction `json:"sharingMessageActions,omitempty"`
// SuggestedCalendarName undocumented
SuggestedCalendarName *string `json:"suggestedCalendarName,omitempty"`
}
func NewCalendarSharingMessage() (*CalendarSharingMessage, error) {
newCalendarSharingMessage := &CalendarSharingMessage{
ODataType: "#microsoft.graph.CalendarSharingMessage",
}
return newCalendarSharingMessage, nil
}
// CalendarSharingMessageAction undocumented
type CalendarSharingMessageAction struct {
// Object is the base model of CalendarSharingMessageAction
Object
ODataType string `json:"@odata.type,omitempty"`
// Action undocumented
Action *CalendarSharingAction `json:"action,omitempty"`
// ActionType undocumented
ActionType *CalendarSharingActionType `json:"actionType,omitempty"`
// Importance undocumented
Importance *CalendarSharingActionImportance `json:"importance,omitempty"`
}
func NewCalendarSharingMessageAction() (*CalendarSharingMessageAction, error) {
newCalendarSharingMessageAction := &CalendarSharingMessageAction{
ODataType: "#microsoft.graph.CalendarSharingMessageAction",
}
return newCalendarSharingMessageAction, nil
}