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

This is a JSON template for an event status resource.

Attributes

  • definitionId (String.t): The ID of the event definition. Defaults to: null.
  • formattedNumEvents (String.t): 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. Defaults to: null.
  • kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#playerEvent. Defaults to: null.
  • numEvents (String.t): The current number of times this event has occurred. Defaults to: null.
  • playerId (String.t): The ID of the player. 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.PlayerEvent{
  definitionId: any(),
  formattedNumEvents: any(),
  kind: any(),
  numEvents: any(),
  playerId: 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.