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

#include <achievement_unlock_response.h>

Inheritance diagram for google_games_api::AchievementUnlockResponse:

Public Member Functions

 AchievementUnlockResponse (const Json::Value &storage)
 
 AchievementUnlockResponse (Json::Value *storage)
 
virtual ~AchievementUnlockResponse ()
 
const StringPiece GetTypeName () const
 
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 AchievementUnlockResponseNew ()
 

Detailed Description

This is a JSON template for an achievement unlock response.

Constructor & Destructor Documentation

◆ AchievementUnlockResponse() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AchievementUnlockResponse() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AchievementUnlockResponse()

google_games_api::AchievementUnlockResponse::~AchievementUnlockResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_games_api::AchievementUnlockResponse::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_newly_unlocked()

void google_games_api::AchievementUnlockResponse::clear_newly_unlocked ( )
inline

Clears the 'newlyUnlocked' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_newly_unlocked()

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

Get the value of the 'newlyUnlocked' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::AchievementUnlockResponse

◆ has_kind()

bool google_games_api::AchievementUnlockResponse::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::AchievementUnlockResponse::has_newly_unlocked ( ) const
inline

Determine if the 'newlyUnlocked' attribute was set.

Returns
true if the 'newlyUnlocked' attribute was set.

◆ New()

AchievementUnlockResponse * google_games_api::AchievementUnlockResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_newly_unlocked()

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

Change the 'newlyUnlocked' attribute.

Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).

Parameters
[in]valueThe new value.

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