#include <snapshot_image.h>
This is a JSON template for an image of a snapshot.
◆ SnapshotImage() [1/2]
google_games_api::SnapshotImage::SnapshotImage |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~SnapshotImage()
google_games_api::SnapshotImage::~SnapshotImage |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ set_width()
void google_games_api::SnapshotImage::set_width |
( |
int32 |
value | ) |
|
|
inline |
Change the 'width
' attribute.
The width of the image.
- Parameters
-
The documentation for this class was generated from the following files: