-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelChange.go
105 lines (91 loc) · 3.61 KB
/
ModelChange.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
import "time"
// ChangeNotification undocumented
type ChangeNotification struct {
// Object is the base model of ChangeNotification
Object
ODataType string `json:"@odata.type,omitempty"`
// ChangeType undocumented
ChangeType *ChangeType `json:"changeType,omitempty"`
// ClientState undocumented
ClientState *string `json:"clientState,omitempty"`
// EncryptedContent undocumented
EncryptedContent *ChangeNotificationEncryptedContent `json:"encryptedContent,omitempty"`
// ID undocumented
ID *string `json:"id,omitempty"`
// LifecycleEvent undocumented
LifecycleEvent *LifecycleEventType `json:"lifecycleEvent,omitempty"`
// Resource undocumented
Resource *string `json:"resource,omitempty"`
// ResourceData undocumented
ResourceData *ResourceData `json:"resourceData,omitempty"`
// SubscriptionExpirationDateTime undocumented
SubscriptionExpirationDateTime *time.Time `json:"subscriptionExpirationDateTime,omitempty"`
// SubscriptionID undocumented
SubscriptionID *UUID `json:"subscriptionId,omitempty"`
// TenantID undocumented
TenantID *UUID `json:"tenantId,omitempty"`
}
func NewChangeNotification() (*ChangeNotification, error) {
newChangeNotification := &ChangeNotification{
ODataType: "#microsoft.graph.ChangeNotification",
}
return newChangeNotification, nil
}
// ChangeNotificationCollection undocumented
type ChangeNotificationCollection struct {
// Object is the base model of ChangeNotificationCollection
Object
ODataType string `json:"@odata.type,omitempty"`
// ValidationTokens undocumented
ValidationTokens []string `json:"validationTokens,omitempty"`
// Value undocumented
Value []ChangeNotification `json:"value,omitempty"`
}
func NewChangeNotificationCollection() (*ChangeNotificationCollection, error) {
newChangeNotificationCollection := &ChangeNotificationCollection{
ODataType: "#microsoft.graph.ChangeNotificationCollection",
}
return newChangeNotificationCollection, nil
}
// ChangeNotificationEncryptedContent undocumented
type ChangeNotificationEncryptedContent struct {
// Object is the base model of ChangeNotificationEncryptedContent
Object
ODataType string `json:"@odata.type,omitempty"`
// Data undocumented
Data *string `json:"data,omitempty"`
// DataKey undocumented
DataKey *string `json:"dataKey,omitempty"`
// DataSignature undocumented
DataSignature *string `json:"dataSignature,omitempty"`
// EncryptionCertificateID undocumented
EncryptionCertificateID *string `json:"encryptionCertificateId,omitempty"`
// EncryptionCertificateThumbprint undocumented
EncryptionCertificateThumbprint *string `json:"encryptionCertificateThumbprint,omitempty"`
}
func NewChangeNotificationEncryptedContent() (*ChangeNotificationEncryptedContent, error) {
newChangeNotificationEncryptedContent := &ChangeNotificationEncryptedContent{
ODataType: "#microsoft.graph.ChangeNotificationEncryptedContent",
}
return newChangeNotificationEncryptedContent, nil
}
// ChangeTrackedEntity undocumented
type ChangeTrackedEntity struct {
// Entity is the base model of ChangeTrackedEntity
Entity
ODataType string `json:"@odata.type,omitempty"`
// CreatedDateTime undocumented
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// LastModifiedBy undocumented
LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
}
func NewChangeTrackedEntity() (*ChangeTrackedEntity, error) {
newChangeTrackedEntity := &ChangeTrackedEntity{
ODataType: "#microsoft.graph.ChangeTrackedEntity",
}
return newChangeTrackedEntity, nil
}