tasks  v1
Public Member Functions | Static Public Member Functions | List of all members
google_tasks_api::Task::TaskLinks Class Reference

#include <task.h>

Inheritance diagram for google_tasks_api::Task::TaskLinks:

Public Member Functions

 TaskLinks (const Json::Value &storage)
 
 TaskLinks (Json::Value *storage)
 
virtual ~TaskLinks ()
 
const StringPiece GetTypeName () const
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_link () const
 
void clear_link ()
 
const StringPiece get_link () const
 
void set_link (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static TaskLinksNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ TaskLinks() [1/2]

google_tasks_api::Task::TaskLinks::TaskLinks ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ TaskLinks() [2/2]

google_tasks_api::Task::TaskLinks::TaskLinks ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~TaskLinks()

google_tasks_api::Task::TaskLinks::~TaskLinks ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_description()

void google_tasks_api::Task::TaskLinks::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_link()

void google_tasks_api::Task::TaskLinks::clear_link ( )
inline

Clears the 'link' attribute.

◆ clear_type()

void google_tasks_api::Task::TaskLinks::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_description()

const StringPiece google_tasks_api::Task::TaskLinks::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_link()

const StringPiece google_tasks_api::Task::TaskLinks::get_link ( ) const
inline

Get the value of the 'link' attribute.

◆ get_type()

const StringPiece google_tasks_api::Task::TaskLinks::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

const StringPiece google_tasks_api::Task::TaskLinks::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_tasks_api::TaskLinks

◆ has_description()

bool google_tasks_api::Task::TaskLinks::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_link()

bool google_tasks_api::Task::TaskLinks::has_link ( ) const
inline

Determine if the 'link' attribute was set.

Returns
true if the 'link' attribute was set.

◆ has_type()

bool google_tasks_api::Task::TaskLinks::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ New()

Task::TaskLinks * google_tasks_api::Task::TaskLinks::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_description()

void google_tasks_api::Task::TaskLinks::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

The description. In HTML speak: Everything between and .

Parameters
[in]valueThe new value.

◆ set_link()

void google_tasks_api::Task::TaskLinks::set_link ( const StringPiece &  value)
inline

Change the 'link' attribute.

The URL.

Parameters
[in]valueThe new value.

◆ set_type()

void google_tasks_api::Task::TaskLinks::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

Type of the link, e.g. "email".

Parameters
[in]valueThe new value.

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