#include <instance.h>
This is a JSON template for the Instance resource.
◆ Instance() [1/2]
google_games_api::Instance::Instance |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~Instance()
google_games_api::Instance::~Instance |
( |
| ) |
|
|
virtual |
◆ 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()
Get a reference to the value of the 'androidInstance
' attribute.
◆ get_ios_instance()
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()
Get a reference to the value of the 'webInstance
' attribute.
◆ GetTypeName()
const StringPiece google_games_api::Instance::GetTypeName |
( |
| ) |
const |
|
inline |
◆ 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()
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()
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()
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
-
◆ 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
-
◆ set_name()
void google_games_api::Instance::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
Localized display name.
- Parameters
-
◆ 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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files:
- google/games_api/instance.h
- google/games_api/instance.cc