#include <application.h>
◆ Application() [1/2]
| google_fitness_api::Application::Application |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ Application() [2/2]
| google_fitness_api::Application::Application |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~Application()
| google_fitness_api::Application::~Application |
( |
| ) |
|
|
virtual |
◆ clear_details_url()
| void google_fitness_api::Application::clear_details_url |
( |
| ) |
|
|
inline |
Clears the 'detailsUrl' attribute.
◆ clear_name()
| void google_fitness_api::Application::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name' attribute.
◆ clear_package_name()
| void google_fitness_api::Application::clear_package_name |
( |
| ) |
|
|
inline |
Clears the 'packageName' attribute.
◆ clear_version()
| void google_fitness_api::Application::clear_version |
( |
| ) |
|
|
inline |
Clears the 'version' attribute.
◆ get_details_url()
| const StringPiece google_fitness_api::Application::get_details_url |
( |
| ) |
const |
|
inline |
Get the value of the 'detailsUrl' attribute.
◆ get_name()
| const StringPiece google_fitness_api::Application::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name' attribute.
◆ get_package_name()
| const StringPiece google_fitness_api::Application::get_package_name |
( |
| ) |
const |
|
inline |
Get the value of the 'packageName' attribute.
◆ get_version()
| const StringPiece google_fitness_api::Application::get_version |
( |
| ) |
const |
|
inline |
Get the value of the 'version' attribute.
◆ GetTypeName()
| const StringPiece google_fitness_api::Application::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_details_url()
| bool google_fitness_api::Application::has_details_url |
( |
| ) |
const |
|
inline |
Determine if the 'detailsUrl' attribute was set.
- Returns
- true if the '
detailsUrl' attribute was set.
◆ has_name()
| bool google_fitness_api::Application::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name' attribute was set.
- Returns
- true if the '
name' attribute was set.
◆ has_package_name()
| bool google_fitness_api::Application::has_package_name |
( |
| ) |
const |
|
inline |
Determine if the 'packageName' attribute was set.
- Returns
- true if the '
packageName' attribute was set.
◆ has_version()
| bool google_fitness_api::Application::has_version |
( |
| ) |
const |
|
inline |
Determine if the 'version' attribute was set.
- Returns
- true if the '
version' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_details_url()
| void google_fitness_api::Application::set_details_url |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'detailsUrl' attribute.
An optional URI that can be used to link back to the application.
- Parameters
-
◆ set_name()
| void google_fitness_api::Application::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name' attribute.
The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source.
- Parameters
-
◆ set_package_name()
| void google_fitness_api::Application::set_package_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'packageName' attribute.
Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName.
- Parameters
-
◆ set_version()
| void google_fitness_api::Application::set_version |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'version' attribute.
Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data.
- Parameters
-
The documentation for this class was generated from the following files:
- google/fitness_api/application.h
- google/fitness_api/application.cc