|
fitness
v1
|
#include <dataset.h>
Public Member Functions | |
| Dataset (const Json::Value &storage) | |
| Dataset (Json::Value *storage) | |
| virtual | ~Dataset () |
| const StringPiece | GetTypeName () const |
| bool | has_data_source_id () const |
| void | clear_data_source_id () |
| const StringPiece | get_data_source_id () const |
| void | set_data_source_id (const StringPiece &value) |
| bool | has_max_end_time_ns () const |
| void | clear_max_end_time_ns () |
| int64 | get_max_end_time_ns () const |
| void | set_max_end_time_ns (int64 value) |
| bool | has_min_start_time_ns () const |
| void | clear_min_start_time_ns () |
| int64 | get_min_start_time_ns () const |
| void | set_min_start_time_ns (int64 value) |
| bool | has_next_page_token () const |
| void | clear_next_page_token () |
| const StringPiece | get_next_page_token () const |
| void | set_next_page_token (const StringPiece &value) |
| bool | has_point () const |
| void | clear_point () |
| const client::JsonCppArray< DataPoint > | get_point () const |
| client::JsonCppArray< DataPoint > | mutable_point () |
Static Public Member Functions | |
| static Dataset * | New () |
A dataset represents a projection container for data points. They do not carry any info of their own. Datasets represent a set of data points from a particular data source. A data point can be found in more than one dataset.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'dataSourceId' attribute.
|
inline |
Clears the 'maxEndTimeNs' attribute.
|
inline |
Clears the 'minStartTimeNs' attribute.
|
inline |
Clears the 'nextPageToken' attribute.
|
inline |
Clears the 'point' attribute.
|
inline |
Get the value of the 'dataSourceId' attribute.
|
inline |
Get the value of the 'maxEndTimeNs' attribute.
|
inline |
Get the value of the 'minStartTimeNs' attribute.
|
inline |
Get the value of the 'nextPageToken' attribute.
| const client::JsonCppArray<DataPoint > google_fitness_api::Dataset::get_point | ( | ) | const |
Get a reference to the value of the 'point' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_fitness_api::Dataset
|
inline |
Determine if the 'dataSourceId' attribute was set.
dataSourceId' attribute was set.
|
inline |
Determine if the 'maxEndTimeNs' attribute was set.
maxEndTimeNs' attribute was set.
|
inline |
Determine if the 'minStartTimeNs' attribute was set.
minStartTimeNs' attribute was set.
|
inline |
Determine if the 'nextPageToken' attribute was set.
nextPageToken' attribute was set.
|
inline |
Determine if the 'point' attribute was set.
point' attribute was set. | client::JsonCppArray<DataPoint > google_fitness_api::Dataset::mutable_point | ( | ) |
Gets a reference to a mutable value of the 'point' property.
A partial list of data points contained in the dataset, ordered by largest endTimeNanos first. This list is considered complete when retrieving a small dataset and partial when patching a dataset or retrieving a dataset that is too large to include in a single response.
|
static |
Creates a new default instance.
|
inline |
Change the 'dataSourceId' attribute.
The data stream ID of the data source that created the points in this dataset.
| [in] | value | The new value. |
|
inline |
Change the 'maxEndTimeNs' attribute.
The largest end time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also match the second part of the dataset identifier.
| [in] | value | The new value. |
|
inline |
Change the 'minStartTimeNs' attribute.
The smallest start time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also match the first part of the dataset identifier.
| [in] | value | The new value. |
|
inline |
Change the 'nextPageToken' attribute.
This token will be set when a dataset is received in response to a GET request and the dataset is too large to be included in a single response. Provide this value in a subsequent GET request to return the next page of data points within this dataset.
| [in] | value | The new value. |