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

#include <event_update_response.h>

Inheritance diagram for google_games_api::EventUpdateResponse:

Public Member Functions

 EventUpdateResponse (const Json::Value &storage)
 
 EventUpdateResponse (Json::Value *storage)
 
virtual ~EventUpdateResponse ()
 
const StringPiece GetTypeName () const
 
bool has_batch_failures () const
 
void clear_batch_failures ()
 
const client::JsonCppArray< EventBatchRecordFailureget_batch_failures () const
 
client::JsonCppArray< EventBatchRecordFailuremutable_batchFailures ()
 
bool has_event_failures () const
 
void clear_event_failures ()
 
const client::JsonCppArray< EventRecordFailureget_event_failures () const
 
client::JsonCppArray< EventRecordFailuremutable_eventFailures ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_player_events () const
 
void clear_player_events ()
 
const client::JsonCppArray< PlayerEventget_player_events () const
 
client::JsonCppArray< PlayerEventmutable_playerEvents ()
 

Static Public Member Functions

static EventUpdateResponseNew ()
 

Detailed Description

This is a JSON template for an event period update resource.

Constructor & Destructor Documentation

◆ EventUpdateResponse() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ EventUpdateResponse() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~EventUpdateResponse()

google_games_api::EventUpdateResponse::~EventUpdateResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_batch_failures()

void google_games_api::EventUpdateResponse::clear_batch_failures ( )
inline

Clears the 'batchFailures' attribute.

◆ clear_event_failures()

void google_games_api::EventUpdateResponse::clear_event_failures ( )
inline

Clears the 'eventFailures' attribute.

◆ clear_kind()

void google_games_api::EventUpdateResponse::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_player_events()

void google_games_api::EventUpdateResponse::clear_player_events ( )
inline

Clears the 'playerEvents' attribute.

◆ get_batch_failures()

const client::JsonCppArray<EventBatchRecordFailure > google_games_api::EventUpdateResponse::get_batch_failures ( ) const

Get a reference to the value of the 'batchFailures' attribute.

◆ get_event_failures()

const client::JsonCppArray<EventRecordFailure > google_games_api::EventUpdateResponse::get_event_failures ( ) const

Get a reference to the value of the 'eventFailures' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_player_events()

const client::JsonCppArray<PlayerEvent > google_games_api::EventUpdateResponse::get_player_events ( ) const

Get a reference to the value of the 'playerEvents' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::EventUpdateResponse

◆ has_batch_failures()

bool google_games_api::EventUpdateResponse::has_batch_failures ( ) const
inline

Determine if the 'batchFailures' attribute was set.

Returns
true if the 'batchFailures' attribute was set.

◆ has_event_failures()

bool google_games_api::EventUpdateResponse::has_event_failures ( ) const
inline

Determine if the 'eventFailures' attribute was set.

Returns
true if the 'eventFailures' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_player_events()

bool google_games_api::EventUpdateResponse::has_player_events ( ) const
inline

Determine if the 'playerEvents' attribute was set.

Returns
true if the 'playerEvents' attribute was set.

◆ mutable_batchFailures()

client::JsonCppArray<EventBatchRecordFailure > google_games_api::EventUpdateResponse::mutable_batchFailures ( )

Gets a reference to a mutable value of the 'batchFailures' property.

Any batch-wide failures which occurred applying updates.

Returns
The result can be modified to change the attribute value.

◆ mutable_eventFailures()

client::JsonCppArray<EventRecordFailure > google_games_api::EventUpdateResponse::mutable_eventFailures ( )

Gets a reference to a mutable value of the 'eventFailures' property.

Any failures updating a particular event.

Returns
The result can be modified to change the attribute value.

◆ mutable_playerEvents()

client::JsonCppArray<PlayerEvent > google_games_api::EventUpdateResponse::mutable_playerEvents ( )

Gets a reference to a mutable value of the 'playerEvents' property.

The current status of any updated events.

Returns
The result can be modified to change the attribute value.

◆ New()

EventUpdateResponse * google_games_api::EventUpdateResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

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