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

#include <image_asset.h>

Inheritance diagram for google_games_api::ImageAsset:

Public Member Functions

 ImageAsset (const Json::Value &storage)
 
 ImageAsset (Json::Value *storage)
 
virtual ~ImageAsset ()
 
const StringPiece GetTypeName () const
 
bool has_height () const
 
void clear_height ()
 
int32 get_height () const
 
void set_height (int32 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_url () const
 
void clear_url ()
 
const StringPiece get_url () const
 
void set_url (const StringPiece &value)
 
bool has_width () const
 
void clear_width ()
 
int32 get_width () const
 
void set_width (int32 value)
 

Static Public Member Functions

static ImageAssetNew ()
 

Detailed Description

This is a JSON template for an image asset object.

Constructor & Destructor Documentation

◆ ImageAsset() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ImageAsset() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ImageAsset()

google_games_api::ImageAsset::~ImageAsset ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_height()

void google_games_api::ImageAsset::clear_height ( )
inline

Clears the 'height' attribute.

◆ clear_kind()

void google_games_api::ImageAsset::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_games_api::ImageAsset::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_url()

void google_games_api::ImageAsset::clear_url ( )
inline

Clears the 'url' attribute.

◆ clear_width()

void google_games_api::ImageAsset::clear_width ( )
inline

Clears the 'width' attribute.

◆ get_height()

int32 google_games_api::ImageAsset::get_height ( ) const
inline

Get the value of the 'height' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_games_api::ImageAsset::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_url()

const StringPiece google_games_api::ImageAsset::get_url ( ) const
inline

Get the value of the 'url' attribute.

◆ get_width()

int32 google_games_api::ImageAsset::get_width ( ) const
inline

Get the value of the 'width' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::ImageAsset

◆ has_height()

bool google_games_api::ImageAsset::has_height ( ) const
inline

Determine if the 'height' attribute was set.

Returns
true if the 'height' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_name()

bool google_games_api::ImageAsset::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_url()

bool google_games_api::ImageAsset::has_url ( ) const
inline

Determine if the 'url' attribute was set.

Returns
true if the 'url' attribute was set.

◆ has_width()

bool google_games_api::ImageAsset::has_width ( ) const
inline

Determine if the 'width' attribute was set.

Returns
true if the 'width' attribute was set.

◆ New()

ImageAsset * google_games_api::ImageAsset::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_height()

void google_games_api::ImageAsset::set_height ( int32  value)
inline

Change the 'height' attribute.

The height of the asset.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_name()

void google_games_api::ImageAsset::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The name of the asset.

Parameters
[in]valueThe new value.

◆ set_url()

void google_games_api::ImageAsset::set_url ( const StringPiece &  value)
inline

Change the 'url' attribute.

The URL of the asset.

Parameters
[in]valueThe new value.

◆ set_width()

void google_games_api::ImageAsset::set_width ( int32  value)
inline

Change the 'width' attribute.

The width of the asset.

Parameters
[in]valueThe new value.

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