GData.TasksQuery

g GData.Query GData.Query GData.TasksQuery GData.TasksQuery GData.Query->GData.TasksQuery GObject.Object GObject.Object GObject.Object->GData.Query

Subclasses:

None

Methods

Inherited:

GData.Query (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (q)

get_completed_max ()

get_completed_min ()

get_due_max ()

get_due_min ()

get_show_completed ()

get_show_deleted ()

get_show_hidden ()

set_completed_max (completed_max)

set_completed_min (completed_min)

set_due_max (due_max)

set_due_min (due_min)

set_show_completed (show_completed)

set_show_deleted (show_deleted)

set_show_hidden (show_hidden)

Virtual Methods

Inherited:

GData.Query (1), GObject.Object (7)

Properties

Inherited:

GData.Query (11)

Name

Type

Flags

Short Description

completed-max

int

r/w

Upper bound for a task’s completion date to filter by.

completed-min

int

r/w

Lower bound for a task’s completion date to filter by.

due-max

int

r/w

Upper bound for a task’s completion date to filter by.

due-min

int

r/w

Lower bound for a task’s completion date to filter by.

show-completed

bool

r/w

Indicated whatever completed tasks are returned in the result.

show-deleted

bool

r/w

Indicated whatever deleted tasks are returned in the result.

show-hidden

bool

r/w

Indicated whatever hidden tasks are returned in the result.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GData.Query

r

Class Details

class GData.TasksQuery(**kwargs)
Bases:

GData.Query

Abstract:

No

Structure:

GData.TasksQueryClass

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:

q (str or None) – a query string, or None

Returns:

a new GData.TasksQuery

Return type:

GData.TasksQuery

Creates a new GData.TasksQuery. q is unused and must be set to None.

New in version 0.15.0.

get_completed_max()
Returns:

the UNIX timestamp for the completed-max property, or -1

Return type:

int

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:

int

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:

int

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:

int

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:

bool

Gets the GData.TasksQuery :show-completed property.

New in version 0.15.0.

get_show_deleted()
Returns:

the show-deleted property

Return type:

bool

Gets the GData.TasksQuery :show-deleted property.

New in version 0.15.0.

get_show_hidden()
Returns:

the show-hidden property

Return type:

bool

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 the GData.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 the GData.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 the GData.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 the GData.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)
Parameters:

show_completed (bool) – True to show completed tasks, False otherwise

Sets the GData.TasksQuery :show-completed property of the GData.TasksQuery.

New in version 0.15.0.

set_show_deleted(show_deleted)
Parameters:

show_deleted (bool) – True to show deleted tasks, False otherwise

Sets the GData.TasksQuery :show-deleted property of the GData.TasksQuery.

New in version 0.15.0.

set_show_hidden(show_hidden)
Parameters:

show_hidden (bool) – True to show hidden tasks, False otherwise

Sets the GData.TasksQuery :show-hidden property of the GData.TasksQuery.

New in version 0.15.0.

Property Details

GData.TasksQuery.props.completed_max
Name:

completed-max

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE

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
Name:

completed-min

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE

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
Name:

due-max

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE

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
Name:

due-min

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE

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
Name:

show-completed

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Flag indicating whether completed tasks are returned in the result. Optional. The default is False.

New in version 0.15.0.

GData.TasksQuery.props.show_deleted
Name:

show-deleted

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Flag indicating whether deleted tasks are returned in the result. Optional. The default is False.

New in version 0.15.0.

GData.TasksQuery.props.show_hidden
Name:

show-hidden

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Flag indicating whether hidden tasks are returned in the result. Optional. The default is False.

New in version 0.15.0.