#include <aggregate_by.h>
The specification of which data to aggregate.
◆ AggregateBy() [1/2]
| google_fitness_api::AggregateBy::AggregateBy |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ AggregateBy() [2/2]
| google_fitness_api::AggregateBy::AggregateBy |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~AggregateBy()
| google_fitness_api::AggregateBy::~AggregateBy |
( |
| ) |
|
|
virtual |
◆ clear_data_source_id()
| void google_fitness_api::AggregateBy::clear_data_source_id |
( |
| ) |
|
|
inline |
Clears the 'dataSourceId' attribute.
◆ clear_data_type_name()
| void google_fitness_api::AggregateBy::clear_data_type_name |
( |
| ) |
|
|
inline |
Clears the 'dataTypeName' attribute.
◆ get_data_source_id()
| const StringPiece google_fitness_api::AggregateBy::get_data_source_id |
( |
| ) |
const |
|
inline |
Get the value of the 'dataSourceId' attribute.
◆ get_data_type_name()
| const StringPiece google_fitness_api::AggregateBy::get_data_type_name |
( |
| ) |
const |
|
inline |
Get the value of the 'dataTypeName' attribute.
◆ GetTypeName()
| const StringPiece google_fitness_api::AggregateBy::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_data_source_id()
| bool google_fitness_api::AggregateBy::has_data_source_id |
( |
| ) |
const |
|
inline |
Determine if the 'dataSourceId' attribute was set.
- Returns
- true if the '
dataSourceId' attribute was set.
◆ has_data_type_name()
| bool google_fitness_api::AggregateBy::has_data_type_name |
( |
| ) |
const |
|
inline |
Determine if the 'dataTypeName' attribute was set.
- Returns
- true if the '
dataTypeName' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_data_source_id()
| void google_fitness_api::AggregateBy::set_data_source_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'dataSourceId' attribute.
A data source ID to aggregate. Only data from the specified data source ID will be included in the aggregation. If specified, this data source must exist; the OAuth scopes in the supplied credentials must grant read access to this data type. The dataset in the response will have the same data source ID. Note: Data can be aggregated by either the dataTypeName or the dataSourceId, not both.
- Parameters
-
◆ set_data_type_name()
| void google_fitness_api::AggregateBy::set_data_type_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'dataTypeName' attribute.
The data type to aggregate. All data sources providing this data type will contribute data to the aggregation. The response will contain a single dataset for this data type name. The dataset will have a data source ID of derived::com.google.android.gms:aggregated. If the user has no data for this data type, an empty data set will be returned. Note: Data can be aggregated by either the dataTypeName or the dataSourceId, not both.
- Parameters
-
The documentation for this class was generated from the following files: