#include <leaderboard.h>
This is a JSON template for the Leaderboard resource.
◆ Leaderboard() [1/2]
google_games_api::Leaderboard::Leaderboard |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~Leaderboard()
google_games_api::Leaderboard::~Leaderboard |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ set_id()
void google_games_api::Leaderboard::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id
' attribute.
The leaderboard ID.
- Parameters
-
◆ 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
-
◆ 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
-
◆ set_name()
void google_games_api::Leaderboard::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
The name of the leaderboard.
- Parameters
-
◆ 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
-
The documentation for this class was generated from the following files: