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

#include <turn_based_match_create_request.h>

Inheritance diagram for google_games_api::TurnBasedMatchCreateRequest:

Public Member Functions

 TurnBasedMatchCreateRequest (const Json::Value &storage)
 
 TurnBasedMatchCreateRequest (Json::Value *storage)
 
virtual ~TurnBasedMatchCreateRequest ()
 
const StringPiece GetTypeName () const
 
bool has_auto_matching_criteria () const
 
void clear_auto_matching_criteria ()
 
const TurnBasedAutoMatchingCriteria get_auto_matching_criteria () const
 
TurnBasedAutoMatchingCriteria mutable_autoMatchingCriteria ()
 
bool has_invited_player_ids () const
 
void clear_invited_player_ids ()
 
const client::JsonCppArray< string > get_invited_player_ids () const
 
client::JsonCppArray< string > mutable_invitedPlayerIds ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_request_id () const
 
void clear_request_id ()
 
int64 get_request_id () const
 
void set_request_id (int64 value)
 
bool has_variant () const
 
void clear_variant ()
 
int32 get_variant () const
 
void set_variant (int32 value)
 

Static Public Member Functions

static TurnBasedMatchCreateRequestNew ()
 

Detailed Description

This is a JSON template for a turn-based match creation request.

Constructor & Destructor Documentation

◆ TurnBasedMatchCreateRequest() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ TurnBasedMatchCreateRequest() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~TurnBasedMatchCreateRequest()

google_games_api::TurnBasedMatchCreateRequest::~TurnBasedMatchCreateRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_auto_matching_criteria()

void google_games_api::TurnBasedMatchCreateRequest::clear_auto_matching_criteria ( )
inline

Clears the 'autoMatchingCriteria' attribute.

◆ clear_invited_player_ids()

void google_games_api::TurnBasedMatchCreateRequest::clear_invited_player_ids ( )
inline

Clears the 'invitedPlayerIds' attribute.

◆ clear_kind()

void google_games_api::TurnBasedMatchCreateRequest::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_request_id()

void google_games_api::TurnBasedMatchCreateRequest::clear_request_id ( )
inline

Clears the 'requestId' attribute.

◆ clear_variant()

void google_games_api::TurnBasedMatchCreateRequest::clear_variant ( )
inline

Clears the 'variant' attribute.

◆ get_auto_matching_criteria()

const TurnBasedAutoMatchingCriteria google_games_api::TurnBasedMatchCreateRequest::get_auto_matching_criteria ( ) const

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

◆ get_invited_player_ids()

const client::JsonCppArray<string > google_games_api::TurnBasedMatchCreateRequest::get_invited_player_ids ( ) const
inline

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

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_request_id()

int64 google_games_api::TurnBasedMatchCreateRequest::get_request_id ( ) const
inline

Get the value of the 'requestId' attribute.

◆ get_variant()

int32 google_games_api::TurnBasedMatchCreateRequest::get_variant ( ) const
inline

Get the value of the 'variant' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::TurnBasedMatchCreateRequest

◆ has_auto_matching_criteria()

bool google_games_api::TurnBasedMatchCreateRequest::has_auto_matching_criteria ( ) const
inline

Determine if the 'autoMatchingCriteria' attribute was set.

Returns
true if the 'autoMatchingCriteria' attribute was set.

◆ has_invited_player_ids()

bool google_games_api::TurnBasedMatchCreateRequest::has_invited_player_ids ( ) const
inline

Determine if the 'invitedPlayerIds' attribute was set.

Returns
true if the 'invitedPlayerIds' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_request_id()

bool google_games_api::TurnBasedMatchCreateRequest::has_request_id ( ) const
inline

Determine if the 'requestId' attribute was set.

Returns
true if the 'requestId' attribute was set.

◆ has_variant()

bool google_games_api::TurnBasedMatchCreateRequest::has_variant ( ) const
inline

Determine if the 'variant' attribute was set.

Returns
true if the 'variant' attribute was set.

◆ mutable_autoMatchingCriteria()

TurnBasedAutoMatchingCriteria google_games_api::TurnBasedMatchCreateRequest::mutable_autoMatchingCriteria ( )

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

Criteria for auto-matching players into this match.

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

◆ mutable_invitedPlayerIds()

client::JsonCppArray<string > google_games_api::TurnBasedMatchCreateRequest::mutable_invitedPlayerIds ( )
inline

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

The player ids to invite to the match.

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

◆ New()

TurnBasedMatchCreateRequest * google_games_api::TurnBasedMatchCreateRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_request_id()

void google_games_api::TurnBasedMatchCreateRequest::set_request_id ( int64  value)
inline

Change the 'requestId' attribute.

A randomly generated numeric ID. This number is used at the server to ensure that the request is handled correctly across retries.

Parameters
[in]valueThe new value.

◆ set_variant()

void google_games_api::TurnBasedMatchCreateRequest::set_variant ( int32  value)
inline

Change the 'variant' attribute.

The variant / mode of the application to be played. This can be any integer value, or left blank. You should use a small number of variants to keep the auto-matching pool as large as possible.

Parameters
[in]valueThe new value.

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