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

#include <played.h>

Inheritance diagram for google_games_api::Played:

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 PlayedNew ()
 

Detailed Description

This is a JSON template for metadata about a player playing a game with the currently authenticated user.

Constructor & Destructor Documentation

◆ Played() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Played() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Played()

google_games_api::Played::~Played ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_auto_matched()

void google_games_api::Played::clear_auto_matched ( )
inline

Clears the 'autoMatched' attribute.

◆ clear_kind()

void google_games_api::Played::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_time_millis()

void google_games_api::Played::clear_time_millis ( )
inline

Clears the 'timeMillis' attribute.

◆ get_auto_matched()

bool google_games_api::Played::get_auto_matched ( ) const
inline

Get the value of the 'autoMatched' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_time_millis()

int64 google_games_api::Played::get_time_millis ( ) const
inline

Get the value of the 'timeMillis' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::Played

◆ has_auto_matched()

bool google_games_api::Played::has_auto_matched ( ) const
inline

Determine if the 'autoMatched' attribute was set.

Returns
true if the 'autoMatched' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_time_millis()

bool google_games_api::Played::has_time_millis ( ) const
inline

Determine if the 'timeMillis' attribute was set.

Returns
true if the 'timeMillis' attribute was set.

◆ New()

Played * google_games_api::Played::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_auto_matched()

void google_games_api::Played::set_auto_matched ( bool  value)
inline

Change the 'autoMatched' attribute.

True if the player was auto-matched with the currently authenticated user.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_time_millis()

void google_games_api::Played::set_time_millis ( int64  value)
inline

Change the 'timeMillis' attribute.

The last time the player played the game in milliseconds since the epoch in UTC.

Parameters
[in]valueThe new value.

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