#include <application.h>
This is a JSON template for the Application resource.
◆ Application() [1/2]
| google_games_api::Application::Application |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ Application() [2/2]
| google_games_api::Application::Application |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~Application()
| google_games_api::Application::~Application |
( |
| ) |
|
|
virtual |
◆ clear_achievement_count()
| void google_games_api::Application::clear_achievement_count |
( |
| ) |
|
|
inline |
Clears the 'achievement_count' attribute.
◆ clear_assets()
| void google_games_api::Application::clear_assets |
( |
| ) |
|
|
inline |
Clears the 'assets' attribute.
◆ clear_author()
| void google_games_api::Application::clear_author |
( |
| ) |
|
|
inline |
Clears the 'author' attribute.
◆ clear_category()
| void google_games_api::Application::clear_category |
( |
| ) |
|
|
inline |
Clears the 'category' attribute.
◆ clear_description()
| void google_games_api::Application::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description' attribute.
◆ clear_enabled_features()
| void google_games_api::Application::clear_enabled_features |
( |
| ) |
|
|
inline |
Clears the 'enabledFeatures' attribute.
◆ clear_id()
| void google_games_api::Application::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id' attribute.
◆ clear_instances()
| void google_games_api::Application::clear_instances |
( |
| ) |
|
|
inline |
Clears the 'instances' attribute.
◆ clear_kind()
| void google_games_api::Application::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_last_updated_timestamp()
| void google_games_api::Application::clear_last_updated_timestamp |
( |
| ) |
|
|
inline |
Clears the 'lastUpdatedTimestamp' attribute.
◆ clear_leaderboard_count()
| void google_games_api::Application::clear_leaderboard_count |
( |
| ) |
|
|
inline |
Clears the 'leaderboard_count' attribute.
◆ clear_name()
| void google_games_api::Application::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name' attribute.
◆ clear_theme_color()
| void google_games_api::Application::clear_theme_color |
( |
| ) |
|
|
inline |
Clears the 'themeColor' attribute.
◆ get_achievement_count()
| int32 google_games_api::Application::get_achievement_count |
( |
| ) |
const |
|
inline |
Get the value of the 'achievement_count' attribute.
◆ get_assets()
| const client::JsonCppArray<ImageAsset > google_games_api::Application::get_assets |
( |
| ) |
const |
Get a reference to the value of the 'assets' attribute.
◆ get_author()
| const StringPiece google_games_api::Application::get_author |
( |
| ) |
const |
|
inline |
Get the value of the 'author' attribute.
◆ get_category()
Get a reference to the value of the 'category' attribute.
◆ get_description()
| const StringPiece google_games_api::Application::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description' attribute.
◆ get_enabled_features()
| const client::JsonCppArray<string > google_games_api::Application::get_enabled_features |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'enabledFeatures' attribute.
◆ get_id()
| const StringPiece google_games_api::Application::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id' attribute.
◆ get_instances()
| const client::JsonCppArray<Instance > google_games_api::Application::get_instances |
( |
| ) |
const |
Get a reference to the value of the 'instances' attribute.
◆ get_kind()
| const StringPiece google_games_api::Application::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_last_updated_timestamp()
| int64 google_games_api::Application::get_last_updated_timestamp |
( |
| ) |
const |
|
inline |
Get the value of the 'lastUpdatedTimestamp' attribute.
◆ get_leaderboard_count()
| int32 google_games_api::Application::get_leaderboard_count |
( |
| ) |
const |
|
inline |
Get the value of the 'leaderboard_count' attribute.
◆ get_name()
| const StringPiece google_games_api::Application::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name' attribute.
◆ get_theme_color()
| const StringPiece google_games_api::Application::get_theme_color |
( |
| ) |
const |
|
inline |
Get the value of the 'themeColor' attribute.
◆ GetTypeName()
| const StringPiece google_games_api::Application::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_achievement_count()
| bool google_games_api::Application::has_achievement_count |
( |
| ) |
const |
|
inline |
Determine if the 'achievement_count' attribute was set.
- Returns
- true if the '
achievement_count' attribute was set.
◆ has_assets()
| bool google_games_api::Application::has_assets |
( |
| ) |
const |
|
inline |
Determine if the 'assets' attribute was set.
- Returns
- true if the '
assets' attribute was set.
◆ has_author()
| bool google_games_api::Application::has_author |
( |
| ) |
const |
|
inline |
Determine if the 'author' attribute was set.
- Returns
- true if the '
author' attribute was set.
◆ has_category()
| bool google_games_api::Application::has_category |
( |
| ) |
const |
|
inline |
Determine if the 'category' attribute was set.
- Returns
- true if the '
category' attribute was set.
◆ has_description()
| bool google_games_api::Application::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description' attribute was set.
- Returns
- true if the '
description' attribute was set.
◆ has_enabled_features()
| bool google_games_api::Application::has_enabled_features |
( |
| ) |
const |
|
inline |
Determine if the 'enabledFeatures' attribute was set.
- Returns
- true if the '
enabledFeatures' attribute was set.
◆ has_id()
| bool google_games_api::Application::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id' attribute was set.
- Returns
- true if the '
id' attribute was set.
◆ has_instances()
| bool google_games_api::Application::has_instances |
( |
| ) |
const |
|
inline |
Determine if the 'instances' attribute was set.
- Returns
- true if the '
instances' attribute was set.
◆ has_kind()
| bool google_games_api::Application::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_last_updated_timestamp()
| bool google_games_api::Application::has_last_updated_timestamp |
( |
| ) |
const |
|
inline |
Determine if the 'lastUpdatedTimestamp' attribute was set.
- Returns
- true if the '
lastUpdatedTimestamp' attribute was set.
◆ has_leaderboard_count()
| bool google_games_api::Application::has_leaderboard_count |
( |
| ) |
const |
|
inline |
Determine if the 'leaderboard_count' attribute was set.
- Returns
- true if the '
leaderboard_count' attribute was set.
◆ has_name()
| bool google_games_api::Application::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name' attribute was set.
- Returns
- true if the '
name' attribute was set.
◆ has_theme_color()
| bool google_games_api::Application::has_theme_color |
( |
| ) |
const |
|
inline |
Determine if the 'themeColor' attribute was set.
- Returns
- true if the '
themeColor' attribute was set.
◆ mutable_assets()
| client::JsonCppArray<ImageAsset > google_games_api::Application::mutable_assets |
( |
| ) |
|
Gets a reference to a mutable value of the 'assets' property.
The assets of the application.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_category()
Gets a reference to a mutable value of the 'category' property.
The category of the application.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_enabledFeatures()
| client::JsonCppArray<string > google_games_api::Application::mutable_enabledFeatures |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'enabledFeatures' property.
A list of features that have been enabled for the application. Possible values are:
- "SNAPSHOTS" - Snapshots has been enabled.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_instances()
| client::JsonCppArray<Instance > google_games_api::Application::mutable_instances |
( |
| ) |
|
Gets a reference to a mutable value of the 'instances' property.
The instances of the application.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_achievement_count()
| void google_games_api::Application::set_achievement_count |
( |
int32 |
value | ) |
|
|
inline |
Change the 'achievement_count' attribute.
The number of achievements visible to the currently authenticated player.
- Parameters
-
◆ set_author()
| void google_games_api::Application::set_author |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'author' attribute.
The author of the application.
- Parameters
-
◆ set_description()
| void google_games_api::Application::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description' attribute.
The description of the application.
- Parameters
-
◆ set_id()
| void google_games_api::Application::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id' attribute.
The ID of the application.
- Parameters
-
◆ set_kind()
| void google_games_api::Application::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::application.
- Parameters
-
◆ set_last_updated_timestamp()
| void google_games_api::Application::set_last_updated_timestamp |
( |
int64 |
value | ) |
|
|
inline |
Change the 'lastUpdatedTimestamp' attribute.
The last updated timestamp of the application.
- Parameters
-
◆ set_leaderboard_count()
| void google_games_api::Application::set_leaderboard_count |
( |
int32 |
value | ) |
|
|
inline |
Change the 'leaderboard_count' attribute.
The number of leaderboards visible to the currently authenticated player.
- Parameters
-
◆ set_name()
| void google_games_api::Application::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name' attribute.
The name of the application.
- Parameters
-
◆ set_theme_color()
| void google_games_api::Application::set_theme_color |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'themeColor' attribute.
A hint to the client UI for what color to use as an app-themed color. The color is given as an RGB triplet (e.g. "E0E0E0").
- Parameters
-
The documentation for this class was generated from the following files: