class Google::Apis::GamesV1::TurnBasedMatchRematch
This is a JSON template for a rematch response.
Attributes
kind[RW]
Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchRematch. Corresponds to the JSON property `kind` @return [String]
previous_match[RW]
This is a JSON template for a turn-based match resource object. Corresponds to the JSON property `previousMatch` @return [Google::Apis::GamesV1::TurnBasedMatch]
rematch[RW]
This is a JSON template for a turn-based match resource object. Corresponds to the JSON property `rematch` @return [Google::Apis::GamesV1::TurnBasedMatch]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 4493 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/games_v1/classes.rb, line 4498 def update!(**args) @kind = args[:kind] if args.key?(:kind) @previous_match = args[:previous_match] if args.key?(:previous_match) @rematch = args[:rematch] if args.key?(:rematch) end