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

#include <turn_based_match_data.h>

Inheritance diagram for google_games_api::TurnBasedMatchData:

Public Member Functions

 TurnBasedMatchData (const Json::Value &storage)
 
 TurnBasedMatchData (Json::Value *storage)
 
virtual ~TurnBasedMatchData ()
 
const StringPiece GetTypeName () const
 
bool has_data () const
 
void clear_data ()
 
const StringPiece get_data () const
 
void set_data (const StringPiece &value)
 
bool has_data_available () const
 
void clear_data_available ()
 
bool get_data_available () const
 
void set_data_available (bool value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 

Static Public Member Functions

static TurnBasedMatchDataNew ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TurnBasedMatchData() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ TurnBasedMatchData() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~TurnBasedMatchData()

google_games_api::TurnBasedMatchData::~TurnBasedMatchData ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_data()

void google_games_api::TurnBasedMatchData::clear_data ( )
inline

Clears the 'data' attribute.

◆ clear_data_available()

void google_games_api::TurnBasedMatchData::clear_data_available ( )
inline

Clears the 'dataAvailable' attribute.

◆ clear_kind()

void google_games_api::TurnBasedMatchData::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ get_data()

const StringPiece google_games_api::TurnBasedMatchData::get_data ( ) const
inline

Get the value of the 'data' attribute.

◆ get_data_available()

bool google_games_api::TurnBasedMatchData::get_data_available ( ) const
inline

Get the value of the 'dataAvailable' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::TurnBasedMatchData

◆ has_data()

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

Determine if the 'data' attribute was set.

Returns
true if the 'data' attribute was set.

◆ has_data_available()

bool google_games_api::TurnBasedMatchData::has_data_available ( ) const
inline

Determine if the 'dataAvailable' attribute was set.

Returns
true if the 'dataAvailable' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ New()

TurnBasedMatchData * google_games_api::TurnBasedMatchData::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_data()

void google_games_api::TurnBasedMatchData::set_data ( const StringPiece &  value)
inline

Change the 'data' attribute.

The byte representation of the data (limited to 128 kB), as a Base64-encoded string with the URL_SAFE encoding option.

Parameters
[in]valueThe new value.

◆ set_data_available()

void google_games_api::TurnBasedMatchData::set_data_available ( bool  value)
inline

Change the 'dataAvailable' attribute.

True if this match has data available but it wasn't returned in a list response; fetching the match individually will retrieve this data.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

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