|
games
v1
|
#include <played.h>
Public Member Functions | |
| Played (const Json::Value &storage) | |
| Played (Json::Value *storage) | |
| virtual | ~Played () |
| const StringPiece | GetTypeName () const |
| bool | has_auto_matched () const |
| void | clear_auto_matched () |
| bool | get_auto_matched () const |
| void | set_auto_matched (bool value) |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (const StringPiece &value) |
| bool | has_time_millis () const |
| void | clear_time_millis () |
| int64 | get_time_millis () const |
| void | set_time_millis (int64 value) |
Static Public Member Functions | |
| static Played * | New () |
This is a JSON template for metadata about a player playing a game with the currently authenticated user.
|
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 'autoMatched' attribute.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'timeMillis' attribute.
|
inline |
Get the value of the 'autoMatched' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get the value of the 'timeMillis' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_games_api::Played
|
inline |
Determine if the 'autoMatched' attribute was set.
autoMatched' attribute was set.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'timeMillis' attribute was set.
timeMillis' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'autoMatched' attribute.
True if the player was auto-matched with the currently authenticated user.
| [in] | value | The new value. |
|
inline |
Change the 'kind' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::played.
| [in] | value | The new value. |
|
inline |
Change the 'timeMillis' attribute.
The last time the player played the game in milliseconds since the epoch in UTC.
| [in] | value | The new value. |