### Struct

# EDataServer GDataQuery

since: 3.46

#### Description

    struct EGDataQuery {
      /* No available fields */
    }

No description available.

Available since: 3.46

#### Constructors

###### e_gdata_query_new

Creates a new `EGDataQuery`. Free it with e_gdata_query_unref(), when no longer needed.

since: 3.46

#### Instance methods

###### e_gdata_query_get_completed_max

Gets current value of the completed max property, as a Unix date/time. When not set, returns -1. The optional `out_exists` can be used to see whether the property is set.

since: 3.46

###### e_gdata_query_get_completed_min

Gets current value of the completed min property, as a Unix date/time. When not set, returns -1. The optional `out_exists` can be used to see whether the property is set.

since: 3.46

###### e_gdata_query_get_due_max

Gets current value of the due max property, as a Unix date/time. When not set, returns -1. The optional `out_exists` can be used to see whether the property is set.

since: 3.46

###### e_gdata_query_get_due_min

Gets current value of the due min property, as a Unix date/time. When not set, returns -1. The optional `out_exists` can be used to see whether the property is set.

since: 3.46

###### e_gdata_query_get_max_results

Gets current value of the max results property. When not set, returns 0. The optional `out_exists` can be used to see whether the property is set.

since: 3.46

###### e_gdata_query_get_show_completed

Gets current value of the show completed property. When not set, returns `FALSE`. The optional `out_exists` can be used to see whether the property is set.

since: 3.46

###### e_gdata_query_get_show_deleted

Gets current value of the show deleted property. When not set, returns `FALSE`. The optional `out_exists` can be used to see whether the property is set.

since: 3.46

###### e_gdata_query_get_show_hidden

Gets current value of the show hidden property. When not set, returns `FALSE`. The optional `out_exists` can be used to see whether the property is set.

since: 3.46

###### e_gdata_query_get_updated_min

Gets current value of the updated min property, as a Unix date/time. When not set, returns -1. The optional `out_exists` can be used to see whether the property is set.

since: 3.46

###### e_gdata_query_ref

Increases the reference count of the `self`. The added reference shuld be removed with e_gdata_query_unref().

since: 3.46

###### e_gdata_query_set_completed_max

Sets upper bound for a task’s completion date, as a Unix date/time, to filter by. The default is not to filter by completion date.

since: 3.46

###### e_gdata_query_set_completed_min

Sets lower bound for a task’s completion date, as a Unix date/time, to filter by. The default is not to filter by completion date.

since: 3.46

###### e_gdata_query_set_due_max

Sets upper bound for a task’s due date, as a Unix date/time, to filter by. The default is not to filter by due date.

since: 3.46

###### e_gdata_query_set_due_min

Sets lower bound for a task’s due date, as a Unix date/time, to filter by. The default is not to filter by due date.

since: 3.46

###### e_gdata_query_set_max_results

Sets max results to be returned in one call.

since: 3.46

###### e_gdata_query_set_show_completed

Sets a flag indicating whether completed tasks are returned in the result. The default is True. Note that show hidden should also be True to show tasks completed in first party clients, such as the web UI and Google’s mobile apps.

since: 3.46

###### e_gdata_query_set_show_deleted

Sets a flag indicating whether deleted tasks are returned in the result. The default is False.

since: 3.46

###### e_gdata_query_set_show_hidden

Sets a flag indicating whether hidden tasks are returned in the result. The default is False.

since: 3.46

###### e_gdata_query_set_updated_min

Sets lower bound for a task’s last modification time, as a Unix date/time, to filter by. The default is not to filter by the last modification time.

since: 3.46

###### e_gdata_query_to_string

Converts the `self` into a string, which can be used as a URI query. The returned string should be freed with g_free(), when no longer needed.

since: 3.46

###### e_gdata_query_unref

Decreases the reference count of the `self`. When the reference count reaches 0, the `self` is freed.

since: 3.46