// Code generated by msgraph-generate.go DO NOT EDIT. package msgraph import "time" // Notification undocumented type Notification struct { // Entity is the base model of Notification Entity // TargetHostName undocumented TargetHostName *string `json:"targetHostName,omitempty"` // ExpirationDateTime undocumented ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"` // Payload undocumented Payload *PayloadTypes `json:"payload,omitempty"` // DisplayTimeToLive undocumented DisplayTimeToLive *int `json:"displayTimeToLive,omitempty"` // Priority undocumented Priority *Priority `json:"priority,omitempty"` // GroupName undocumented GroupName *string `json:"groupName,omitempty"` // TargetPolicy undocumented TargetPolicy *TargetPolicyEndpoints `json:"targetPolicy,omitempty"` } // 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. type NotificationMessageTemplate struct { // Entity is the base model of NotificationMessageTemplate Entity // LastModifiedDateTime DateTime the object was last modified. LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"` // DisplayName Display name for the Notification Message Template. DisplayName *string `json:"displayName,omitempty"` // DefaultLocale The default locale to fallback onto when the requested locale is not available. DefaultLocale *string `json:"defaultLocale,omitempty"` // BrandingOptions The Message Template Branding Options. Branding is defined in the Intune Admin Console. BrandingOptions *NotificationTemplateBrandingOptions `json:"brandingOptions,omitempty"` // RoleScopeTagIDs List of Scope Tags for this Entity instance. RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"` // LocalizedNotificationMessages undocumented LocalizedNotificationMessages []LocalizedNotificationMessage `json:"localizedNotificationMessages,omitempty"` }