games  v1
Public Member Functions | Static Public Member Functions | List of all members
google_games_api::TurnBasedMatchRematch Class Reference

#include <turn_based_match_rematch.h>

Inheritance diagram for google_games_api::TurnBasedMatchRematch:

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 TurnBasedMatchRematchNew ()
 

Detailed Description

This is a JSON template for a rematch response.

Constructor & Destructor Documentation

◆ TurnBasedMatchRematch() [1/2]

google_games_api::TurnBasedMatchRematch::TurnBasedMatchRematch ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ TurnBasedMatchRematch() [2/2]

google_games_api::TurnBasedMatchRematch::TurnBasedMatchRematch ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~TurnBasedMatchRematch()

google_games_api::TurnBasedMatchRematch::~TurnBasedMatchRematch ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_games_api::TurnBasedMatchRematch::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_previous_match()

void google_games_api::TurnBasedMatchRematch::clear_previous_match ( )
inline

Clears the 'previousMatch' attribute.

◆ clear_rematch()

void google_games_api::TurnBasedMatchRematch::clear_rematch ( )
inline

Clears the 'rematch' attribute.

◆ get_kind()

const StringPiece google_games_api::TurnBasedMatchRematch::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_previous_match()

const TurnBasedMatch google_games_api::TurnBasedMatchRematch::get_previous_match ( ) const

Get a reference to the value of the 'previousMatch' attribute.

◆ get_rematch()

const TurnBasedMatch google_games_api::TurnBasedMatchRematch::get_rematch ( ) const

Get a reference to the value of the 'rematch' attribute.

◆ GetTypeName()

const StringPiece google_games_api::TurnBasedMatchRematch::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_games_api::TurnBasedMatchRematch

◆ has_kind()

bool google_games_api::TurnBasedMatchRematch::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_previous_match()

bool google_games_api::TurnBasedMatchRematch::has_previous_match ( ) const
inline

Determine if the 'previousMatch' attribute was set.

Returns
true if the 'previousMatch' attribute was set.

◆ has_rematch()

bool google_games_api::TurnBasedMatchRematch::has_rematch ( ) const
inline

Determine if the 'rematch' attribute was set.

Returns
true if the 'rematch' attribute was set.

◆ mutable_previousMatch()

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.

Returns
The result can be modified to change the attribute value.

◆ mutable_rematch()

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.

Returns
The result can be modified to change the attribute value.

◆ New()

TurnBasedMatchRematch * google_games_api::TurnBasedMatchRematch::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

void google_games_api::TurnBasedMatchRematch::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Uniquely identifies the type of this resource. Value is always the fixed string games::turnBasedMatchRematch.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: