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

#include <list_sessions_response.h>

Inheritance diagram for google_fitness_api::ListSessionsResponse:

Public Member Functions

 ListSessionsResponse (const Json::Value &storage)
 
 ListSessionsResponse (Json::Value *storage)
 
virtual ~ListSessionsResponse ()
 
const StringPiece GetTypeName () const
 
bool has_deleted_session () const
 
void clear_deleted_session ()
 
const client::JsonCppArray< Sessionget_deleted_session () const
 
client::JsonCppArray< Sessionmutable_deletedSession ()
 
bool has_has_more_data () const
 
void clear_has_more_data ()
 
bool get_has_more_data () const
 
void set_has_more_data (bool 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_session () const
 
void clear_session ()
 
const client::JsonCppArray< Sessionget_session () const
 
client::JsonCppArray< Sessionmutable_session ()
 

Static Public Member Functions

static ListSessionsResponseNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ ListSessionsResponse() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ListSessionsResponse() [2/2]

google_fitness_api::ListSessionsResponse::ListSessionsResponse ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~ListSessionsResponse()

google_fitness_api::ListSessionsResponse::~ListSessionsResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_deleted_session()

void google_fitness_api::ListSessionsResponse::clear_deleted_session ( )
inline

Clears the 'deletedSession' attribute.

◆ clear_has_more_data()

void google_fitness_api::ListSessionsResponse::clear_has_more_data ( )
inline

Clears the 'hasMoreData' attribute.

◆ clear_next_page_token()

void google_fitness_api::ListSessionsResponse::clear_next_page_token ( )
inline

Clears the 'nextPageToken' attribute.

◆ clear_session()

void google_fitness_api::ListSessionsResponse::clear_session ( )
inline

Clears the 'session' attribute.

◆ get_deleted_session()

const client::JsonCppArray<Session > google_fitness_api::ListSessionsResponse::get_deleted_session ( ) const

Get a reference to the value of the 'deletedSession' attribute.

◆ get_has_more_data()

bool google_fitness_api::ListSessionsResponse::get_has_more_data ( ) const
inline

Get the value of the 'hasMoreData' attribute.

◆ get_next_page_token()

const StringPiece google_fitness_api::ListSessionsResponse::get_next_page_token ( ) const
inline

Get the value of the 'nextPageToken' attribute.

◆ get_session()

const client::JsonCppArray<Session > google_fitness_api::ListSessionsResponse::get_session ( ) const

Get a reference to the value of the 'session' attribute.

◆ GetTypeName()

const StringPiece google_fitness_api::ListSessionsResponse::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_fitness_api::ListSessionsResponse

◆ has_deleted_session()

bool google_fitness_api::ListSessionsResponse::has_deleted_session ( ) const
inline

Determine if the 'deletedSession' attribute was set.

Returns
true if the 'deletedSession' attribute was set.

◆ has_has_more_data()

bool google_fitness_api::ListSessionsResponse::has_has_more_data ( ) const
inline

Determine if the 'hasMoreData' attribute was set.

Returns
true if the 'hasMoreData' attribute was set.

◆ has_next_page_token()

bool google_fitness_api::ListSessionsResponse::has_next_page_token ( ) const
inline

Determine if the 'nextPageToken' attribute was set.

Returns
true if the 'nextPageToken' attribute was set.

◆ has_session()

bool google_fitness_api::ListSessionsResponse::has_session ( ) const
inline

Determine if the 'session' attribute was set.

Returns
true if the 'session' attribute was set.

◆ mutable_deletedSession()

client::JsonCppArray<Session > google_fitness_api::ListSessionsResponse::mutable_deletedSession ( )

Gets a reference to a mutable value of the 'deletedSession' property.

If includeDeleted is set to true in the request, this list will contain sessions deleted with original end times that are within the startTime and endTime frame.

Returns
The result can be modified to change the attribute value.

◆ mutable_session()

client::JsonCppArray<Session > google_fitness_api::ListSessionsResponse::mutable_session ( )

Gets a reference to a mutable value of the 'session' property.

Sessions with an end time that is between startTime and endTime of the request.

Returns
The result can be modified to change the attribute value.

◆ New()

ListSessionsResponse * google_fitness_api::ListSessionsResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_has_more_data()

void google_fitness_api::ListSessionsResponse::set_has_more_data ( bool  value)
inline

Change the 'hasMoreData' attribute.

Flag to indicate server has more data to transfer.

Parameters
[in]valueThe new value.

◆ set_next_page_token()

void google_fitness_api::ListSessionsResponse::set_next_page_token ( const StringPiece &  value)
inline

Change the 'nextPageToken' attribute.

The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

Parameters
[in]valueThe new value.

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