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

This is a JSON template for a push token resource.

Attributes

  • clientRevision (type: String.t, default: nil) - 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
  • id (type: GoogleApi.Games.V1.Model.PushTokenId.t, default: nil) - Unique identifier for this push token.
  • kind (type: String.t, default: games#pushToken) - Uniquely identifies the type of this resource. Value is always the fixed string games#pushToken.
  • language (type: String.t, default: nil) - The preferred language for notifications that are sent using this token.

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: String.t(),
  id: GoogleApi.Games.V1.Model.PushTokenId.t(),
  kind: String.t(),
  language: String.t()
}

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.