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

#include <room_leave_diagnostics.h>

Inheritance diagram for google_games_api::RoomLeaveDiagnostics:

Public Member Functions

 RoomLeaveDiagnostics (const Json::Value &storage)
 
 RoomLeaveDiagnostics (Json::Value *storage)
 
virtual ~RoomLeaveDiagnostics ()
 
const StringPiece GetTypeName () const
 
bool has_android_network_subtype () const
 
void clear_android_network_subtype ()
 
int32 get_android_network_subtype () const
 
void set_android_network_subtype (int32 value)
 
bool has_android_network_type () const
 
void clear_android_network_type ()
 
int32 get_android_network_type () const
 
void set_android_network_type (int32 value)
 
bool has_ios_network_type () const
 
void clear_ios_network_type ()
 
int32 get_ios_network_type () const
 
void set_ios_network_type (int32 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_network_operator_code () const
 
void clear_network_operator_code ()
 
const StringPiece get_network_operator_code () const
 
void set_network_operator_code (const StringPiece &value)
 
bool has_network_operator_name () const
 
void clear_network_operator_name ()
 
const StringPiece get_network_operator_name () const
 
void set_network_operator_name (const StringPiece &value)
 
bool has_peer_session () const
 
void clear_peer_session ()
 
const client::JsonCppArray< PeerSessionDiagnosticsget_peer_session () const
 
client::JsonCppArray< PeerSessionDiagnosticsmutable_peerSession ()
 
bool has_sockets_used () const
 
void clear_sockets_used ()
 
bool get_sockets_used () const
 
void set_sockets_used (bool value)
 

Static Public Member Functions

static RoomLeaveDiagnosticsNew ()
 

Detailed Description

This is a JSON template for room leave diagnostics.

Constructor & Destructor Documentation

◆ RoomLeaveDiagnostics() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ RoomLeaveDiagnostics() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~RoomLeaveDiagnostics()

google_games_api::RoomLeaveDiagnostics::~RoomLeaveDiagnostics ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_android_network_subtype()

void google_games_api::RoomLeaveDiagnostics::clear_android_network_subtype ( )
inline

Clears the 'androidNetworkSubtype' attribute.

◆ clear_android_network_type()

void google_games_api::RoomLeaveDiagnostics::clear_android_network_type ( )
inline

Clears the 'androidNetworkType' attribute.

◆ clear_ios_network_type()

void google_games_api::RoomLeaveDiagnostics::clear_ios_network_type ( )
inline

Clears the 'iosNetworkType' attribute.

◆ clear_kind()

void google_games_api::RoomLeaveDiagnostics::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_network_operator_code()

void google_games_api::RoomLeaveDiagnostics::clear_network_operator_code ( )
inline

Clears the 'networkOperatorCode' attribute.

◆ clear_network_operator_name()

void google_games_api::RoomLeaveDiagnostics::clear_network_operator_name ( )
inline

Clears the 'networkOperatorName' attribute.

◆ clear_peer_session()

void google_games_api::RoomLeaveDiagnostics::clear_peer_session ( )
inline

Clears the 'peerSession' attribute.

◆ clear_sockets_used()

void google_games_api::RoomLeaveDiagnostics::clear_sockets_used ( )
inline

Clears the 'socketsUsed' attribute.

◆ get_android_network_subtype()

int32 google_games_api::RoomLeaveDiagnostics::get_android_network_subtype ( ) const
inline

Get the value of the 'androidNetworkSubtype' attribute.

◆ get_android_network_type()

int32 google_games_api::RoomLeaveDiagnostics::get_android_network_type ( ) const
inline

Get the value of the 'androidNetworkType' attribute.

◆ get_ios_network_type()

int32 google_games_api::RoomLeaveDiagnostics::get_ios_network_type ( ) const
inline

Get the value of the 'iosNetworkType' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_network_operator_code()

const StringPiece google_games_api::RoomLeaveDiagnostics::get_network_operator_code ( ) const
inline

Get the value of the 'networkOperatorCode' attribute.

◆ get_network_operator_name()

const StringPiece google_games_api::RoomLeaveDiagnostics::get_network_operator_name ( ) const
inline

Get the value of the 'networkOperatorName' attribute.

◆ get_peer_session()

const client::JsonCppArray<PeerSessionDiagnostics > google_games_api::RoomLeaveDiagnostics::get_peer_session ( ) const

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

◆ get_sockets_used()

bool google_games_api::RoomLeaveDiagnostics::get_sockets_used ( ) const
inline

Get the value of the 'socketsUsed' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::RoomLeaveDiagnostics

◆ has_android_network_subtype()

bool google_games_api::RoomLeaveDiagnostics::has_android_network_subtype ( ) const
inline

Determine if the 'androidNetworkSubtype' attribute was set.

Returns
true if the 'androidNetworkSubtype' attribute was set.

◆ has_android_network_type()

bool google_games_api::RoomLeaveDiagnostics::has_android_network_type ( ) const
inline

Determine if the 'androidNetworkType' attribute was set.

Returns
true if the 'androidNetworkType' attribute was set.

◆ has_ios_network_type()

bool google_games_api::RoomLeaveDiagnostics::has_ios_network_type ( ) const
inline

Determine if the 'iosNetworkType' attribute was set.

Returns
true if the 'iosNetworkType' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_network_operator_code()

bool google_games_api::RoomLeaveDiagnostics::has_network_operator_code ( ) const
inline

Determine if the 'networkOperatorCode' attribute was set.

Returns
true if the 'networkOperatorCode' attribute was set.

◆ has_network_operator_name()

bool google_games_api::RoomLeaveDiagnostics::has_network_operator_name ( ) const
inline

Determine if the 'networkOperatorName' attribute was set.

Returns
true if the 'networkOperatorName' attribute was set.

◆ has_peer_session()

bool google_games_api::RoomLeaveDiagnostics::has_peer_session ( ) const
inline

Determine if the 'peerSession' attribute was set.

Returns
true if the 'peerSession' attribute was set.

◆ has_sockets_used()

bool google_games_api::RoomLeaveDiagnostics::has_sockets_used ( ) const
inline

Determine if the 'socketsUsed' attribute was set.

Returns
true if the 'socketsUsed' attribute was set.

◆ mutable_peerSession()

client::JsonCppArray<PeerSessionDiagnostics > google_games_api::RoomLeaveDiagnostics::mutable_peerSession ( )

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

Diagnostics about all peer sessions.

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

◆ New()

RoomLeaveDiagnostics * google_games_api::RoomLeaveDiagnostics::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_android_network_subtype()

void google_games_api::RoomLeaveDiagnostics::set_android_network_subtype ( int32  value)
inline

Change the 'androidNetworkSubtype' attribute.

Android network subtype. http://developer.android.com/reference/android/net /NetworkInfo.html::getSubtype().

Parameters
[in]valueThe new value.

◆ set_android_network_type()

void google_games_api::RoomLeaveDiagnostics::set_android_network_type ( int32  value)
inline

Change the 'androidNetworkType' attribute.

Android network type. http://developer.android.com/reference/android/net/Ne tworkInfo.html::getType().

Parameters
[in]valueThe new value.

◆ set_ios_network_type()

void google_games_api::RoomLeaveDiagnostics::set_ios_network_type ( int32  value)
inline

Change the 'iosNetworkType' attribute.

iOS network type as defined in Reachability.h.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_network_operator_code()

void google_games_api::RoomLeaveDiagnostics::set_network_operator_code ( const StringPiece &  value)
inline

Change the 'networkOperatorCode' attribute.

The MCC+MNC code for the client's network connection. On Android: http://de veloper.android.com/reference/android/telephony/TelephonyManager.html::getNe tworkOperator() On iOS, see: https://developer.apple.com/library/ios/docume ntation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html.

Parameters
[in]valueThe new value.

◆ set_network_operator_name()

void google_games_api::RoomLeaveDiagnostics::set_network_operator_name ( const StringPiece &  value)
inline

Change the 'networkOperatorName' attribute.

The name of the carrier of the client's network connection. On Android: htt p://developer.android.com/reference/android/telephony/TelephonyManager.html #getNetworkOperatorName() On iOS: https://developer.apple.com/library/ios/d ocumentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.htm l#//apple_ref/occ/instp/CTCarrier/carrierName.

Parameters
[in]valueThe new value.

◆ set_sockets_used()

void google_games_api::RoomLeaveDiagnostics::set_sockets_used ( bool  value)
inline

Change the 'socketsUsed' attribute.

Whether or not sockets were used.

Parameters
[in]valueThe new value.

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