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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.