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

#include <room_auto_match_status.h>

Inheritance diagram for google_games_api::RoomAutoMatchStatus:

Public Member Functions

 RoomAutoMatchStatus (const Json::Value &storage)
 
 RoomAutoMatchStatus (Json::Value *storage)
 
virtual ~RoomAutoMatchStatus ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_wait_estimate_seconds () const
 
void clear_wait_estimate_seconds ()
 
int32 get_wait_estimate_seconds () const
 
void set_wait_estimate_seconds (int32 value)
 

Static Public Member Functions

static RoomAutoMatchStatusNew ()
 

Detailed Description

This is a JSON template for status of room automatching that is in progress.

Constructor & Destructor Documentation

◆ RoomAutoMatchStatus() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ RoomAutoMatchStatus() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~RoomAutoMatchStatus()

google_games_api::RoomAutoMatchStatus::~RoomAutoMatchStatus ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_games_api::RoomAutoMatchStatus::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_wait_estimate_seconds()

void google_games_api::RoomAutoMatchStatus::clear_wait_estimate_seconds ( )
inline

Clears the 'waitEstimateSeconds' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_wait_estimate_seconds()

int32 google_games_api::RoomAutoMatchStatus::get_wait_estimate_seconds ( ) const
inline

Get the value of the 'waitEstimateSeconds' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::RoomAutoMatchStatus

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_wait_estimate_seconds()

bool google_games_api::RoomAutoMatchStatus::has_wait_estimate_seconds ( ) const
inline

Determine if the 'waitEstimateSeconds' attribute was set.

Returns
true if the 'waitEstimateSeconds' attribute was set.

◆ New()

RoomAutoMatchStatus * google_games_api::RoomAutoMatchStatus::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_wait_estimate_seconds()

void google_games_api::RoomAutoMatchStatus::set_wait_estimate_seconds ( int32  value)
inline

Change the 'waitEstimateSeconds' attribute.

An estimate for the amount of time (in seconds) that auto-matching is expected to take to complete.

Parameters
[in]valueThe new value.

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