fitness  v1
Public Member Functions | Static Public Member Functions | List of all members
google_fitness_api::AggregateResponse Class Reference

#include <aggregate_response.h>

Inheritance diagram for google_fitness_api::AggregateResponse:

Public Member Functions

 AggregateResponse (const Json::Value &storage)
 
 AggregateResponse (Json::Value *storage)
 
virtual ~AggregateResponse ()
 
const StringPiece GetTypeName () const
 
bool has_bucket () const
 
void clear_bucket ()
 
const client::JsonCppArray< AggregateBucketget_bucket () const
 
client::JsonCppArray< AggregateBucketmutable_bucket ()
 

Static Public Member Functions

static AggregateResponseNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ AggregateResponse() [1/2]

google_fitness_api::AggregateResponse::AggregateResponse ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ AggregateResponse() [2/2]

google_fitness_api::AggregateResponse::AggregateResponse ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~AggregateResponse()

google_fitness_api::AggregateResponse::~AggregateResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_bucket()

void google_fitness_api::AggregateResponse::clear_bucket ( )
inline

Clears the 'bucket' attribute.

◆ get_bucket()

const client::JsonCppArray<AggregateBucket > google_fitness_api::AggregateResponse::get_bucket ( ) const

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

◆ GetTypeName()

const StringPiece google_fitness_api::AggregateResponse::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_fitness_api::AggregateResponse

◆ has_bucket()

bool google_fitness_api::AggregateResponse::has_bucket ( ) const
inline

Determine if the 'bucket' attribute was set.

Returns
true if the 'bucket' attribute was set.

◆ mutable_bucket()

client::JsonCppArray<AggregateBucket > google_fitness_api::AggregateResponse::mutable_bucket ( )

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

A list of buckets containing the aggregated data.

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

◆ New()

AggregateResponse * google_fitness_api::AggregateResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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