Top | Description | Object Hierarchy | Properties | ![]() |
![]() |
![]() |
![]() |
#include <gdata/services/tasks/gdata-tasks-query.h> GDataTasksQuery; GDataTasksQueryClass; GDataTasksQuery * gdata_tasks_query_new (const gchar *q
); gint64 gdata_tasks_query_get_completed_max (GDataTasksQuery *self
); void gdata_tasks_query_set_completed_max (GDataTasksQuery *self
,gint64 completed_max
); gint64 gdata_tasks_query_get_completed_min (GDataTasksQuery *self
); void gdata_tasks_query_set_completed_min (GDataTasksQuery *self
,gint64 completed_min
); gint64 gdata_tasks_query_get_due_max (GDataTasksQuery *self
); void gdata_tasks_query_set_due_max (GDataTasksQuery *self
,gint64 due_max
); gint64 gdata_tasks_query_get_due_min (GDataTasksQuery *self
); void gdata_tasks_query_set_due_min (GDataTasksQuery *self
,gint64 due_min
); gboolean gdata_tasks_query_get_show_completed (GDataTasksQuery *self
); void gdata_tasks_query_set_show_completed (GDataTasksQuery *self
,gboolean show_completed
); gboolean gdata_tasks_query_get_show_deleted (GDataTasksQuery *self
); void gdata_tasks_query_set_show_deleted (GDataTasksQuery *self
,gboolean show_deleted
); gboolean gdata_tasks_query_get_show_hidden (GDataTasksQuery *self
); void gdata_tasks_query_set_show_hidden (GDataTasksQuery *self
,gboolean show_hidden
);
"completed-max" gint64 : Read / Write "completed-min" gint64 : Read / Write "due-max" gint64 : Read / Write "due-min" gint64 : Read / Write "show-completed" gboolean : Read / Write "show-deleted" gboolean : Read / Write "show-hidden" gboolean : Read / Write
GDataTasksQuery represents a collection of query parameters specific to the Google Tasks service, which go above and beyond those catered for by GDataQuery.
For more details of Google Tasks API, see the online documentation.
typedef struct _GDataTasksQuery GDataTasksQuery;
All the fields in the GDataTasksQuery structure are private and should never be accessed directly.
Since UNRELEASED
typedef struct { } GDataTasksQueryClass;
All the fields in the GDataTasksQueryClass structure are private and should never be accessed directly.
Since UNRELEASED
GDataTasksQuery * gdata_tasks_query_new (const gchar *q
);
Creates a new GDataTasksQuery with its "q" property set to q
.
|
a query string, or NULL . [allow-none]
|
Returns : |
a new GDataTasksQuery |
Since UNRELEASED
gint64 gdata_tasks_query_get_completed_max (GDataTasksQuery *self
);
Gets the "completed-max" property. If the property is unset, -1
will be returned.
|
a GDataTasksQuery |
Returns : |
the UNIX timestamp for the completed-max property, or -1
|
Since UNRELEASED
void gdata_tasks_query_set_completed_max (GDataTasksQuery *self
,gint64 completed_max
);
Sets the "completed-max" property of the GDataTasksQuery
to the new time/date, completed_max
.
Set completed_max
to -1
to unset the property in the query URI.
|
a GDataTasksQuery |
|
upper bound for a task's completion date by UNIX timestamp, or -1
|
Since UNRELEASED
gint64 gdata_tasks_query_get_completed_min (GDataTasksQuery *self
);
Gets the "completed-min" property. If the property is unset, -1
will be returned.
|
a GDataTasksQuery |
Returns : |
the UNIX timestamp for the completed-min property, or -1
|
Since UNRELEASED
void gdata_tasks_query_set_completed_min (GDataTasksQuery *self
,gint64 completed_min
);
Sets the "completed-min" property of the GDataTasksQuery
to the new time/date, completed_min
.
Set completed_min
to -1
to unset the property in the query URI.
|
a GDataTasksQuery |
|
lower bound for a task's completion date by UNIX timestamp, or -1
|
Since UNRELEASED
gint64 gdata_tasks_query_get_due_max (GDataTasksQuery *self
);
Gets the "due-max" property. If the property is unset, -1
will be returned.
|
a GDataTasksQuery |
Returns : |
the UNIX timestamp for the due-max property, or -1
|
Since UNRELEASED
void gdata_tasks_query_set_due_max (GDataTasksQuery *self
,gint64 due_max
);
Sets the "due-max" property of the GDataTasksQuery
to the new time/date, due_max
.
Set due_max
to -1
to unset the property in the query URI.
|
a GDataTasksQuery |
|
upper bound for a task's due date by UNIX timestamp, or -1
|
Since UNRELEASED
gint64 gdata_tasks_query_get_due_min (GDataTasksQuery *self
);
Gets the "due-min" property. If the property is unset, -1
will be returned.
|
a GDataTasksQuery |
Returns : |
the UNIX timestamp for the due-min property, or -1
|
Since UNRELEASED
void gdata_tasks_query_set_due_min (GDataTasksQuery *self
,gint64 due_min
);
Sets the "due-min" property of the GDataTasksQuery
to the new time/date, due_min
.
Set due_min
to -1
to unset the property in the query URI.
|
a GDataTasksQuery |
|
lower bound for a task's due date by UNIX timestamp, or -1
|
Since UNRELEASED
gboolean gdata_tasks_query_get_show_completed
(GDataTasksQuery *self
);
Gets the "show-completed" property.
|
a GDataTasksQuery |
Returns : |
the show-completed property |
Since UNRELEASED
void gdata_tasks_query_set_show_completed (GDataTasksQuery *self
,gboolean show_completed
);
Sets the "show-completed" property of the GDataTasksQuery.
|
a GDataTasksQuery |
|
TRUE to show completed tasks, FALSE otherwise |
Since UNRELEASED
gboolean gdata_tasks_query_get_show_deleted (GDataTasksQuery *self
);
Gets the "show-deleted" property.
|
a GDataTasksQuery |
Returns : |
the show-deleted property |
Since UNRELEASED
void gdata_tasks_query_set_show_deleted (GDataTasksQuery *self
,gboolean show_deleted
);
Sets the "show-deleted" property of the GDataTasksQuery.
|
a GDataTasksQuery |
|
TRUE to show deleted tasks, FALSE otherwise |
Since UNRELEASED
gboolean gdata_tasks_query_get_show_hidden (GDataTasksQuery *self
);
Gets the "show-hidden" property.
|
a GDataTasksQuery |
Returns : |
the show-hidden property |
Since UNRELEASED
void gdata_tasks_query_set_show_hidden (GDataTasksQuery *self
,gboolean show_hidden
);
Sets the "show-hidden" property of the GDataTasksQuery.
|
a GDataTasksQuery |
|
TRUE to show hidden tasks, FALSE otherwise |
Since UNRELEASED
"completed-max"
property"completed-max" gint64 : Read / Write
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.
Allowed values: >= -1
Default value: -1
Since UNRELEASED
"completed-min"
property"completed-min" gint64 : Read / Write
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.
Allowed values: >= -1
Default value: -1
Since UNRELEASED
"due-max"
property"due-max" gint64 : Read / Write
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.
Allowed values: >= -1
Default value: -1
Since UNRELEASED
"due-min"
property"due-min" gint64 : Read / Write
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.
Allowed values: >= -1
Default value: -1
Since UNRELEASED
"show-completed"
property"show-completed" gboolean : Read / Write
Flag indicating whether completed tasks are returned in the result. Optional. The default is FALSE
.
Default value: FALSE
Since UNRELEASED
"show-deleted"
property"show-deleted" gboolean : Read / Write
Flag indicating whether deleted tasks are returned in the result. Optional. The default is FALSE
.
Default value: FALSE
Since UNRELEASED