#include <games_achievement_increment.h>
This is a JSON template for the payload to request to increment an achievement.
◆ GamesAchievementIncrement() [1/2]
google_games_api::GamesAchievementIncrement::GamesAchievementIncrement |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ GamesAchievementIncrement() [2/2]
google_games_api::GamesAchievementIncrement::GamesAchievementIncrement |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~GamesAchievementIncrement()
google_games_api::GamesAchievementIncrement::~GamesAchievementIncrement |
( |
| ) |
|
|
virtual |
◆ clear_kind()
void google_games_api::GamesAchievementIncrement::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_request_id()
void google_games_api::GamesAchievementIncrement::clear_request_id |
( |
| ) |
|
|
inline |
Clears the 'requestId
' attribute.
◆ clear_steps()
void google_games_api::GamesAchievementIncrement::clear_steps |
( |
| ) |
|
|
inline |
Clears the 'steps
' attribute.
◆ get_kind()
const StringPiece google_games_api::GamesAchievementIncrement::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_request_id()
int64 google_games_api::GamesAchievementIncrement::get_request_id |
( |
| ) |
const |
|
inline |
Get the value of the 'requestId
' attribute.
◆ get_steps()
int32 google_games_api::GamesAchievementIncrement::get_steps |
( |
| ) |
const |
|
inline |
Get the value of the 'steps
' attribute.
◆ GetTypeName()
const StringPiece google_games_api::GamesAchievementIncrement::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_kind()
bool google_games_api::GamesAchievementIncrement::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_request_id()
bool google_games_api::GamesAchievementIncrement::has_request_id |
( |
| ) |
const |
|
inline |
Determine if the 'requestId
' attribute was set.
- Returns
- true if the '
requestId
' attribute was set.
◆ has_steps()
bool google_games_api::GamesAchievementIncrement::has_steps |
( |
| ) |
const |
|
inline |
Determine if the 'steps
' attribute was set.
- Returns
- true if the '
steps
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_kind()
void google_games_api::GamesAchievementIncrement::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::GamesAchievementIncrement.
- Parameters
-
◆ set_request_id()
void google_games_api::GamesAchievementIncrement::set_request_id |
( |
int64 |
value | ) |
|
|
inline |
Change the 'requestId
' attribute.
The requestId associated with an increment to an achievement.
- Parameters
-
◆ set_steps()
void google_games_api::GamesAchievementIncrement::set_steps |
( |
int32 |
value | ) |
|
|
inline |
Change the 'steps
' attribute.
The number of steps to be incremented.
- Parameters
-
The documentation for this class was generated from the following files: