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

#include <event_child.h>

Inheritance diagram for google_games_api::EventChild:

Public Member Functions

 EventChild (const Json::Value &storage)
 
 EventChild (Json::Value *storage)
 
virtual ~EventChild ()
 
const StringPiece GetTypeName () const
 
bool has_child_id () const
 
void clear_child_id ()
 
const StringPiece get_child_id () const
 
void set_child_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 

Static Public Member Functions

static EventChildNew ()
 

Detailed Description

This is a JSON template for an event child relationship resource.

Constructor & Destructor Documentation

◆ EventChild() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ EventChild() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~EventChild()

google_games_api::EventChild::~EventChild ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_child_id()

void google_games_api::EventChild::clear_child_id ( )
inline

Clears the 'childId' attribute.

◆ clear_kind()

void google_games_api::EventChild::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ get_child_id()

const StringPiece google_games_api::EventChild::get_child_id ( ) const
inline

Get the value of the 'childId' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::EventChild

◆ has_child_id()

bool google_games_api::EventChild::has_child_id ( ) const
inline

Determine if the 'childId' attribute was set.

Returns
true if the 'childId' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ New()

EventChild * google_games_api::EventChild::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_child_id()

void google_games_api::EventChild::set_child_id ( const StringPiece &  value)
inline

Change the 'childId' attribute.

The ID of the child event.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

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