GDataSession
Object Hierarchy:
Description:
[
CCode ( type_id =
"e_gdata_session_get_type ()" ) ]
[
Version ( since =
"3.46" ) ]
public class GDataSession :
SoupSession
Contains only private data that should be read and manipulated using the functions below.
Content:
Creation methods:
Methods:
- public bool tasklists_delete_sync (string tasklist_id, Cancellable? cancellable = null) throws Error
Deletes a task list tasklist_id.
- public bool tasklists_get_sync (string tasklist_id, out Object out_tasklist, Cancellable? cancellable = null) throws Error
Gets a task list tasklist_id and returns it as a
Object, which should be freed with
unref, when no longer needed.
- public bool tasklists_insert_sync (string title, out Object out_inserted_tasklist, Cancellable? cancellable = null) throws Error
Creates a new task list, titled title.
- public bool tasklists_list_sync (GDataQuery? query, GDataObjectCallback cb, Cancellable? cancellable = null) throws Error
Lists all configured task lists for the user, calling the cb
for each of them.
- public bool tasklists_patch_sync (string tasklist_id, Builder tasklist_properties, out Object out_patched_tasklist, Cancellable? cancellable = null) throws Error
Changes properties of a task list tasklist_id.
- public bool tasklists_update_sync (string tasklist_id, Builder tasklist, out Object out_updated_tasklist, Cancellable? cancellable = null) throws Error
Updates a task list tasklist_id with values from the
tasklist.
- public bool tasks_clear_sync (string tasklist_id, Cancellable? cancellable = null) throws Error
Clears all completed tasks from the task list tasklist_id
.
- public bool tasks_delete_sync (string tasklist_id, string task_id, Cancellable? cancellable = null) throws Error
Deletes a task task_id from a task list tasklist_id
.
- public bool tasks_get_sync (string tasklist_id, string task_id, out Object out_task, Cancellable? cancellable = null) throws Error
Gets a task task_id from a task list tasklist_id
and returns it as a Object, which should be freed with
unref, when no longer needed.
- public bool tasks_insert_sync (string tasklist_id, Builder task, string? parent_task_id, string? previous_task_id, out Object out_inserted_task, Cancellable? cancellable = null) throws Error
Creates a new task task in the task list
tasklist_id.
- public bool tasks_list_sync (string tasklist_id, GDataQuery? query, GDataObjectCallback cb, Cancellable? cancellable = null) throws Error
Lists all tasks in the task list tasklist_id, calling the
cb for each of them.
- public bool tasks_move_sync (string tasklist_id, string task_id, string? parent_task_id, string? previous_task_id, Cancellable? cancellable = null) throws Error
Moves the specified task task_id to another position in
the task list tasklist_id.
- public bool tasks_patch_sync (string tasklist_id, string task_id, Builder task_properties, out Object out_patched_task, Cancellable? cancellable = null) throws Error
Changes properties task_properties of a task
task_id in the task list tasklist_id.
- public bool tasks_update_sync (string tasklist_id, string task_id, Builder task, out Object out_updated_task, Cancellable? cancellable = null) throws Error
Updates a task task_id in a task list tasklist_id
to the values from the task.
Inherited Members:
All known members inherited from class E.SoupSession
All known members inherited from class Soup.Session
All known members inherited from class GLib.Object