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

#include <games_achievement_increment.h>

Inheritance diagram for google_games_api::GamesAchievementIncrement:

Public Member Functions

 GamesAchievementIncrement (const Json::Value &storage)
 
 GamesAchievementIncrement (Json::Value *storage)
 
virtual ~GamesAchievementIncrement ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_request_id () const
 
void clear_request_id ()
 
int64 get_request_id () const
 
void set_request_id (int64 value)
 
bool has_steps () const
 
void clear_steps ()
 
int32 get_steps () const
 
void set_steps (int32 value)
 

Static Public Member Functions

static GamesAchievementIncrementNew ()
 

Detailed Description

This is a JSON template for the payload to request to increment an achievement.

Constructor & Destructor Documentation

◆ GamesAchievementIncrement() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~GamesAchievementIncrement()

google_games_api::GamesAchievementIncrement::~GamesAchievementIncrement ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_games_api::GamesAchievementIncrement

◆ 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()

GamesAchievementIncrement * google_games_api::GamesAchievementIncrement::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ set_steps()

void google_games_api::GamesAchievementIncrement::set_steps ( int32  value)
inline

Change the 'steps' attribute.

The number of steps to be incremented.

Parameters
[in]valueThe new value.

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