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

#include <achievement_reveal_response.h>

Inheritance diagram for google_games_api::AchievementRevealResponse:

Public Member Functions

 AchievementRevealResponse (const Json::Value &storage)
 
 AchievementRevealResponse (Json::Value *storage)
 
virtual ~AchievementRevealResponse ()
 
const StringPiece GetTypeName () const
 
bool has_current_state () const
 
void clear_current_state ()
 
const StringPiece get_current_state () const
 
void set_current_state (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 

Static Public Member Functions

static AchievementRevealResponseNew ()
 

Detailed Description

This is a JSON template for an achievement reveal response.

Constructor & Destructor Documentation

◆ AchievementRevealResponse() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AchievementRevealResponse() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AchievementRevealResponse()

google_games_api::AchievementRevealResponse::~AchievementRevealResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_current_state()

void google_games_api::AchievementRevealResponse::clear_current_state ( )
inline

Clears the 'currentState' attribute.

◆ clear_kind()

void google_games_api::AchievementRevealResponse::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ get_current_state()

const StringPiece google_games_api::AchievementRevealResponse::get_current_state ( ) const
inline

Get the value of the 'currentState' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::AchievementRevealResponse

◆ has_current_state()

bool google_games_api::AchievementRevealResponse::has_current_state ( ) const
inline

Determine if the 'currentState' attribute was set.

Returns
true if the 'currentState' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ New()

AchievementRevealResponse * google_games_api::AchievementRevealResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_current_state()

void google_games_api::AchievementRevealResponse::set_current_state ( const StringPiece &  value)
inline

Change the 'currentState' attribute.

The current state of the achievement for which a reveal was attempted. This might be UNLOCKED if the achievement was already unlocked. Possible values are:

"REVEALED"
Achievement is revealed.
"UNLOCKED"
Achievement is unlocked.
Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

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