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

#include <turn_based_match_sync.h>

Inheritance diagram for google_games_api::TurnBasedMatchSync:

Public Member Functions

 TurnBasedMatchSync (const Json::Value &storage)
 
 TurnBasedMatchSync (Json::Value *storage)
 
virtual ~TurnBasedMatchSync ()
 
const StringPiece GetTypeName () const
 
bool has_items () const
 
void clear_items ()
 
const client::JsonCppArray< TurnBasedMatchget_items () const
 
client::JsonCppArray< TurnBasedMatchmutable_items ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_more_available () const
 
void clear_more_available ()
 
bool get_more_available () const
 
void set_more_available (bool value)
 
bool has_next_page_token () const
 
void clear_next_page_token ()
 
const StringPiece get_next_page_token () const
 
void set_next_page_token (const StringPiece &value)
 

Static Public Member Functions

static TurnBasedMatchSyncNew ()
 

Detailed Description

This is a JSON template for a list of turn-based matches returned from a sync.

Constructor & Destructor Documentation

◆ TurnBasedMatchSync() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ TurnBasedMatchSync() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~TurnBasedMatchSync()

google_games_api::TurnBasedMatchSync::~TurnBasedMatchSync ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_items()

void google_games_api::TurnBasedMatchSync::clear_items ( )
inline

Clears the 'items' attribute.

◆ clear_kind()

void google_games_api::TurnBasedMatchSync::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_more_available()

void google_games_api::TurnBasedMatchSync::clear_more_available ( )
inline

Clears the 'moreAvailable' attribute.

◆ clear_next_page_token()

void google_games_api::TurnBasedMatchSync::clear_next_page_token ( )
inline

Clears the 'nextPageToken' attribute.

◆ get_items()

const client::JsonCppArray<TurnBasedMatch > google_games_api::TurnBasedMatchSync::get_items ( ) const

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

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_more_available()

bool google_games_api::TurnBasedMatchSync::get_more_available ( ) const
inline

Get the value of the 'moreAvailable' attribute.

◆ get_next_page_token()

const StringPiece google_games_api::TurnBasedMatchSync::get_next_page_token ( ) const
inline

Get the value of the 'nextPageToken' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::TurnBasedMatchSync

◆ has_items()

bool google_games_api::TurnBasedMatchSync::has_items ( ) const
inline

Determine if the 'items' attribute was set.

Returns
true if the 'items' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_more_available()

bool google_games_api::TurnBasedMatchSync::has_more_available ( ) const
inline

Determine if the 'moreAvailable' attribute was set.

Returns
true if the 'moreAvailable' attribute was set.

◆ has_next_page_token()

bool google_games_api::TurnBasedMatchSync::has_next_page_token ( ) const
inline

Determine if the 'nextPageToken' attribute was set.

Returns
true if the 'nextPageToken' attribute was set.

◆ mutable_items()

client::JsonCppArray<TurnBasedMatch > google_games_api::TurnBasedMatchSync::mutable_items ( )

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

The matches.

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

◆ New()

TurnBasedMatchSync * google_games_api::TurnBasedMatchSync::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_more_available()

void google_games_api::TurnBasedMatchSync::set_more_available ( bool  value)
inline

Change the 'moreAvailable' attribute.

True if there were more matches available to fetch at the time the response was generated (which were not returned due to page size limits.).

Parameters
[in]valueThe new value.

◆ set_next_page_token()

void google_games_api::TurnBasedMatchSync::set_next_page_token ( const StringPiece &  value)
inline

Change the 'nextPageToken' attribute.

The pagination token for the next page of results.

Parameters
[in]valueThe new value.

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