|
games
v1
|
#include <snapshot.h>
Public Member Functions | |
| Snapshot (const Json::Value &storage) | |
| Snapshot (Json::Value *storage) | |
| virtual | ~Snapshot () |
| const StringPiece | GetTypeName () const |
| bool | has_cover_image () const |
| void | clear_cover_image () |
| const SnapshotImage | get_cover_image () const |
| SnapshotImage | mutable_coverImage () |
| bool | has_description () const |
| void | clear_description () |
| const StringPiece | get_description () const |
| void | set_description (const StringPiece &value) |
| bool | has_drive_id () const |
| void | clear_drive_id () |
| const StringPiece | get_drive_id () const |
| void | set_drive_id (const StringPiece &value) |
| bool | has_duration_millis () const |
| void | clear_duration_millis () |
| int64 | get_duration_millis () const |
| void | set_duration_millis (int64 value) |
| bool | has_id () const |
| void | clear_id () |
| const StringPiece | get_id () const |
| void | set_id (const StringPiece &value) |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (const StringPiece &value) |
| bool | has_last_modified_millis () const |
| void | clear_last_modified_millis () |
| int64 | get_last_modified_millis () const |
| void | set_last_modified_millis (int64 value) |
| bool | has_progress_value () const |
| void | clear_progress_value () |
| int64 | get_progress_value () const |
| void | set_progress_value (int64 value) |
| bool | has_title () const |
| void | clear_title () |
| const StringPiece | get_title () const |
| void | set_title (const StringPiece &value) |
| bool | has_type () const |
| void | clear_type () |
| const StringPiece | get_type () const |
| void | set_type (const StringPiece &value) |
| bool | has_unique_name () const |
| void | clear_unique_name () |
| const StringPiece | get_unique_name () const |
| void | set_unique_name (const StringPiece &value) |
Static Public Member Functions | |
| static Snapshot * | New () |
This is a JSON template for an snapshot object.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'coverImage' attribute.
|
inline |
Clears the 'description' attribute.
|
inline |
Clears the 'driveId' attribute.
|
inline |
Clears the 'durationMillis' attribute.
|
inline |
Clears the 'id' attribute.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'lastModifiedMillis' attribute.
|
inline |
Clears the 'progressValue' attribute.
|
inline |
Clears the 'title' attribute.
|
inline |
Clears the 'type' attribute.
|
inline |
Clears the 'uniqueName' attribute.
| const SnapshotImage google_games_api::Snapshot::get_cover_image | ( | ) | const |
Get a reference to the value of the 'coverImage' attribute.
|
inline |
Get the value of the 'description' attribute.
|
inline |
Get the value of the 'driveId' attribute.
|
inline |
Get the value of the 'durationMillis' attribute.
|
inline |
Get the value of the 'id' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get the value of the 'lastModifiedMillis' attribute.
|
inline |
Get the value of the 'progressValue' attribute.
|
inline |
Get the value of the 'title' attribute.
|
inline |
Get the value of the 'type' attribute.
|
inline |
Get the value of the 'uniqueName' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_games_api::Snapshot
|
inline |
Determine if the 'coverImage' attribute was set.
coverImage' attribute was set.
|
inline |
Determine if the 'description' attribute was set.
description' attribute was set.
|
inline |
Determine if the 'driveId' attribute was set.
driveId' attribute was set.
|
inline |
Determine if the 'durationMillis' attribute was set.
durationMillis' attribute was set.
|
inline |
Determine if the 'id' attribute was set.
id' attribute was set.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'lastModifiedMillis' attribute was set.
lastModifiedMillis' attribute was set.
|
inline |
Determine if the 'progressValue' attribute was set.
progressValue' attribute was set.
|
inline |
Determine if the 'title' attribute was set.
title' attribute was set.
|
inline |
Determine if the 'type' attribute was set.
type' attribute was set.
|
inline |
Determine if the 'uniqueName' attribute was set.
uniqueName' attribute was set. | SnapshotImage google_games_api::Snapshot::mutable_coverImage | ( | ) |
Gets a reference to a mutable value of the 'coverImage' property.
The cover image of this snapshot. May be absent if there is no image.
|
static |
Creates a new default instance.
|
inline |
Change the 'description' attribute.
The description of this snapshot.
| [in] | value | The new value. |
|
inline |
Change the 'driveId' attribute.
The ID of the file underlying this snapshot in the Drive API. Only present if the snapshot is a view on a Drive file and the file is owned by the caller.
| [in] | value | The new value. |
|
inline |
Change the 'durationMillis' attribute.
The duration associated with this snapshot, in millis.
| [in] | value | The new value. |
|
inline |
Change the 'id' attribute.
The ID of the snapshot.
| [in] | value | The new value. |
|
inline |
Change the 'kind' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::snapshot.
| [in] | value | The new value. |
|
inline |
Change the 'lastModifiedMillis' attribute.
The timestamp (in millis since Unix epoch) of the last modification to this snapshot.
| [in] | value | The new value. |
|
inline |
Change the 'progressValue' attribute.
The progress value (64-bit integer set by developer) associated with this snapshot.
| [in] | value | The new value. |
|
inline |
Change the 'title' attribute.
The title of this snapshot.
| [in] | value | The new value. |
|
inline |
Change the 'type' attribute.
The type of this snapshot. Possible values are:
| [in] | value | The new value. |
|
inline |
Change the 'uniqueName' attribute.
The unique name provided when the snapshot was created.
| [in] | value | The new value. |