fitness  v1
Public Member Functions | Static Public Member Functions | List of all members
google_fitness_api::Application Class Reference

#include <application.h>

Inheritance diagram for google_fitness_api::Application:

Public Member Functions

 Application (const Json::Value &storage)
 
 Application (Json::Value *storage)
 
virtual ~Application ()
 
const StringPiece GetTypeName () const
 
bool has_details_url () const
 
void clear_details_url ()
 
const StringPiece get_details_url () const
 
void set_details_url (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_package_name () const
 
void clear_package_name ()
 
const StringPiece get_package_name () const
 
void set_package_name (const StringPiece &value)
 
bool has_version () const
 
void clear_version ()
 
const StringPiece get_version () const
 
void set_version (const StringPiece &value)
 

Static Public Member Functions

static ApplicationNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ Application() [1/2]

google_fitness_api::Application::Application ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~Application()

google_fitness_api::Application::~Application ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_fitness_api::Application

◆ 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()

Application * google_fitness_api::Application::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: