google_api_games v0.12.0 GoogleApi.Games.V1.Model.TurnBasedMatchRematch View Source

This is a JSON template for a rematch response.

Attributes

  • kind (type: String.t, default: games#turnBasedMatchRematch) - Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchRematch.
  • previousMatch (type: GoogleApi.Games.V1.Model.TurnBasedMatch.t, default: nil) - The old match that the rematch was created from; will be updated such that the rematchId field will point at the new match.
  • rematch (type: GoogleApi.Games.V1.Model.TurnBasedMatch.t, default: nil) - The newly created match; a rematch of the old match with the same participants.

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.TurnBasedMatchRematch{
  kind: String.t(),
  previousMatch: GoogleApi.Games.V1.Model.TurnBasedMatch.t(),
  rematch: GoogleApi.Games.V1.Model.TurnBasedMatch.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.