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

#include <event_period_update.h>

Inheritance diagram for google_games_api::EventPeriodUpdate:

Public Member Functions

 EventPeriodUpdate (const Json::Value &storage)
 
 EventPeriodUpdate (Json::Value *storage)
 
virtual ~EventPeriodUpdate ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_time_period () const
 
void clear_time_period ()
 
const EventPeriodRange get_time_period () const
 
EventPeriodRange mutable_timePeriod ()
 
bool has_updates () const
 
void clear_updates ()
 
const client::JsonCppArray< EventUpdateRequestget_updates () const
 
client::JsonCppArray< EventUpdateRequestmutable_updates ()
 

Static Public Member Functions

static EventPeriodUpdateNew ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ EventPeriodUpdate() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ EventPeriodUpdate() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~EventPeriodUpdate()

google_games_api::EventPeriodUpdate::~EventPeriodUpdate ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_games_api::EventPeriodUpdate::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_time_period()

void google_games_api::EventPeriodUpdate::clear_time_period ( )
inline

Clears the 'timePeriod' attribute.

◆ clear_updates()

void google_games_api::EventPeriodUpdate::clear_updates ( )
inline

Clears the 'updates' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_time_period()

const EventPeriodRange google_games_api::EventPeriodUpdate::get_time_period ( ) const

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

◆ get_updates()

const client::JsonCppArray<EventUpdateRequest > google_games_api::EventPeriodUpdate::get_updates ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::EventPeriodUpdate

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_time_period()

bool google_games_api::EventPeriodUpdate::has_time_period ( ) const
inline

Determine if the 'timePeriod' attribute was set.

Returns
true if the 'timePeriod' attribute was set.

◆ has_updates()

bool google_games_api::EventPeriodUpdate::has_updates ( ) const
inline

Determine if the 'updates' attribute was set.

Returns
true if the 'updates' attribute was set.

◆ mutable_timePeriod()

EventPeriodRange google_games_api::EventPeriodUpdate::mutable_timePeriod ( )

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

The time period being covered by this update.

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

◆ mutable_updates()

client::JsonCppArray<EventUpdateRequest > google_games_api::EventPeriodUpdate::mutable_updates ( )

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

The updates being made for this time period.

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

◆ New()

EventPeriodUpdate * google_games_api::EventPeriodUpdate::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

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