#include <bucket_by_time.h>
◆ BucketByTime() [1/2]
| google_fitness_api::BucketByTime::BucketByTime |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ BucketByTime() [2/2]
| google_fitness_api::BucketByTime::BucketByTime |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~BucketByTime()
| google_fitness_api::BucketByTime::~BucketByTime |
( |
| ) |
|
|
virtual |
◆ clear_duration_millis()
| void google_fitness_api::BucketByTime::clear_duration_millis |
( |
| ) |
|
|
inline |
Clears the 'durationMillis' attribute.
◆ clear_period()
| void google_fitness_api::BucketByTime::clear_period |
( |
| ) |
|
|
inline |
Clears the 'period' attribute.
◆ get_duration_millis()
| int64 google_fitness_api::BucketByTime::get_duration_millis |
( |
| ) |
const |
|
inline |
Get the value of the 'durationMillis' attribute.
◆ get_period()
Get a reference to the value of the 'period' attribute.
◆ GetTypeName()
| const StringPiece google_fitness_api::BucketByTime::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_duration_millis()
| bool google_fitness_api::BucketByTime::has_duration_millis |
( |
| ) |
const |
|
inline |
Determine if the 'durationMillis' attribute was set.
- Returns
- true if the '
durationMillis' attribute was set.
◆ has_period()
| bool google_fitness_api::BucketByTime::has_period |
( |
| ) |
const |
|
inline |
Determine if the 'period' attribute was set.
- Returns
- true if the '
period' attribute was set.
◆ mutable_period()
Gets a reference to a mutable value of the 'period' property.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_duration_millis()
| void google_fitness_api::BucketByTime::set_duration_millis |
( |
int64 |
value | ) |
|
|
inline |
Change the 'durationMillis' attribute.
Specifies that result buckets aggregate data by exactly durationMillis time frames. Time frames that contain no data will be included in the response with an empty dataset.
- Parameters
-
The documentation for this class was generated from the following files: