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

#include <room_join_request.h>

Inheritance diagram for google_games_api::RoomJoinRequest:

Public Member Functions

 RoomJoinRequest (const Json::Value &storage)
 
 RoomJoinRequest (Json::Value *storage)
 
virtual ~RoomJoinRequest ()
 
const StringPiece GetTypeName () const
 
bool has_capabilities () const
 
void clear_capabilities ()
 
const client::JsonCppArray< string > get_capabilities () const
 
client::JsonCppArray< string > mutable_capabilities ()
 
bool has_client_address () const
 
void clear_client_address ()
 
const RoomClientAddress get_client_address () const
 
RoomClientAddress mutable_clientAddress ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_network_diagnostics () const
 
void clear_network_diagnostics ()
 
const NetworkDiagnostics get_network_diagnostics () const
 
NetworkDiagnostics mutable_networkDiagnostics ()
 

Static Public Member Functions

static RoomJoinRequestNew ()
 

Detailed Description

This is a JSON template for a join room request.

Constructor & Destructor Documentation

◆ RoomJoinRequest() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ RoomJoinRequest() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~RoomJoinRequest()

google_games_api::RoomJoinRequest::~RoomJoinRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_capabilities()

void google_games_api::RoomJoinRequest::clear_capabilities ( )
inline

Clears the 'capabilities' attribute.

◆ clear_client_address()

void google_games_api::RoomJoinRequest::clear_client_address ( )
inline

Clears the 'clientAddress' attribute.

◆ clear_kind()

void google_games_api::RoomJoinRequest::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_network_diagnostics()

void google_games_api::RoomJoinRequest::clear_network_diagnostics ( )
inline

Clears the 'networkDiagnostics' attribute.

◆ get_capabilities()

const client::JsonCppArray<string > google_games_api::RoomJoinRequest::get_capabilities ( ) const
inline

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

◆ get_client_address()

const RoomClientAddress google_games_api::RoomJoinRequest::get_client_address ( ) const

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

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_network_diagnostics()

const NetworkDiagnostics google_games_api::RoomJoinRequest::get_network_diagnostics ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::RoomJoinRequest

◆ has_capabilities()

bool google_games_api::RoomJoinRequest::has_capabilities ( ) const
inline

Determine if the 'capabilities' attribute was set.

Returns
true if the 'capabilities' attribute was set.

◆ has_client_address()

bool google_games_api::RoomJoinRequest::has_client_address ( ) const
inline

Determine if the 'clientAddress' attribute was set.

Returns
true if the 'clientAddress' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_network_diagnostics()

bool google_games_api::RoomJoinRequest::has_network_diagnostics ( ) const
inline

Determine if the 'networkDiagnostics' attribute was set.

Returns
true if the 'networkDiagnostics' attribute was set.

◆ mutable_capabilities()

client::JsonCppArray<string > google_games_api::RoomJoinRequest::mutable_capabilities ( )
inline

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

The capabilities that this client supports for realtime communication.

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

◆ mutable_clientAddress()

RoomClientAddress google_games_api::RoomJoinRequest::mutable_clientAddress ( )

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

Client address for the player joining the room.

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

◆ mutable_networkDiagnostics()

NetworkDiagnostics google_games_api::RoomJoinRequest::mutable_networkDiagnostics ( )

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

Network diagnostics for the client joining the room.

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

◆ New()

RoomJoinRequest * google_games_api::RoomJoinRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

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