github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelNotification.go (about) 1 // Code generated by msgraph.go/gen DO NOT EDIT. 2 3 package msgraph 4 5 import "time" 6 7 // Notification undocumented 8 type Notification struct { 9 // Entity is the base model of Notification 10 Entity 11 // TargetHostName undocumented 12 TargetHostName *string `json:"targetHostName,omitempty"` 13 // ExpirationDateTime undocumented 14 ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"` 15 // Payload undocumented 16 Payload *PayloadTypes `json:"payload,omitempty"` 17 // DisplayTimeToLive undocumented 18 DisplayTimeToLive *int `json:"displayTimeToLive,omitempty"` 19 // Priority undocumented 20 Priority *Priority `json:"priority,omitempty"` 21 // GroupName undocumented 22 GroupName *string `json:"groupName,omitempty"` 23 // TargetPolicy undocumented 24 TargetPolicy *TargetPolicyEndpoints `json:"targetPolicy,omitempty"` 25 } 26 27 // NotificationMessageTemplate Notification messages are messages that are sent to end users who are determined to be not-compliant with the compliance policies defined by the administrator. Administrators choose notifications and configure them in the Intune Admin Console using the compliance policy creation page under the “Actions for non-compliance” section. Use the notificationMessageTemplate object to create your own custom notifications for administrators to choose while configuring actions for non-compliance. 28 type NotificationMessageTemplate struct { 29 // Entity is the base model of NotificationMessageTemplate 30 Entity 31 // LastModifiedDateTime DateTime the object was last modified. 32 LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"` 33 // DisplayName Display name for the Notification Message Template. 34 DisplayName *string `json:"displayName,omitempty"` 35 // DefaultLocale The default locale to fallback onto when the requested locale is not available. 36 DefaultLocale *string `json:"defaultLocale,omitempty"` 37 // BrandingOptions The Message Template Branding Options. Branding is defined in the Intune Admin Console. 38 BrandingOptions *NotificationTemplateBrandingOptions `json:"brandingOptions,omitempty"` 39 // RoleScopeTagIDs List of Scope Tags for this Entity instance. 40 RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"` 41 // LocalizedNotificationMessages undocumented 42 LocalizedNotificationMessages []LocalizedNotificationMessage `json:"localizedNotificationMessages,omitempty"` 43 }