GoogleApi.AndroidEnterprise.V1.Model.NotificationSet (google_api_android_enterprise v0.31.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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.