GoogleApi.AndroidEnterprise.V1.Model.NotificationSet (google_api_android_enterprise v0.25.0) View Source

A resource returned by the PullNotificationSet API, which contains a collection of notifications for enterprises associated with the service account authenticated for the request.

Attributes

  • notification (type: list(GoogleApi.AndroidEnterprise.V1.Model.Notification.t), default: nil) - The notifications received, or empty if no notifications are present.
  • notificationSetId (type: String.t, default: nil) - The notification set ID, required to mark the notification as received with the Enterprises.AcknowledgeNotification API. This will be omitted if no notifications are present.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AndroidEnterprise.V1.Model.NotificationSet{
  notification: [GoogleApi.AndroidEnterprise.V1.Model.Notification.t()] | nil,
  notificationSetId: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.