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

#include <event_period_range.h>

Inheritance diagram for google_games_api::EventPeriodRange:

Public Member Functions

 EventPeriodRange (const Json::Value &storage)
 
 EventPeriodRange (Json::Value *storage)
 
virtual ~EventPeriodRange ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_period_end_millis () const
 
void clear_period_end_millis ()
 
int64 get_period_end_millis () const
 
void set_period_end_millis (int64 value)
 
bool has_period_start_millis () const
 
void clear_period_start_millis ()
 
int64 get_period_start_millis () const
 
void set_period_start_millis (int64 value)
 

Static Public Member Functions

static EventPeriodRangeNew ()
 

Detailed Description

This is a JSON template for an event period time range.

Constructor & Destructor Documentation

◆ EventPeriodRange() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ EventPeriodRange() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~EventPeriodRange()

google_games_api::EventPeriodRange::~EventPeriodRange ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_games_api::EventPeriodRange::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_period_end_millis()

void google_games_api::EventPeriodRange::clear_period_end_millis ( )
inline

Clears the 'periodEndMillis' attribute.

◆ clear_period_start_millis()

void google_games_api::EventPeriodRange::clear_period_start_millis ( )
inline

Clears the 'periodStartMillis' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_period_end_millis()

int64 google_games_api::EventPeriodRange::get_period_end_millis ( ) const
inline

Get the value of the 'periodEndMillis' attribute.

◆ get_period_start_millis()

int64 google_games_api::EventPeriodRange::get_period_start_millis ( ) const
inline

Get the value of the 'periodStartMillis' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::EventPeriodRange

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_period_end_millis()

bool google_games_api::EventPeriodRange::has_period_end_millis ( ) const
inline

Determine if the 'periodEndMillis' attribute was set.

Returns
true if the 'periodEndMillis' attribute was set.

◆ has_period_start_millis()

bool google_games_api::EventPeriodRange::has_period_start_millis ( ) const
inline

Determine if the 'periodStartMillis' attribute was set.

Returns
true if the 'periodStartMillis' attribute was set.

◆ New()

EventPeriodRange * google_games_api::EventPeriodRange::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_period_end_millis()

void google_games_api::EventPeriodRange::set_period_end_millis ( int64  value)
inline

Change the 'periodEndMillis' attribute.

The time when this update period ends, in millis, since 1970 UTC (Unix Epoch).

Parameters
[in]valueThe new value.

◆ set_period_start_millis()

void google_games_api::EventPeriodRange::set_period_start_millis ( int64  value)
inline

Change the 'periodStartMillis' attribute.

The time when this update period begins, in millis, since 1970 UTC (Unix Epoch).

Parameters
[in]valueThe new value.

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