google_api_games v0.11.0 GoogleApi.Games.V1.Model.PlayerEvent View Source

This is a JSON template for an event status resource.

Attributes

  • definitionId (type: String.t, default: nil) - The ID of the event definition.
  • formattedNumEvents (type: String.t, default: nil) - The current number of times this event has occurred, as a string. The formatting of this string depends on the configuration of your event in the Play Games Developer Console.
  • kind (type: String.t, default: games#playerEvent) - Uniquely identifies the type of this resource. Value is always the fixed string games#playerEvent.
  • numEvents (type: String.t, default: nil) - The current number of times this event has occurred.
  • playerId (type: String.t, default: nil) - The ID of the player.

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.PlayerEvent{
  definitionId: String.t(),
  formattedNumEvents: String.t(),
  kind: String.t(),
  numEvents: String.t(),
  playerId: 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.