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

#include <turn_based_match_results.h>

Inheritance diagram for google_games_api::TurnBasedMatchResults:

Public Member Functions

 TurnBasedMatchResults (const Json::Value &storage)
 
 TurnBasedMatchResults (Json::Value *storage)
 
virtual ~TurnBasedMatchResults ()
 
const StringPiece GetTypeName () const
 
bool has_data () const
 
void clear_data ()
 
const TurnBasedMatchDataRequest get_data () const
 
TurnBasedMatchDataRequest mutable_data ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_match_version () const
 
void clear_match_version ()
 
int32 get_match_version () const
 
void set_match_version (int32 value)
 
bool has_results () const
 
void clear_results ()
 
const client::JsonCppArray< ParticipantResultget_results () const
 
client::JsonCppArray< ParticipantResultmutable_results ()
 

Static Public Member Functions

static TurnBasedMatchResultsNew ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TurnBasedMatchResults() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ TurnBasedMatchResults() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~TurnBasedMatchResults()

google_games_api::TurnBasedMatchResults::~TurnBasedMatchResults ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_data()

void google_games_api::TurnBasedMatchResults::clear_data ( )
inline

Clears the 'data' attribute.

◆ clear_kind()

void google_games_api::TurnBasedMatchResults::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_match_version()

void google_games_api::TurnBasedMatchResults::clear_match_version ( )
inline

Clears the 'matchVersion' attribute.

◆ clear_results()

void google_games_api::TurnBasedMatchResults::clear_results ( )
inline

Clears the 'results' attribute.

◆ get_data()

const TurnBasedMatchDataRequest google_games_api::TurnBasedMatchResults::get_data ( ) const

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

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_match_version()

int32 google_games_api::TurnBasedMatchResults::get_match_version ( ) const
inline

Get the value of the 'matchVersion' attribute.

◆ get_results()

const client::JsonCppArray<ParticipantResult > google_games_api::TurnBasedMatchResults::get_results ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::TurnBasedMatchResults

◆ has_data()

bool google_games_api::TurnBasedMatchResults::has_data ( ) const
inline

Determine if the 'data' attribute was set.

Returns
true if the 'data' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_match_version()

bool google_games_api::TurnBasedMatchResults::has_match_version ( ) const
inline

Determine if the 'matchVersion' attribute was set.

Returns
true if the 'matchVersion' attribute was set.

◆ has_results()

bool google_games_api::TurnBasedMatchResults::has_results ( ) const
inline

Determine if the 'results' attribute was set.

Returns
true if the 'results' attribute was set.

◆ mutable_data()

TurnBasedMatchDataRequest google_games_api::TurnBasedMatchResults::mutable_data ( )

Gets a reference to a mutable value of the 'data' property.

The final match data.

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

◆ mutable_results()

client::JsonCppArray<ParticipantResult > google_games_api::TurnBasedMatchResults::mutable_results ( )

Gets a reference to a mutable value of the 'results' property.

The match results for the participants in the match.

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

◆ New()

TurnBasedMatchResults * google_games_api::TurnBasedMatchResults::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_match_version()

void google_games_api::TurnBasedMatchResults::set_match_version ( int32  value)
inline

Change the 'matchVersion' attribute.

The version of the match being updated.

Parameters
[in]valueThe new value.

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