GData.TasksQuery¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Upper bound for a task’s completion date to filter by. |
||
r/w |
Lower bound for a task’s completion date to filter by. |
||
r/w |
Upper bound for a task’s completion date to filter by. |
||
r/w |
Lower bound for a task’s completion date to filter by. |
||
r/w |
Indicated whatever completed tasks are returned in the result. |
||
r/w |
Indicated whatever deleted tasks are returned in the result. |
||
r/w |
Indicated whatever hidden tasks are returned in the result. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GData.TasksQuery(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
GData.TasksQuery
structure are private and should never be accessed directly.New in version 0.15.0.
- classmethod new(q)¶
- Parameters:
- Returns:
a new
GData.TasksQuery
- Return type:
Creates a new
GData.TasksQuery
. q is unused and must be set toNone
.New in version 0.15.0.
- get_completed_max()¶
- Returns:
the UNIX timestamp for the completed-max property, or -1
- Return type:
Gets the
GData.TasksQuery
:completed-max
property. If the property is unset, -1 will be returned.New in version 0.15.0.
- get_completed_min()¶
- Returns:
the UNIX timestamp for the completed-min property, or -1
- Return type:
Gets the
GData.TasksQuery
:completed-min
property. If the property is unset, -1 will be returned.New in version 0.15.0.
- get_due_max()¶
- Returns:
the UNIX timestamp for the due-max property, or -1
- Return type:
Gets the
GData.TasksQuery
:due-max
property. If the property is unset, -1 will be returned.New in version 0.15.0.
- get_due_min()¶
- Returns:
the UNIX timestamp for the due-min property, or -1
- Return type:
Gets the
GData.TasksQuery
:due-min
property. If the property is unset, -1 will be returned.New in version 0.15.0.
- get_show_completed()¶
- Returns:
the show-completed property
- Return type:
Gets the
GData.TasksQuery
:show-completed
property.New in version 0.15.0.
- get_show_deleted()¶
- Returns:
the show-deleted property
- Return type:
Gets the
GData.TasksQuery
:show-deleted
property.New in version 0.15.0.
- Returns:
the show-hidden property
- Return type:
Gets the
GData.TasksQuery
:show-hidden
property.New in version 0.15.0.
- set_completed_max(completed_max)¶
- Parameters:
completed_max (
int
) – upper bound for a task’s completion date by UNIX timestamp, or -1
Sets the
GData.TasksQuery
:completed-max
property of theGData.TasksQuery
to the new time/date, completed_max.Set completed_max to -1 to unset the property in the query URI.
New in version 0.15.0.
- set_completed_min(completed_min)¶
- Parameters:
completed_min (
int
) – lower bound for a task’s completion date by UNIX timestamp, or -1
Sets the
GData.TasksQuery
:completed-min
property of theGData.TasksQuery
to the new time/date, completed_min.Set completed_min to -1 to unset the property in the query URI.
New in version 0.15.0.
- set_due_max(due_max)¶
- Parameters:
due_max (
int
) – upper bound for a task’s due date by UNIX timestamp, or -1
Sets the
GData.TasksQuery
:due-max
property of theGData.TasksQuery
to the new time/date, due_max.Set due_max to -1 to unset the property in the query URI.
New in version 0.15.0.
- set_due_min(due_min)¶
- Parameters:
due_min (
int
) – lower bound for a task’s due date by UNIX timestamp, or -1
Sets the
GData.TasksQuery
:due-min
property of theGData.TasksQuery
to the new time/date, due_min.Set due_min to -1 to unset the property in the query URI.
New in version 0.15.0.
- set_show_completed(show_completed)¶
-
Sets the
GData.TasksQuery
:show-completed
property of theGData.TasksQuery
.New in version 0.15.0.
- set_show_deleted(show_deleted)¶
-
Sets the
GData.TasksQuery
:show-deleted
property of theGData.TasksQuery
.New in version 0.15.0.
-
Sets the
GData.TasksQuery
:show-hidden
property of theGData.TasksQuery
.New in version 0.15.0.
Property Details¶
- GData.TasksQuery.props.completed_max¶
-
Upper bound for a task’s completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
New in version 0.15.0.
- GData.TasksQuery.props.completed_min¶
-
Lower bound for a task’s completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
New in version 0.15.0.
- GData.TasksQuery.props.due_max¶
-
Upper bound for a task’s due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
New in version 0.15.0.
- GData.TasksQuery.props.due_min¶
-
Lower bound for a task’s due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
New in version 0.15.0.
- GData.TasksQuery.props.show_completed¶
-
Flag indicating whether completed tasks are returned in the result. Optional. The default is
False
.New in version 0.15.0.