-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelSharing.go
80 lines (69 loc) · 2.25 KB
/
ModelSharing.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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// SharingDetail undocumented
type SharingDetail struct {
// Object is the base model of SharingDetail
Object
ODataType string `json:"@odata.type,omitempty"`
// SharedBy undocumented
SharedBy *InsightIdentity `json:"sharedBy,omitempty"`
// SharedDateTime undocumented
SharedDateTime *time.Time `json:"sharedDateTime,omitempty"`
// SharingReference undocumented
SharingReference *ResourceReference `json:"sharingReference,omitempty"`
// SharingSubject undocumented
SharingSubject *string `json:"sharingSubject,omitempty"`
// SharingType undocumented
SharingType *string `json:"sharingType,omitempty"`
}
func NewSharingDetail() (*SharingDetail, error) {
newSharingDetail := &SharingDetail{
ODataType: "#microsoft.graph.SharingDetail",
}
return newSharingDetail, nil
}
// SharingInvitation undocumented
type SharingInvitation struct {
// Object is the base model of SharingInvitation
Object
ODataType string `json:"@odata.type,omitempty"`
// Email undocumented
Email *string `json:"email,omitempty"`
// InvitedBy undocumented
InvitedBy *IdentitySet `json:"invitedBy,omitempty"`
// RedeemedBy undocumented
RedeemedBy *string `json:"redeemedBy,omitempty"`
// SignInRequired undocumented
SignInRequired *bool `json:"signInRequired,omitempty"`
}
func NewSharingInvitation() (*SharingInvitation, error) {
newSharingInvitation := &SharingInvitation{
ODataType: "#microsoft.graph.SharingInvitation",
}
return newSharingInvitation, nil
}
// SharingLink undocumented
type SharingLink struct {
// Object is the base model of SharingLink
Object
ODataType string `json:"@odata.type,omitempty"`
// Application undocumented
Application *Identity `json:"application,omitempty"`
// PreventsDownload undocumented
PreventsDownload *bool `json:"preventsDownload,omitempty"`
// Scope undocumented
Scope *string `json:"scope,omitempty"`
// Type undocumented
Type *string `json:"type,omitempty"`
// WebHTML undocumented
WebHTML *string `json:"webHtml,omitempty"`
// WebURL undocumented
WebURL *string `json:"webUrl,omitempty"`
}
func NewSharingLink() (*SharingLink, error) {
newSharingLink := &SharingLink{
ODataType: "#microsoft.graph.SharingLink",
}
return newSharingLink, nil
}