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

#include <room_modification.h>

Inheritance diagram for google_games_api::RoomModification:

Public Member Functions

 RoomModification (const Json::Value &storage)
 
 RoomModification (Json::Value *storage)
 
virtual ~RoomModification ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_modified_timestamp_millis () const
 
void clear_modified_timestamp_millis ()
 
int64 get_modified_timestamp_millis () const
 
void set_modified_timestamp_millis (int64 value)
 
bool has_participant_id () const
 
void clear_participant_id ()
 
const StringPiece get_participant_id () const
 
void set_participant_id (const StringPiece &value)
 

Static Public Member Functions

static RoomModificationNew ()
 

Detailed Description

This is a JSON template for room modification metadata.

Constructor & Destructor Documentation

◆ RoomModification() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ RoomModification() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~RoomModification()

google_games_api::RoomModification::~RoomModification ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_games_api::RoomModification::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_modified_timestamp_millis()

void google_games_api::RoomModification::clear_modified_timestamp_millis ( )
inline

Clears the 'modifiedTimestampMillis' attribute.

◆ clear_participant_id()

void google_games_api::RoomModification::clear_participant_id ( )
inline

Clears the 'participantId' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_modified_timestamp_millis()

int64 google_games_api::RoomModification::get_modified_timestamp_millis ( ) const
inline

Get the value of the 'modifiedTimestampMillis' attribute.

◆ get_participant_id()

const StringPiece google_games_api::RoomModification::get_participant_id ( ) const
inline

Get the value of the 'participantId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::RoomModification

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_modified_timestamp_millis()

bool google_games_api::RoomModification::has_modified_timestamp_millis ( ) const
inline

Determine if the 'modifiedTimestampMillis' attribute was set.

Returns
true if the 'modifiedTimestampMillis' attribute was set.

◆ has_participant_id()

bool google_games_api::RoomModification::has_participant_id ( ) const
inline

Determine if the 'participantId' attribute was set.

Returns
true if the 'participantId' attribute was set.

◆ New()

RoomModification * google_games_api::RoomModification::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_modified_timestamp_millis()

void google_games_api::RoomModification::set_modified_timestamp_millis ( int64  value)
inline

Change the 'modifiedTimestampMillis' attribute.

The timestamp at which they modified the room, in milliseconds since the epoch in UTC.

Parameters
[in]valueThe new value.

◆ set_participant_id()

void google_games_api::RoomModification::set_participant_id ( const StringPiece &  value)
inline

Change the 'participantId' attribute.

The ID of the participant that modified the room.

Parameters
[in]valueThe new value.

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