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

#include <instance.h>

Inheritance diagram for google_games_api::Instance:

Public Member Functions

 Instance (const Json::Value &storage)
 
 Instance (Json::Value *storage)
 
virtual ~Instance ()
 
const StringPiece GetTypeName () const
 
bool has_acquisition_uri () const
 
void clear_acquisition_uri ()
 
const StringPiece get_acquisition_uri () const
 
void set_acquisition_uri (const StringPiece &value)
 
bool has_android_instance () const
 
void clear_android_instance ()
 
const InstanceAndroidDetails get_android_instance () const
 
InstanceAndroidDetails mutable_androidInstance ()
 
bool has_ios_instance () const
 
void clear_ios_instance ()
 
const InstanceIosDetails get_ios_instance () const
 
InstanceIosDetails mutable_iosInstance ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_platform_type () const
 
void clear_platform_type ()
 
const StringPiece get_platform_type () const
 
void set_platform_type (const StringPiece &value)
 
bool has_realtime_play () const
 
void clear_realtime_play ()
 
bool get_realtime_play () const
 
void set_realtime_play (bool value)
 
bool has_turn_based_play () const
 
void clear_turn_based_play ()
 
bool get_turn_based_play () const
 
void set_turn_based_play (bool value)
 
bool has_web_instance () const
 
void clear_web_instance ()
 
const InstanceWebDetails get_web_instance () const
 
InstanceWebDetails mutable_webInstance ()
 

Static Public Member Functions

static InstanceNew ()
 

Detailed Description

This is a JSON template for the Instance resource.

Constructor & Destructor Documentation

◆ Instance() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Instance() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Instance()

google_games_api::Instance::~Instance ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_acquisition_uri()

void google_games_api::Instance::clear_acquisition_uri ( )
inline

Clears the 'acquisitionUri' attribute.

◆ clear_android_instance()

void google_games_api::Instance::clear_android_instance ( )
inline

Clears the 'androidInstance' attribute.

◆ clear_ios_instance()

void google_games_api::Instance::clear_ios_instance ( )
inline

Clears the 'iosInstance' attribute.

◆ clear_kind()

void google_games_api::Instance::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_games_api::Instance::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_platform_type()

void google_games_api::Instance::clear_platform_type ( )
inline

Clears the 'platformType' attribute.

◆ clear_realtime_play()

void google_games_api::Instance::clear_realtime_play ( )
inline

Clears the 'realtimePlay' attribute.

◆ clear_turn_based_play()

void google_games_api::Instance::clear_turn_based_play ( )
inline

Clears the 'turnBasedPlay' attribute.

◆ clear_web_instance()

void google_games_api::Instance::clear_web_instance ( )
inline

Clears the 'webInstance' attribute.

◆ get_acquisition_uri()

const StringPiece google_games_api::Instance::get_acquisition_uri ( ) const
inline

Get the value of the 'acquisitionUri' attribute.

◆ get_android_instance()

const InstanceAndroidDetails google_games_api::Instance::get_android_instance ( ) const

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

◆ get_ios_instance()

const InstanceIosDetails google_games_api::Instance::get_ios_instance ( ) const

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

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_games_api::Instance::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_platform_type()

const StringPiece google_games_api::Instance::get_platform_type ( ) const
inline

Get the value of the 'platformType' attribute.

◆ get_realtime_play()

bool google_games_api::Instance::get_realtime_play ( ) const
inline

Get the value of the 'realtimePlay' attribute.

◆ get_turn_based_play()

bool google_games_api::Instance::get_turn_based_play ( ) const
inline

Get the value of the 'turnBasedPlay' attribute.

◆ get_web_instance()

const InstanceWebDetails google_games_api::Instance::get_web_instance ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::Instance

◆ has_acquisition_uri()

bool google_games_api::Instance::has_acquisition_uri ( ) const
inline

Determine if the 'acquisitionUri' attribute was set.

Returns
true if the 'acquisitionUri' attribute was set.

◆ has_android_instance()

bool google_games_api::Instance::has_android_instance ( ) const
inline

Determine if the 'androidInstance' attribute was set.

Returns
true if the 'androidInstance' attribute was set.

◆ has_ios_instance()

bool google_games_api::Instance::has_ios_instance ( ) const
inline

Determine if the 'iosInstance' attribute was set.

Returns
true if the 'iosInstance' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_name()

bool google_games_api::Instance::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_platform_type()

bool google_games_api::Instance::has_platform_type ( ) const
inline

Determine if the 'platformType' attribute was set.

Returns
true if the 'platformType' attribute was set.

◆ has_realtime_play()

bool google_games_api::Instance::has_realtime_play ( ) const
inline

Determine if the 'realtimePlay' attribute was set.

Returns
true if the 'realtimePlay' attribute was set.

◆ has_turn_based_play()

bool google_games_api::Instance::has_turn_based_play ( ) const
inline

Determine if the 'turnBasedPlay' attribute was set.

Returns
true if the 'turnBasedPlay' attribute was set.

◆ has_web_instance()

bool google_games_api::Instance::has_web_instance ( ) const
inline

Determine if the 'webInstance' attribute was set.

Returns
true if the 'webInstance' attribute was set.

◆ mutable_androidInstance()

InstanceAndroidDetails google_games_api::Instance::mutable_androidInstance ( )

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

Platform dependent details for Android.

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

◆ mutable_iosInstance()

InstanceIosDetails google_games_api::Instance::mutable_iosInstance ( )

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

Platform dependent details for iOS.

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

◆ mutable_webInstance()

InstanceWebDetails google_games_api::Instance::mutable_webInstance ( )

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

Platform dependent details for Web.

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

◆ New()

Instance * google_games_api::Instance::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_acquisition_uri()

void google_games_api::Instance::set_acquisition_uri ( const StringPiece &  value)
inline

Change the 'acquisitionUri' attribute.

URI which shows where a user can acquire this instance.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_name()

void google_games_api::Instance::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

Localized display name.

Parameters
[in]valueThe new value.

◆ set_platform_type()

void google_games_api::Instance::set_platform_type ( const StringPiece &  value)
inline

Change the 'platformType' attribute.

The platform type. Possible values are:

"ANDROID"
Instance is for Android.
"IOS"
Instance is for iOS.
"WEB_APP"
Instance is for Web App.
Parameters
[in]valueThe new value.

◆ set_realtime_play()

void google_games_api::Instance::set_realtime_play ( bool  value)
inline

Change the 'realtimePlay' attribute.

Flag to show if this game instance supports realtime play.

Parameters
[in]valueThe new value.

◆ set_turn_based_play()

void google_games_api::Instance::set_turn_based_play ( bool  value)
inline

Change the 'turnBasedPlay' attribute.

Flag to show if this game instance supports turn based play.

Parameters
[in]valueThe new value.

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