games
v1
|
#include <turn_based_match_rematch.h>
Public Member Functions | |
TurnBasedMatchRematch (const Json::Value &storage) | |
TurnBasedMatchRematch (Json::Value *storage) | |
virtual | ~TurnBasedMatchRematch () |
const StringPiece | GetTypeName () const |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_previous_match () const |
void | clear_previous_match () |
const TurnBasedMatch | get_previous_match () const |
TurnBasedMatch | mutable_previousMatch () |
bool | has_rematch () const |
void | clear_rematch () |
const TurnBasedMatch | get_rematch () const |
TurnBasedMatch | mutable_rematch () |
Static Public Member Functions | |
static TurnBasedMatchRematch * | New () |
This is a JSON template for a rematch response.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'previousMatch
' attribute.
|
inline |
Clears the 'rematch
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
const TurnBasedMatch google_games_api::TurnBasedMatchRematch::get_previous_match | ( | ) | const |
Get a reference to the value of the 'previousMatch
' attribute.
const TurnBasedMatch google_games_api::TurnBasedMatchRematch::get_rematch | ( | ) | const |
Get a reference to the value of the 'rematch
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'previousMatch
' attribute was set.
previousMatch
' attribute was set.
|
inline |
Determine if the 'rematch
' attribute was set.
rematch
' attribute was set. TurnBasedMatch google_games_api::TurnBasedMatchRematch::mutable_previousMatch | ( | ) |
Gets a reference to a mutable value of the 'previousMatch
' property.
The old match that the rematch was created from; will be updated such that the rematchId field will point at the new match.
TurnBasedMatch google_games_api::TurnBasedMatchRematch::mutable_rematch | ( | ) |
Gets a reference to a mutable value of the 'rematch
' property.
The newly created match; a rematch of the old match with the same participants.
|
static |
Creates a new default instance.
|
inline |
Change the 'kind
' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::turnBasedMatchRematch.
[in] | value | The new value. |