-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelShared.go
167 lines (147 loc) · 5.71 KB
/
ModelShared.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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// Shared undocumented
type Shared struct {
// Object is the base model of Shared
Object
ODataType string `json:"@odata.type,omitempty"`
// Owner undocumented
Owner *IdentitySet `json:"owner,omitempty"`
// Scope undocumented
Scope *string `json:"scope,omitempty"`
// SharedBy undocumented
SharedBy *IdentitySet `json:"sharedBy,omitempty"`
// SharedDateTime undocumented
SharedDateTime *time.Time `json:"sharedDateTime,omitempty"`
}
func NewShared() (*Shared, error) {
newShared := &Shared{
ODataType: "#microsoft.graph.Shared",
}
return newShared, nil
}
// SharedDriveItem undocumented
type SharedDriveItem struct {
// BaseItem is the base model of SharedDriveItem
BaseItem
ODataType string `json:"@odata.type,omitempty"`
// Owner undocumented
Owner *IdentitySet `json:"owner,omitempty"`
// DriveItem undocumented
DriveItem *DriveItem `json:"driveItem,omitempty"`
// Items undocumented
Items []DriveItem `json:"items,omitempty"`
// List undocumented
List *List `json:"list,omitempty"`
// ListItem undocumented
ListItem *ListItem `json:"listItem,omitempty"`
// Permission undocumented
Permission *Permission `json:"permission,omitempty"`
// Root undocumented
Root *DriveItem `json:"root,omitempty"`
// Site undocumented
Site *Site `json:"site,omitempty"`
}
func NewSharedDriveItem() (*SharedDriveItem, error) {
newSharedDriveItem := &SharedDriveItem{
ODataType: "#microsoft.graph.SharedDriveItem",
}
return newSharedDriveItem, nil
}
// SharedInsight undocumented
type SharedInsight struct {
// Entity is the base model of SharedInsight
Entity
ODataType string `json:"@odata.type,omitempty"`
// LastShared undocumented
LastShared *SharingDetail `json:"lastShared,omitempty"`
// ResourceReference undocumented
ResourceReference *ResourceReference `json:"resourceReference,omitempty"`
// ResourceVisualization undocumented
ResourceVisualization *ResourceVisualization `json:"resourceVisualization,omitempty"`
// SharingHistory undocumented
SharingHistory []SharingDetail `json:"sharingHistory,omitempty"`
// LastSharedMethod undocumented
LastSharedMethod *Entity `json:"lastSharedMethod,omitempty"`
// Resource undocumented
Resource *Entity `json:"resource,omitempty"`
}
func NewSharedInsight() (*SharedInsight, error) {
newSharedInsight := &SharedInsight{
ODataType: "#microsoft.graph.SharedInsight",
}
return newSharedInsight, nil
}
// SharedPCAccountManagerPolicy undocumented
type SharedPCAccountManagerPolicy struct {
// Object is the base model of SharedPCAccountManagerPolicy
Object
ODataType string `json:"@odata.type,omitempty"`
// AccountDeletionPolicy undocumented
AccountDeletionPolicy *SharedPCAccountDeletionPolicyType `json:"accountDeletionPolicy,omitempty"`
// CacheAccountsAboveDiskFreePercentage undocumented
CacheAccountsAboveDiskFreePercentage *int `json:"cacheAccountsAboveDiskFreePercentage,omitempty"`
// InactiveThresholdDays undocumented
InactiveThresholdDays *int `json:"inactiveThresholdDays,omitempty"`
// RemoveAccountsBelowDiskFreePercentage undocumented
RemoveAccountsBelowDiskFreePercentage *int `json:"removeAccountsBelowDiskFreePercentage,omitempty"`
}
func NewSharedPCAccountManagerPolicy() (*SharedPCAccountManagerPolicy, error) {
newSharedPCAccountManagerPolicy := &SharedPCAccountManagerPolicy{
ODataType: "#microsoft.graph.SharedPCAccountManagerPolicy",
}
return newSharedPCAccountManagerPolicy, nil
}
// SharedPCConfiguration undocumented
type SharedPCConfiguration struct {
// DeviceConfiguration is the base model of SharedPCConfiguration
DeviceConfiguration
ODataType string `json:"@odata.type,omitempty"`
// AccountManagerPolicy undocumented
AccountManagerPolicy *SharedPCAccountManagerPolicy `json:"accountManagerPolicy,omitempty"`
// AllowedAccounts undocumented
AllowedAccounts *SharedPCAllowedAccountType `json:"allowedAccounts,omitempty"`
// AllowLocalStorage undocumented
AllowLocalStorage *bool `json:"allowLocalStorage,omitempty"`
// DisableAccountManager undocumented
DisableAccountManager *bool `json:"disableAccountManager,omitempty"`
// DisableEduPolicies undocumented
DisableEduPolicies *bool `json:"disableEduPolicies,omitempty"`
// DisablePowerPolicies undocumented
DisablePowerPolicies *bool `json:"disablePowerPolicies,omitempty"`
// DisableSignInOnResume undocumented
DisableSignInOnResume *bool `json:"disableSignInOnResume,omitempty"`
// Enabled undocumented
Enabled *bool `json:"enabled,omitempty"`
// IdleTimeBeforeSleepInSeconds undocumented
IdleTimeBeforeSleepInSeconds *int `json:"idleTimeBeforeSleepInSeconds,omitempty"`
// KioskAppDisplayName undocumented
KioskAppDisplayName *string `json:"kioskAppDisplayName,omitempty"`
// KioskAppUserModelID undocumented
KioskAppUserModelID *string `json:"kioskAppUserModelId,omitempty"`
// MaintenanceStartTime undocumented
MaintenanceStartTime *TimeOfDay `json:"maintenanceStartTime,omitempty"`
}
func NewSharedPCConfiguration() (*SharedPCConfiguration, error) {
newSharedPCConfiguration := &SharedPCConfiguration{
ODataType: "#microsoft.graph.SharedPCConfiguration",
}
return newSharedPCConfiguration, nil
}
// SharedWithChannelTeamInfo undocumented
type SharedWithChannelTeamInfo struct {
// TeamInfo is the base model of SharedWithChannelTeamInfo
TeamInfo
ODataType string `json:"@odata.type,omitempty"`
// IsHostTeam undocumented
IsHostTeam *bool `json:"isHostTeam,omitempty"`
// AllowedMembers undocumented
AllowedMembers []ConversationMember `json:"allowedMembers,omitempty"`
}
func NewSharedWithChannelTeamInfo() (*SharedWithChannelTeamInfo, error) {
newSharedWithChannelTeamInfo := &SharedWithChannelTeamInfo{
ODataType: "#microsoft.graph.SharedWithChannelTeamInfo",
}
return newSharedWithChannelTeamInfo, nil
}