google_api_games v0.6.0 GoogleApi.Games.V1.Model.TurnBasedMatchResults View Source

This is a JSON template for a turn-based match results object.

Attributes

  • data (type: GoogleApi.Games.V1.Model.TurnBasedMatchDataRequest.t, default: nil) - The final match data.
  • kind (type: String.t, default: games#turnBasedMatchResults) - Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchResults.
  • matchVersion (type: integer(), default: nil) - The version of the match being updated.
  • results (type: list(GoogleApi.Games.V1.Model.ParticipantResult.t), default: nil) - The match results for the participants in the match.

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.TurnBasedMatchResults{
  data: GoogleApi.Games.V1.Model.TurnBasedMatchDataRequest.t(),
  kind: String.t(),
  matchVersion: integer(),
  results: [GoogleApi.Games.V1.Model.ParticipantResult.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.