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

#include <application.h>

Inheritance diagram for google_games_api::Application:

Public Member Functions

 Application (const Json::Value &storage)
 
 Application (Json::Value *storage)
 
virtual ~Application ()
 
const StringPiece GetTypeName () const
 
bool has_achievement_count () const
 
void clear_achievement_count ()
 
int32 get_achievement_count () const
 
void set_achievement_count (int32 value)
 
bool has_assets () const
 
void clear_assets ()
 
const client::JsonCppArray< ImageAssetget_assets () const
 
client::JsonCppArray< ImageAssetmutable_assets ()
 
bool has_author () const
 
void clear_author ()
 
const StringPiece get_author () const
 
void set_author (const StringPiece &value)
 
bool has_category () const
 
void clear_category ()
 
const ApplicationCategory get_category () const
 
ApplicationCategory mutable_category ()
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_enabled_features () const
 
void clear_enabled_features ()
 
const client::JsonCppArray< string > get_enabled_features () const
 
client::JsonCppArray< string > mutable_enabledFeatures ()
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_instances () const
 
void clear_instances ()
 
const client::JsonCppArray< Instanceget_instances () const
 
client::JsonCppArray< Instancemutable_instances ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_last_updated_timestamp () const
 
void clear_last_updated_timestamp ()
 
int64 get_last_updated_timestamp () const
 
void set_last_updated_timestamp (int64 value)
 
bool has_leaderboard_count () const
 
void clear_leaderboard_count ()
 
int32 get_leaderboard_count () const
 
void set_leaderboard_count (int32 value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_theme_color () const
 
void clear_theme_color ()
 
const StringPiece get_theme_color () const
 
void set_theme_color (const StringPiece &value)
 

Static Public Member Functions

static ApplicationNew ()
 

Detailed Description

This is a JSON template for the Application resource.

Constructor & Destructor Documentation

◆ Application() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~Application()

google_games_api::Application::~Application ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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()

const ApplicationCategory google_games_api::Application::get_category ( ) const

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

Returns a string denoting the type of this data object.

Returns
google_games_api::Application

◆ 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()

ApplicationCategory google_games_api::Application::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()

Application * google_games_api::Application::New ( )
static

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
[in]valueThe new value.

◆ set_author()

void google_games_api::Application::set_author ( const StringPiece &  value)
inline

Change the 'author' attribute.

The author of the application.

Parameters
[in]valueThe new value.

◆ set_description()

void google_games_api::Application::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

The description of the application.

Parameters
[in]valueThe new value.

◆ set_id()

void google_games_api::Application::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

The ID of the application.

Parameters
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ set_name()

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

Change the 'name' attribute.

The name of the application.

Parameters
[in]valueThe new value.

◆ 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
[in]valueThe new value.

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