-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelSubscription.go
48 lines (43 loc) · 1.76 KB
/
ModelSubscription.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
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// Subscription undocumented
type Subscription struct {
// Entity is the base model of Subscription
Entity
ODataType string `json:"@odata.type,omitempty"`
// ApplicationID undocumented
ApplicationID *string `json:"applicationId,omitempty"`
// ChangeType undocumented
ChangeType *string `json:"changeType,omitempty"`
// ClientState undocumented
ClientState *string `json:"clientState,omitempty"`
// CreatorID undocumented
CreatorID *string `json:"creatorId,omitempty"`
// EncryptionCertificate undocumented
EncryptionCertificate *string `json:"encryptionCertificate,omitempty"`
// EncryptionCertificateID undocumented
EncryptionCertificateID *string `json:"encryptionCertificateId,omitempty"`
// ExpirationDateTime undocumented
ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
// IncludeResourceData undocumented
IncludeResourceData *bool `json:"includeResourceData,omitempty"`
// LatestSupportedTLSVersion undocumented
LatestSupportedTLSVersion *string `json:"latestSupportedTlsVersion,omitempty"`
// LifecycleNotificationURL undocumented
LifecycleNotificationURL *string `json:"lifecycleNotificationUrl,omitempty"`
// NotificationQueryOptions undocumented
NotificationQueryOptions *string `json:"notificationQueryOptions,omitempty"`
// NotificationURL undocumented
NotificationURL *string `json:"notificationUrl,omitempty"`
// NotificationURLAppID undocumented
NotificationURLAppID *string `json:"notificationUrlAppId,omitempty"`
// Resource undocumented
Resource *string `json:"resource,omitempty"`
}
func NewSubscription() (*Subscription, error) {
newSubscription := &Subscription{
ODataType: "#microsoft.graph.Subscription",
}
return newSubscription, nil
}