#include <task.h>
◆ Task() [1/2]
| google_tasks_api::Task::Task |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ Task() [2/2]
| google_tasks_api::Task::Task |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~Task()
| google_tasks_api::Task::~Task |
( |
| ) |
|
|
virtual |
◆ clear_completed()
| void google_tasks_api::Task::clear_completed |
( |
| ) |
|
|
inline |
Clears the 'completed' attribute.
◆ clear_deleted()
| void google_tasks_api::Task::clear_deleted |
( |
| ) |
|
|
inline |
Clears the 'deleted' attribute.
◆ clear_due()
| void google_tasks_api::Task::clear_due |
( |
| ) |
|
|
inline |
Clears the 'due' attribute.
◆ clear_etag()
| void google_tasks_api::Task::clear_etag |
( |
| ) |
|
|
inline |
Clears the 'etag' attribute.
◆ clear_hidden()
| void google_tasks_api::Task::clear_hidden |
( |
| ) |
|
|
inline |
Clears the 'hidden' attribute.
◆ clear_id()
| void google_tasks_api::Task::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id' attribute.
◆ clear_kind()
| void google_tasks_api::Task::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_links()
| void google_tasks_api::Task::clear_links |
( |
| ) |
|
|
inline |
Clears the 'links' attribute.
◆ clear_notes()
| void google_tasks_api::Task::clear_notes |
( |
| ) |
|
|
inline |
Clears the 'notes' attribute.
◆ clear_parent()
| void google_tasks_api::Task::clear_parent |
( |
| ) |
|
|
inline |
Clears the 'parent' attribute.
◆ clear_position()
| void google_tasks_api::Task::clear_position |
( |
| ) |
|
|
inline |
Clears the 'position' attribute.
◆ clear_self_link()
| void google_tasks_api::Task::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink' attribute.
◆ clear_status()
| void google_tasks_api::Task::clear_status |
( |
| ) |
|
|
inline |
Clears the 'status' attribute.
◆ clear_title()
| void google_tasks_api::Task::clear_title |
( |
| ) |
|
|
inline |
Clears the 'title' attribute.
◆ clear_updated()
| void google_tasks_api::Task::clear_updated |
( |
| ) |
|
|
inline |
Clears the 'updated' attribute.
◆ get_completed()
| client::DateTime google_tasks_api::Task::get_completed |
( |
| ) |
const |
|
inline |
Get the value of the 'completed' attribute.
◆ get_deleted()
| bool google_tasks_api::Task::get_deleted |
( |
| ) |
const |
|
inline |
Get the value of the 'deleted' attribute.
◆ get_due()
| client::DateTime google_tasks_api::Task::get_due |
( |
| ) |
const |
|
inline |
Get the value of the 'due' attribute.
◆ get_etag()
| const StringPiece google_tasks_api::Task::get_etag |
( |
| ) |
const |
|
inline |
Get the value of the 'etag' attribute.
◆ get_hidden()
| bool google_tasks_api::Task::get_hidden |
( |
| ) |
const |
|
inline |
Get the value of the 'hidden' attribute.
◆ get_id()
| const StringPiece google_tasks_api::Task::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id' attribute.
◆ get_kind()
| const StringPiece google_tasks_api::Task::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_links()
| const client::JsonCppArray<TaskLinks > google_tasks_api::Task::get_links |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'links' attribute.
◆ get_notes()
| const StringPiece google_tasks_api::Task::get_notes |
( |
| ) |
const |
|
inline |
Get the value of the 'notes' attribute.
◆ get_parent()
| const StringPiece google_tasks_api::Task::get_parent |
( |
| ) |
const |
|
inline |
Get the value of the 'parent' attribute.
◆ get_position()
| const StringPiece google_tasks_api::Task::get_position |
( |
| ) |
const |
|
inline |
Get the value of the 'position' attribute.
◆ get_self_link()
| const StringPiece google_tasks_api::Task::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink' attribute.
◆ get_status()
| const StringPiece google_tasks_api::Task::get_status |
( |
| ) |
const |
|
inline |
Get the value of the 'status' attribute.
◆ get_title()
| const StringPiece google_tasks_api::Task::get_title |
( |
| ) |
const |
|
inline |
Get the value of the 'title' attribute.
◆ get_updated()
| client::DateTime google_tasks_api::Task::get_updated |
( |
| ) |
const |
|
inline |
Get the value of the 'updated' attribute.
◆ GetTypeName()
| const StringPiece google_tasks_api::Task::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_completed()
| bool google_tasks_api::Task::has_completed |
( |
| ) |
const |
|
inline |
Determine if the 'completed' attribute was set.
- Returns
- true if the '
completed' attribute was set.
◆ has_deleted()
| bool google_tasks_api::Task::has_deleted |
( |
| ) |
const |
|
inline |
Determine if the 'deleted' attribute was set.
- Returns
- true if the '
deleted' attribute was set.
◆ has_due()
| bool google_tasks_api::Task::has_due |
( |
| ) |
const |
|
inline |
Determine if the 'due' attribute was set.
- Returns
- true if the '
due' attribute was set.
◆ has_etag()
| bool google_tasks_api::Task::has_etag |
( |
| ) |
const |
|
inline |
Determine if the 'etag' attribute was set.
- Returns
- true if the '
etag' attribute was set.
◆ has_hidden()
| bool google_tasks_api::Task::has_hidden |
( |
| ) |
const |
|
inline |
Determine if the 'hidden' attribute was set.
- Returns
- true if the '
hidden' attribute was set.
◆ has_id()
| bool google_tasks_api::Task::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id' attribute was set.
- Returns
- true if the '
id' attribute was set.
◆ has_kind()
| bool google_tasks_api::Task::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_links()
| bool google_tasks_api::Task::has_links |
( |
| ) |
const |
|
inline |
Determine if the 'links' attribute was set.
- Returns
- true if the '
links' attribute was set.
◆ has_notes()
| bool google_tasks_api::Task::has_notes |
( |
| ) |
const |
|
inline |
Determine if the 'notes' attribute was set.
- Returns
- true if the '
notes' attribute was set.
◆ has_parent()
| bool google_tasks_api::Task::has_parent |
( |
| ) |
const |
|
inline |
Determine if the 'parent' attribute was set.
- Returns
- true if the '
parent' attribute was set.
◆ has_position()
| bool google_tasks_api::Task::has_position |
( |
| ) |
const |
|
inline |
Determine if the 'position' attribute was set.
- Returns
- true if the '
position' attribute was set.
◆ has_self_link()
| bool google_tasks_api::Task::has_self_link |
( |
| ) |
const |
|
inline |
Determine if the 'selfLink' attribute was set.
- Returns
- true if the '
selfLink' attribute was set.
◆ has_status()
| bool google_tasks_api::Task::has_status |
( |
| ) |
const |
|
inline |
Determine if the 'status' attribute was set.
- Returns
- true if the '
status' attribute was set.
◆ has_title()
| bool google_tasks_api::Task::has_title |
( |
| ) |
const |
|
inline |
Determine if the 'title' attribute was set.
- Returns
- true if the '
title' attribute was set.
◆ has_updated()
| bool google_tasks_api::Task::has_updated |
( |
| ) |
const |
|
inline |
Determine if the 'updated' attribute was set.
- Returns
- true if the '
updated' attribute was set.
◆ mutable_links()
| client::JsonCppArray<TaskLinks > google_tasks_api::Task::mutable_links |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'links' property.
Collection of links. This collection is read-only.
- Returns
- The result can be modified to change the attribute value.
◆ New()
| Task * google_tasks_api::Task::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_completed()
| void google_tasks_api::Task::set_completed |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'completed' attribute.
Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
- Parameters
-
◆ set_deleted()
| void google_tasks_api::Task::set_deleted |
( |
bool |
value | ) |
|
|
inline |
Change the 'deleted' attribute.
Flag indicating whether the task has been deleted. The default if False.
- Parameters
-
◆ set_due()
| void google_tasks_api::Task::set_due |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'due' attribute.
Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API.
- Parameters
-
◆ set_etag()
| void google_tasks_api::Task::set_etag |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'etag' attribute.
ETag of the resource.
- Parameters
-
◆ set_hidden()
| void google_tasks_api::Task::set_hidden |
( |
bool |
value | ) |
|
|
inline |
Change the 'hidden' attribute.
Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is read-only.
- Parameters
-
◆ set_id()
| void google_tasks_api::Task::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id' attribute.
Task identifier.
- Parameters
-
◆ set_kind()
| void google_tasks_api::Task::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
Type of the resource. This is always "tasks#task".
- Parameters
-
◆ set_notes()
| void google_tasks_api::Task::set_notes |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'notes' attribute.
Notes describing the task. Optional.
- Parameters
-
◆ set_parent()
| void google_tasks_api::Task::set_parent |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'parent' attribute.
Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level.
- Parameters
-
◆ set_position()
| void google_tasks_api::Task::set_position |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'position' attribute.
String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position.
- Parameters
-
◆ set_self_link()
| void google_tasks_api::Task::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink' attribute.
URL pointing to this task. Used to retrieve, update, or delete this task.
- Parameters
-
◆ set_status()
| void google_tasks_api::Task::set_status |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'status' attribute.
Status of the task. This is either "needsAction" or "completed".
- Parameters
-
◆ set_title()
| void google_tasks_api::Task::set_title |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'title' attribute.
Title of the task.
- Parameters
-
◆ set_updated()
| void google_tasks_api::Task::set_updated |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'updated' attribute.
Last modification time of the task (as a RFC 3339 timestamp).
- Parameters
-
The documentation for this class was generated from the following files:
- google/tasks_api/task.h
- google/tasks_api/task.cc