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

#include <aggregate_stats.h>

Inheritance diagram for google_games_api::AggregateStats:

Public Member Functions

 AggregateStats (const Json::Value &storage)
 
 AggregateStats (Json::Value *storage)
 
virtual ~AggregateStats ()
 
const StringPiece GetTypeName () const
 
bool has_count () const
 
void clear_count ()
 
int64 get_count () const
 
void set_count (int64 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_max () const
 
void clear_max ()
 
int64 get_max () const
 
void set_max (int64 value)
 
bool has_min () const
 
void clear_min ()
 
int64 get_min () const
 
void set_min (int64 value)
 
bool has_sum () const
 
void clear_sum ()
 
int64 get_sum () const
 
void set_sum (int64 value)
 

Static Public Member Functions

static AggregateStatsNew ()
 

Detailed Description

This is a JSON template for aggregate stats.

Constructor & Destructor Documentation

◆ AggregateStats() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AggregateStats() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AggregateStats()

google_games_api::AggregateStats::~AggregateStats ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_count()

void google_games_api::AggregateStats::clear_count ( )
inline

Clears the 'count' attribute.

◆ clear_kind()

void google_games_api::AggregateStats::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_max()

void google_games_api::AggregateStats::clear_max ( )
inline

Clears the 'max' attribute.

◆ clear_min()

void google_games_api::AggregateStats::clear_min ( )
inline

Clears the 'min' attribute.

◆ clear_sum()

void google_games_api::AggregateStats::clear_sum ( )
inline

Clears the 'sum' attribute.

◆ get_count()

int64 google_games_api::AggregateStats::get_count ( ) const
inline

Get the value of the 'count' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_max()

int64 google_games_api::AggregateStats::get_max ( ) const
inline

Get the value of the 'max' attribute.

◆ get_min()

int64 google_games_api::AggregateStats::get_min ( ) const
inline

Get the value of the 'min' attribute.

◆ get_sum()

int64 google_games_api::AggregateStats::get_sum ( ) const
inline

Get the value of the 'sum' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::AggregateStats

◆ has_count()

bool google_games_api::AggregateStats::has_count ( ) const
inline

Determine if the 'count' attribute was set.

Returns
true if the 'count' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_max()

bool google_games_api::AggregateStats::has_max ( ) const
inline

Determine if the 'max' attribute was set.

Returns
true if the 'max' attribute was set.

◆ has_min()

bool google_games_api::AggregateStats::has_min ( ) const
inline

Determine if the 'min' attribute was set.

Returns
true if the 'min' attribute was set.

◆ has_sum()

bool google_games_api::AggregateStats::has_sum ( ) const
inline

Determine if the 'sum' attribute was set.

Returns
true if the 'sum' attribute was set.

◆ New()

AggregateStats * google_games_api::AggregateStats::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_count()

void google_games_api::AggregateStats::set_count ( int64  value)
inline

Change the 'count' attribute.

The number of messages sent between a pair of peers.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_max()

void google_games_api::AggregateStats::set_max ( int64  value)
inline

Change the 'max' attribute.

The maximum amount.

Parameters
[in]valueThe new value.

◆ set_min()

void google_games_api::AggregateStats::set_min ( int64  value)
inline

Change the 'min' attribute.

The minimum amount.

Parameters
[in]valueThe new value.

◆ set_sum()

void google_games_api::AggregateStats::set_sum ( int64  value)
inline

Change the 'sum' attribute.

The total number of bytes sent for messages between a pair of peers.

Parameters
[in]valueThe new value.

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