#include <aggregate_request.h>
◆ AggregateRequest() [1/2]
| google_fitness_api::AggregateRequest::AggregateRequest |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ AggregateRequest() [2/2]
| google_fitness_api::AggregateRequest::AggregateRequest |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~AggregateRequest()
| google_fitness_api::AggregateRequest::~AggregateRequest |
( |
| ) |
|
|
virtual |
◆ clear_aggregate_by()
| void google_fitness_api::AggregateRequest::clear_aggregate_by |
( |
| ) |
|
|
inline |
Clears the 'aggregateBy' attribute.
◆ clear_bucket_by_activity_segment()
| void google_fitness_api::AggregateRequest::clear_bucket_by_activity_segment |
( |
| ) |
|
|
inline |
Clears the 'bucketByActivitySegment' attribute.
◆ clear_bucket_by_activity_type()
| void google_fitness_api::AggregateRequest::clear_bucket_by_activity_type |
( |
| ) |
|
|
inline |
Clears the 'bucketByActivityType' attribute.
◆ clear_bucket_by_session()
| void google_fitness_api::AggregateRequest::clear_bucket_by_session |
( |
| ) |
|
|
inline |
Clears the 'bucketBySession' attribute.
◆ clear_bucket_by_time()
| void google_fitness_api::AggregateRequest::clear_bucket_by_time |
( |
| ) |
|
|
inline |
Clears the 'bucketByTime' attribute.
◆ clear_end_time_millis()
| void google_fitness_api::AggregateRequest::clear_end_time_millis |
( |
| ) |
|
|
inline |
Clears the 'endTimeMillis' attribute.
◆ clear_filtered_data_quality_standard()
| void google_fitness_api::AggregateRequest::clear_filtered_data_quality_standard |
( |
| ) |
|
|
inline |
Clears the 'filteredDataQualityStandard' attribute.
◆ clear_start_time_millis()
| void google_fitness_api::AggregateRequest::clear_start_time_millis |
( |
| ) |
|
|
inline |
Clears the 'startTimeMillis' attribute.
◆ get_aggregate_by()
| const client::JsonCppArray<AggregateBy > google_fitness_api::AggregateRequest::get_aggregate_by |
( |
| ) |
const |
Get a reference to the value of the 'aggregateBy' attribute.
◆ get_bucket_by_activity_segment()
| const BucketByActivity google_fitness_api::AggregateRequest::get_bucket_by_activity_segment |
( |
| ) |
const |
Get a reference to the value of the 'bucketByActivitySegment' attribute.
◆ get_bucket_by_activity_type()
| const BucketByActivity google_fitness_api::AggregateRequest::get_bucket_by_activity_type |
( |
| ) |
const |
Get a reference to the value of the 'bucketByActivityType' attribute.
◆ get_bucket_by_session()
| const BucketBySession google_fitness_api::AggregateRequest::get_bucket_by_session |
( |
| ) |
const |
Get a reference to the value of the 'bucketBySession' attribute.
◆ get_bucket_by_time()
| const BucketByTime google_fitness_api::AggregateRequest::get_bucket_by_time |
( |
| ) |
const |
Get a reference to the value of the 'bucketByTime' attribute.
◆ get_end_time_millis()
| int64 google_fitness_api::AggregateRequest::get_end_time_millis |
( |
| ) |
const |
|
inline |
Get the value of the 'endTimeMillis' attribute.
◆ get_filtered_data_quality_standard()
| const client::JsonCppArray<string > google_fitness_api::AggregateRequest::get_filtered_data_quality_standard |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'filteredDataQualityStandard' attribute.
◆ get_start_time_millis()
| int64 google_fitness_api::AggregateRequest::get_start_time_millis |
( |
| ) |
const |
|
inline |
Get the value of the 'startTimeMillis' attribute.
◆ GetTypeName()
| const StringPiece google_fitness_api::AggregateRequest::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_aggregate_by()
| bool google_fitness_api::AggregateRequest::has_aggregate_by |
( |
| ) |
const |
|
inline |
Determine if the 'aggregateBy' attribute was set.
- Returns
- true if the '
aggregateBy' attribute was set.
◆ has_bucket_by_activity_segment()
| bool google_fitness_api::AggregateRequest::has_bucket_by_activity_segment |
( |
| ) |
const |
|
inline |
Determine if the 'bucketByActivitySegment' attribute was set.
- Returns
- true if the '
bucketByActivitySegment' attribute was set.
◆ has_bucket_by_activity_type()
| bool google_fitness_api::AggregateRequest::has_bucket_by_activity_type |
( |
| ) |
const |
|
inline |
Determine if the 'bucketByActivityType' attribute was set.
- Returns
- true if the '
bucketByActivityType' attribute was set.
◆ has_bucket_by_session()
| bool google_fitness_api::AggregateRequest::has_bucket_by_session |
( |
| ) |
const |
|
inline |
Determine if the 'bucketBySession' attribute was set.
- Returns
- true if the '
bucketBySession' attribute was set.
◆ has_bucket_by_time()
| bool google_fitness_api::AggregateRequest::has_bucket_by_time |
( |
| ) |
const |
|
inline |
Determine if the 'bucketByTime' attribute was set.
- Returns
- true if the '
bucketByTime' attribute was set.
◆ has_end_time_millis()
| bool google_fitness_api::AggregateRequest::has_end_time_millis |
( |
| ) |
const |
|
inline |
Determine if the 'endTimeMillis' attribute was set.
- Returns
- true if the '
endTimeMillis' attribute was set.
◆ has_filtered_data_quality_standard()
| bool google_fitness_api::AggregateRequest::has_filtered_data_quality_standard |
( |
| ) |
const |
|
inline |
Determine if the 'filteredDataQualityStandard' attribute was set.
- Returns
- true if the '
filteredDataQualityStandard' attribute was set.
◆ has_start_time_millis()
| bool google_fitness_api::AggregateRequest::has_start_time_millis |
( |
| ) |
const |
|
inline |
Determine if the 'startTimeMillis' attribute was set.
- Returns
- true if the '
startTimeMillis' attribute was set.
◆ mutable_aggregateBy()
| client::JsonCppArray<AggregateBy > google_fitness_api::AggregateRequest::mutable_aggregateBy |
( |
| ) |
|
Gets a reference to a mutable value of the 'aggregateBy' property.
The specification of data to be aggregated. At least one aggregateBy spec must be provided. All data that is specified will be aggregated using the same bucketing criteria. There will be one dataset in the response for every aggregateBy spec.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_bucketByActivitySegment()
| BucketByActivity google_fitness_api::AggregateRequest::mutable_bucketByActivitySegment |
( |
| ) |
|
Gets a reference to a mutable value of the 'bucketByActivitySegment' property.
Specifies that data be aggregated each activity segment recored for a user. Similar to bucketByActivitySegment, but bucketing is done for each activity segment rather than all segments of the same type. Mutually exclusive of other bucketing specifications.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_bucketByActivityType()
| BucketByActivity google_fitness_api::AggregateRequest::mutable_bucketByActivityType |
( |
| ) |
|
Gets a reference to a mutable value of the 'bucketByActivityType' property.
Specifies that data be aggregated by the type of activity being performed when the data was recorded. All data that was recorded during a certain activity type (for the given time range) will be aggregated into the same bucket. Data that was recorded while the user was not active will not be included in the response. Mutually exclusive of other bucketing specifications.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_bucketBySession()
| BucketBySession google_fitness_api::AggregateRequest::mutable_bucketBySession |
( |
| ) |
|
Gets a reference to a mutable value of the 'bucketBySession' property.
Specifies that data be aggregated by user sessions. Data that does not fall within the time range of a session will not be included in the response. Mutually exclusive of other bucketing specifications.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_bucketByTime()
| BucketByTime google_fitness_api::AggregateRequest::mutable_bucketByTime |
( |
| ) |
|
Gets a reference to a mutable value of the 'bucketByTime' property.
Specifies that data be aggregated by a single time interval. Mutually exclusive of other bucketing specifications.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_filteredDataQualityStandard()
| client::JsonCppArray<string > google_fitness_api::AggregateRequest::mutable_filteredDataQualityStandard |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'filteredDataQualityStandard' property.
DO NOT POPULATE THIS FIELD. It is ignored.
- 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_end_time_millis()
| void google_fitness_api::AggregateRequest::set_end_time_millis |
( |
int64 |
value | ) |
|
|
inline |
Change the 'endTimeMillis' attribute.
The end of a window of time. Data that intersects with this time window will be aggregated. The time is in milliseconds since epoch, inclusive.
- Parameters
-
◆ set_start_time_millis()
| void google_fitness_api::AggregateRequest::set_start_time_millis |
( |
int64 |
value | ) |
|
|
inline |
Change the 'startTimeMillis' attribute.
The start of a window of time. Data that intersects with this time window will be aggregated. The time is in milliseconds since epoch, inclusive.
- Parameters
-
The documentation for this class was generated from the following files: