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

#include <achievement_increment_response.h>

Inheritance diagram for google_games_api::AchievementIncrementResponse:

Public Member Functions

 AchievementIncrementResponse (const Json::Value &storage)
 
 AchievementIncrementResponse (Json::Value *storage)
 
virtual ~AchievementIncrementResponse ()
 
const StringPiece GetTypeName () const
 
bool has_current_steps () const
 
void clear_current_steps ()
 
int32 get_current_steps () const
 
void set_current_steps (int32 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_newly_unlocked () const
 
void clear_newly_unlocked ()
 
bool get_newly_unlocked () const
 
void set_newly_unlocked (bool value)
 

Static Public Member Functions

static AchievementIncrementResponseNew ()
 

Detailed Description

This is a JSON template for an achievement increment response.

Constructor & Destructor Documentation

◆ AchievementIncrementResponse() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AchievementIncrementResponse() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AchievementIncrementResponse()

google_games_api::AchievementIncrementResponse::~AchievementIncrementResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_current_steps()

void google_games_api::AchievementIncrementResponse::clear_current_steps ( )
inline

Clears the 'currentSteps' attribute.

◆ clear_kind()

void google_games_api::AchievementIncrementResponse::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_newly_unlocked()

void google_games_api::AchievementIncrementResponse::clear_newly_unlocked ( )
inline

Clears the 'newlyUnlocked' attribute.

◆ get_current_steps()

int32 google_games_api::AchievementIncrementResponse::get_current_steps ( ) const
inline

Get the value of the 'currentSteps' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_newly_unlocked()

bool google_games_api::AchievementIncrementResponse::get_newly_unlocked ( ) const
inline

Get the value of the 'newlyUnlocked' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::AchievementIncrementResponse

◆ has_current_steps()

bool google_games_api::AchievementIncrementResponse::has_current_steps ( ) const
inline

Determine if the 'currentSteps' attribute was set.

Returns
true if the 'currentSteps' attribute was set.

◆ has_kind()

bool google_games_api::AchievementIncrementResponse::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_newly_unlocked()

bool google_games_api::AchievementIncrementResponse::has_newly_unlocked ( ) const
inline

Determine if the 'newlyUnlocked' attribute was set.

Returns
true if the 'newlyUnlocked' attribute was set.

◆ New()

AchievementIncrementResponse * google_games_api::AchievementIncrementResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_current_steps()

void google_games_api::AchievementIncrementResponse::set_current_steps ( int32  value)
inline

Change the 'currentSteps' attribute.

The current steps recorded for this incremental achievement.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_newly_unlocked()

void google_games_api::AchievementIncrementResponse::set_newly_unlocked ( bool  value)
inline

Change the 'newlyUnlocked' attribute.

Whether the current steps for the achievement has reached the number of steps required to unlock.

Parameters
[in]valueThe new value.

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