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

#include <room_p2_ps_tatuses.h>

Inheritance diagram for google_games_api::RoomP2PStatuses:

Public Member Functions

 RoomP2PStatuses (const Json::Value &storage)
 
 RoomP2PStatuses (Json::Value *storage)
 
virtual ~RoomP2PStatuses ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_updates () const
 
void clear_updates ()
 
const client::JsonCppArray< RoomP2PStatusget_updates () const
 
client::JsonCppArray< RoomP2PStatusmutable_updates ()
 

Static Public Member Functions

static RoomP2PStatusesNew ()
 

Detailed Description

This is a JSON template for an update on the status of peers in a room.

Constructor & Destructor Documentation

◆ RoomP2PStatuses() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ RoomP2PStatuses() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~RoomP2PStatuses()

google_games_api::RoomP2PStatuses::~RoomP2PStatuses ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_games_api::RoomP2PStatuses::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_updates()

void google_games_api::RoomP2PStatuses::clear_updates ( )
inline

Clears the 'updates' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_updates()

const client::JsonCppArray<RoomP2PStatus > google_games_api::RoomP2PStatuses::get_updates ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::RoomP2PStatuses

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_updates()

bool google_games_api::RoomP2PStatuses::has_updates ( ) const
inline

Determine if the 'updates' attribute was set.

Returns
true if the 'updates' attribute was set.

◆ mutable_updates()

client::JsonCppArray<RoomP2PStatus > google_games_api::RoomP2PStatuses::mutable_updates ( )

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

The updates for the peers.

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

◆ New()

RoomP2PStatuses * google_games_api::RoomP2PStatuses::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

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