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

#include <leaderboard.h>

Inheritance diagram for google_games_api::Leaderboard:

Public Member Functions

 Leaderboard (const Json::Value &storage)
 
 Leaderboard (Json::Value *storage)
 
virtual ~Leaderboard ()
 
const StringPiece GetTypeName () const
 
bool has_icon_url () const
 
void clear_icon_url ()
 
const StringPiece get_icon_url () const
 
void set_icon_url (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_is_icon_url_default () const
 
void clear_is_icon_url_default ()
 
bool get_is_icon_url_default () const
 
void set_is_icon_url_default (bool value)
 
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_order () const
 
void clear_order ()
 
const StringPiece get_order () const
 
void set_order (const StringPiece &value)
 

Static Public Member Functions

static LeaderboardNew ()
 

Detailed Description

This is a JSON template for the Leaderboard resource.

Constructor & Destructor Documentation

◆ Leaderboard() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Leaderboard() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Leaderboard()

google_games_api::Leaderboard::~Leaderboard ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_icon_url()

void google_games_api::Leaderboard::clear_icon_url ( )
inline

Clears the 'iconUrl' attribute.

◆ clear_id()

void google_games_api::Leaderboard::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_is_icon_url_default()

void google_games_api::Leaderboard::clear_is_icon_url_default ( )
inline

Clears the 'isIconUrlDefault' attribute.

◆ clear_kind()

void google_games_api::Leaderboard::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_games_api::Leaderboard::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_order()

void google_games_api::Leaderboard::clear_order ( )
inline

Clears the 'order' attribute.

◆ get_icon_url()

const StringPiece google_games_api::Leaderboard::get_icon_url ( ) const
inline

Get the value of the 'iconUrl' attribute.

◆ get_id()

const StringPiece google_games_api::Leaderboard::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_is_icon_url_default()

bool google_games_api::Leaderboard::get_is_icon_url_default ( ) const
inline

Get the value of the 'isIconUrlDefault' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

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

Get the value of the 'name' attribute.

◆ get_order()

const StringPiece google_games_api::Leaderboard::get_order ( ) const
inline

Get the value of the 'order' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::Leaderboard

◆ has_icon_url()

bool google_games_api::Leaderboard::has_icon_url ( ) const
inline

Determine if the 'iconUrl' attribute was set.

Returns
true if the 'iconUrl' attribute was set.

◆ has_id()

bool google_games_api::Leaderboard::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_is_icon_url_default()

bool google_games_api::Leaderboard::has_is_icon_url_default ( ) const
inline

Determine if the 'isIconUrlDefault' attribute was set.

Returns
true if the 'isIconUrlDefault' attribute was set.

◆ has_kind()

bool google_games_api::Leaderboard::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::Leaderboard::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_order()

bool google_games_api::Leaderboard::has_order ( ) const
inline

Determine if the 'order' attribute was set.

Returns
true if the 'order' attribute was set.

◆ New()

Leaderboard * google_games_api::Leaderboard::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_icon_url()

void google_games_api::Leaderboard::set_icon_url ( const StringPiece &  value)
inline

Change the 'iconUrl' attribute.

The icon for the leaderboard.

Parameters
[in]valueThe new value.

◆ set_id()

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

Change the 'id' attribute.

The leaderboard ID.

Parameters
[in]valueThe new value.

◆ set_is_icon_url_default()

void google_games_api::Leaderboard::set_is_icon_url_default ( bool  value)
inline

Change the 'isIconUrlDefault' attribute.

Indicates whether the icon image being returned is a default image, or is game-provided.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_name()

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

Change the 'name' attribute.

The name of the leaderboard.

Parameters
[in]valueThe new value.

◆ set_order()

void google_games_api::Leaderboard::set_order ( const StringPiece &  value)
inline

Change the 'order' attribute.

How scores are ordered. Possible values are:

"LARGER_IS_BETTER"
Larger values are better; scores are sorted in descending order.
"SMALLER_IS_BETTER"
Smaller values are better; scores are sorted in ascending order.
Parameters
[in]valueThe new value.

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