google_api_games v0.2.0 GoogleApi.Games.V1.Model.PushToken View Source

This is a JSON template for a push token resource.

Attributes

  • clientRevision (String.t): The revision of the client SDK used by your application, in the same format that's used by revisions.check. Used to send backward compatible messages. Format: [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of PLATFORM_TYPE are: - IOS - Push token is for iOS Defaults to: null.
  • id (PushTokenId): Unique identifier for this push token. Defaults to: null.
  • kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#pushToken. Defaults to: null.
  • language (String.t): The preferred language for notifications that are sent using this token. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Games.V1.Model.PushToken{
  clientRevision: any(),
  id: GoogleApi.Games.V1.Model.PushTokenId.t(),
  kind: any(),
  language: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.