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

#include <snapshot_image.h>

Inheritance diagram for google_games_api::SnapshotImage:

Public Member Functions

 SnapshotImage (const Json::Value &storage)
 
 SnapshotImage (Json::Value *storage)
 
virtual ~SnapshotImage ()
 
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_mime_type () const
 
void clear_mime_type ()
 
const StringPiece get_mime_type () const
 
void set_mime_type (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 SnapshotImageNew ()
 

Detailed Description

This is a JSON template for an image of a snapshot.

Constructor & Destructor Documentation

◆ SnapshotImage() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ SnapshotImage() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~SnapshotImage()

google_games_api::SnapshotImage::~SnapshotImage ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_height()

void google_games_api::SnapshotImage::clear_height ( )
inline

Clears the 'height' attribute.

◆ clear_kind()

void google_games_api::SnapshotImage::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_mime_type()

void google_games_api::SnapshotImage::clear_mime_type ( )
inline

Clears the 'mime_type' attribute.

◆ clear_url()

void google_games_api::SnapshotImage::clear_url ( )
inline

Clears the 'url' attribute.

◆ clear_width()

void google_games_api::SnapshotImage::clear_width ( )
inline

Clears the 'width' attribute.

◆ get_height()

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

Get the value of the 'height' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_mime_type()

const StringPiece google_games_api::SnapshotImage::get_mime_type ( ) const
inline

Get the value of the 'mime_type' attribute.

◆ get_url()

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

Get the value of the 'url' attribute.

◆ get_width()

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

Get the value of the 'width' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::SnapshotImage

◆ has_height()

bool google_games_api::SnapshotImage::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::SnapshotImage::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_mime_type()

bool google_games_api::SnapshotImage::has_mime_type ( ) const
inline

Determine if the 'mime_type' attribute was set.

Returns
true if the 'mime_type' attribute was set.

◆ has_url()

bool google_games_api::SnapshotImage::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::SnapshotImage::has_width ( ) const
inline

Determine if the 'width' attribute was set.

Returns
true if the 'width' attribute was set.

◆ New()

SnapshotImage * google_games_api::SnapshotImage::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_height()

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

Change the 'height' attribute.

The height of the image.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_mime_type()

void google_games_api::SnapshotImage::set_mime_type ( const StringPiece &  value)
inline

Change the 'mime_type' attribute.

The MIME type of the image.

Parameters
[in]valueThe new value.

◆ set_url()

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

Change the 'url' attribute.

The URL of the image. This URL may be invalidated at any time and should not be cached.

Parameters
[in]valueThe new value.

◆ set_width()

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

Change the 'width' attribute.

The width of the image.

Parameters
[in]valueThe new value.

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