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

#include <revision_check_response.h>

Inheritance diagram for google_games_api::RevisionCheckResponse:

Public Member Functions

 RevisionCheckResponse (const Json::Value &storage)
 
 RevisionCheckResponse (Json::Value *storage)
 
virtual ~RevisionCheckResponse ()
 
const StringPiece GetTypeName () const
 
bool has_api_version () const
 
void clear_api_version ()
 
const StringPiece get_api_version () const
 
void set_api_version (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_revision_status () const
 
void clear_revision_status ()
 
const StringPiece get_revision_status () const
 
void set_revision_status (const StringPiece &value)
 

Static Public Member Functions

static RevisionCheckResponseNew ()
 

Detailed Description

This is a JSON template for the result of checking a revision.

Constructor & Destructor Documentation

◆ RevisionCheckResponse() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ RevisionCheckResponse() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~RevisionCheckResponse()

google_games_api::RevisionCheckResponse::~RevisionCheckResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_api_version()

void google_games_api::RevisionCheckResponse::clear_api_version ( )
inline

Clears the 'apiVersion' attribute.

◆ clear_kind()

void google_games_api::RevisionCheckResponse::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_revision_status()

void google_games_api::RevisionCheckResponse::clear_revision_status ( )
inline

Clears the 'revisionStatus' attribute.

◆ get_api_version()

const StringPiece google_games_api::RevisionCheckResponse::get_api_version ( ) const
inline

Get the value of the 'apiVersion' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_revision_status()

const StringPiece google_games_api::RevisionCheckResponse::get_revision_status ( ) const
inline

Get the value of the 'revisionStatus' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::RevisionCheckResponse

◆ has_api_version()

bool google_games_api::RevisionCheckResponse::has_api_version ( ) const
inline

Determine if the 'apiVersion' attribute was set.

Returns
true if the 'apiVersion' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_revision_status()

bool google_games_api::RevisionCheckResponse::has_revision_status ( ) const
inline

Determine if the 'revisionStatus' attribute was set.

Returns
true if the 'revisionStatus' attribute was set.

◆ New()

RevisionCheckResponse * google_games_api::RevisionCheckResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_api_version()

void google_games_api::RevisionCheckResponse::set_api_version ( const StringPiece &  value)
inline

Change the 'apiVersion' attribute.

The version of the API this client revision should use when calling API methods.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_revision_status()

void google_games_api::RevisionCheckResponse::set_revision_status ( const StringPiece &  value)
inline

Change the 'revisionStatus' attribute.

The result of the revision check. Possible values are:

"OK"
The revision being used is current.
"DEPRECATED"
There is currently a newer version available, but the revision being used still works.
"INVALID"
The revision being used is not supported in any released version.
Parameters
[in]valueThe new value.

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