1 /* libgdata.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "GData", lower_case_cprefix = "gdata_")]
5 [CCode (cheader_filename = "gdata/gdata.h")]
6 public class AccessRule : GData.Entry {
7 [CCode (has_construct_function = false)]
8 public AccessRule (string id);
9 public void get_edited (GLib.TimeVal edited);
10 public unowned string get_role ();
11 public void get_scope (string type, string value);
12 public void set_role (string role);
13 public void set_scope (string type, string value);
14 public GLib.TimeVal edited { get; }
15 public string role { get; set; }
17 public string scope_type { owned get; set; }
19 public string scope_value { owned get; set; }
21 [CCode (cheader_filename = "gdata/gdata.h")]
22 public class Author : GData.Parsable {
23 [CCode (has_construct_function = false)]
24 public Author (string name, string uri, string email_address);
25 public int compare (GData.Author b);
26 public unowned string get_email_address ();
27 public unowned string get_name ();
28 public unowned string get_uri ();
29 public void set_email_address (string email_address);
30 public void set_name (string name);
31 public void set_uri (string uri);
32 public string email_address { get; set; }
33 public string name { get; set; }
34 public string uri { get; set; }
36 [CCode (cheader_filename = "gdata/gdata.h")]
37 public class CalendarCalendar : GData.Entry, GData.AccessHandler {
38 [CCode (has_construct_function = false)]
39 public CalendarCalendar (string id);
40 public unowned string get_access_level ();
41 public void get_color (GData.Color color);
42 public void get_edited (GLib.TimeVal edited);
43 public uint get_times_cleaned ();
44 public unowned string get_timezone ();
45 public void set_color (GData.Color color);
46 public void set_is_hidden (bool is_hidden);
47 public void set_is_selected (bool is_selected);
48 public void set_timezone (string _timezone);
49 public string access_level { get; }
50 public GData.Color color { get; set; }
51 public GLib.TimeVal edited { get; }
53 public bool is_hidden { get; set; }
55 public bool is_selected { get; set; }
56 public uint times_cleaned { get; }
57 public string timezone { get; set; }
59 [CCode (cheader_filename = "gdata/gdata.h")]
60 public class CalendarEvent : GData.Entry {
61 [CCode (has_construct_function = false)]
62 public CalendarEvent (string id);
63 public void add_person (GData.GDWho who);
64 public void add_place (GData.GDWhere where);
65 public void add_time (GData.GDWhen when);
66 public bool get_anyone_can_add_self ();
67 public void get_edited (GLib.TimeVal edited);
68 public bool get_guests_can_invite_others ();
69 public bool get_guests_can_modify ();
70 public bool get_guests_can_see_guests ();
71 public void get_original_event_details (string event_id, string event_uri);
72 public unowned GLib.List get_people ();
73 public unowned GLib.List get_places ();
74 public bool get_primary_time (GLib.TimeVal start_time, GLib.TimeVal end_time, out unowned GData.GDWhen when);
75 public unowned string get_recurrence ();
76 public uint get_sequence ();
77 public unowned string get_status ();
78 public unowned GLib.List get_times ();
79 public unowned string get_transparency ();
80 public unowned string get_uid ();
81 public unowned string get_visibility ();
82 public bool is_exception ();
83 public void set_anyone_can_add_self (bool anyone_can_add_self);
84 public void set_guests_can_invite_others (bool guests_can_invite_others);
85 public void set_guests_can_modify (bool guests_can_modify);
86 public void set_guests_can_see_guests (bool guests_can_see_guests);
87 public void set_recurrence (string recurrence);
88 public void set_sequence (uint sequence);
89 public void set_status (string status);
90 public void set_transparency (string transparency);
91 public void set_uid (string uid);
92 public void set_visibility (string visibility);
93 public bool anyone_can_add_self { get; set; }
94 public GLib.TimeVal edited { get; }
95 public bool guests_can_invite_others { get; set; }
96 public bool guests_can_modify { get; set; }
97 public bool guests_can_see_guests { get; set; }
99 public string original_event_id { owned get; }
101 public string original_event_uri { owned get; }
102 public string recurrence { get; set; }
103 public uint sequence { get; set; }
104 public string status { get; set; }
105 public string transparency { get; set; }
106 public string uid { get; set; }
107 public string visibility { get; set; }
109 [CCode (cheader_filename = "gdata/gdata.h")]
110 public class CalendarFeed : GData.Feed {
111 public uint get_times_cleaned ();
112 public unowned string get_timezone ();
113 public uint times_cleaned { get; }
114 public string timezone { get; }
116 [CCode (cheader_filename = "gdata/gdata.h")]
117 public class CalendarQuery : GData.Query {
118 [CCode (has_construct_function = false)]
119 public CalendarQuery (string q);
120 public bool get_future_events ();
121 public unowned string get_order_by ();
122 public void get_recurrence_expansion_end (GLib.TimeVal end);
123 public void get_recurrence_expansion_start (GLib.TimeVal start);
124 public bool get_single_events ();
125 public unowned string get_sort_order ();
126 public void get_start_max (GLib.TimeVal start_max);
127 public void get_start_min (GLib.TimeVal start_min);
128 public unowned string get_timezone ();
129 public void set_future_events (bool future_events);
130 public void set_order_by (string order_by);
131 public void set_recurrence_expansion_end (GLib.TimeVal end);
132 public void set_recurrence_expansion_start (GLib.TimeVal start);
133 public void set_single_events (bool single_events);
134 public void set_sort_order (string sort_order);
135 public void set_start_max (GLib.TimeVal start_max);
136 public void set_start_min (GLib.TimeVal start_min);
137 public void set_timezone (string _timezone);
138 [CCode (has_construct_function = false)]
139 public CalendarQuery.with_limits (string q, GLib.TimeVal start_min, GLib.TimeVal start_max);
140 public bool future_events { get; set; }
141 public string order_by { get; set; }
142 public GLib.TimeVal recurrence_expansion_end { get; set; }
143 public GLib.TimeVal recurrence_expansion_start { get; set; }
144 public bool single_events { get; set; }
145 public string sort_order { get; set; }
146 public GLib.TimeVal start_max { get; set; }
147 public GLib.TimeVal start_min { get; set; }
148 public string timezone { get; set; }
150 [CCode (cheader_filename = "gdata/gdata.h")]
151 public class CalendarService : GData.Service {
152 [CCode (has_construct_function = false)]
153 public CalendarService (string client_id);
154 public unowned GData.CalendarEvent insert_event (GData.CalendarEvent event, GLib.Cancellable cancellable) throws GLib.Error;
155 public unowned GData.Feed query_all_calendars (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
156 public async void query_all_calendars_async (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data);
157 public unowned GData.Feed query_events (GData.CalendarCalendar calendar, GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
158 public unowned GData.Feed query_own_calendars (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
159 public async void query_own_calendars_async (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data);
161 [CCode (cheader_filename = "gdata/gdata.h")]
162 public class Category : GData.Parsable {
163 [CCode (has_construct_function = false)]
164 public Category (string term, string scheme, string label);
165 public int compare (GData.Category b);
166 public unowned string get_label ();
167 public unowned string get_scheme ();
168 public unowned string get_term ();
169 public void set_label (string label);
170 public void set_scheme (string scheme);
171 public void set_term (string term);
172 public string label { get; set; }
173 public string scheme { get; set; }
174 public string term { get; set; }
177 [CCode (type_id = "GDATA_TYPE_COLOR", cheader_filename = "gdata/gdata.h")]
182 public static bool from_hexadecimal (string hexadecimal, GData.Color color);
183 public unowned string to_hexadecimal ();
185 [CCode (cheader_filename = "gdata/gdata.h")]
186 public class ContactsContact : GData.Entry {
187 [CCode (has_construct_function = false)]
188 public ContactsContact (string id);
189 public void add_calendar (GData.GContactCalendar calendar);
190 public void add_email_address (GData.GDEmailAddress email_address);
191 public void add_event (GData.GContactEvent event);
192 public void add_group (string href);
193 public void add_im_address (GData.GDIMAddress im_address);
194 public void add_jot (GData.GContactJot jot);
195 public void add_organization (GData.GDOrganization organization);
196 public void add_phone_number (GData.GDPhoneNumber phone_number);
197 public void add_postal_address (GData.GDPostalAddress postal_address);
198 public void add_relation (GData.GContactRelation relation);
199 public void add_website (GData.GContactWebsite website);
200 public bool get_birthday (GLib.Date birthday);
201 public unowned GLib.List get_calendars ();
202 public void get_edited (GLib.TimeVal edited);
203 public unowned GLib.List get_email_addresses ();
204 public unowned GLib.List get_events ();
205 public unowned GLib.HashTable get_extended_properties ();
206 public unowned string get_extended_property (string name);
207 public unowned GLib.List get_groups ();
208 public unowned GLib.List get_im_addresses ();
209 public unowned GLib.List get_jots ();
210 public unowned GData.GDName get_name ();
211 public unowned string get_nickname ();
212 public unowned GLib.List get_organizations ();
213 public unowned GLib.List get_phone_numbers ();
214 public unowned string get_photo (GData.ContactsService service, size_t length, string content_type, GLib.Cancellable cancellable) throws GLib.Error;
215 public unowned GLib.List get_postal_addresses ();
216 public unowned GData.GContactCalendar get_primary_calendar ();
217 public unowned GData.GDEmailAddress get_primary_email_address ();
218 public unowned GData.GDIMAddress get_primary_im_address ();
219 public unowned GData.GDOrganization get_primary_organization ();
220 public unowned GData.GDPhoneNumber get_primary_phone_number ();
221 public unowned GData.GDPostalAddress get_primary_postal_address ();
222 public unowned GData.GContactWebsite get_primary_website ();
223 public unowned GLib.List get_relations ();
224 public unowned GLib.List get_websites ();
225 public bool is_deleted ();
226 public bool is_group_deleted (string href);
227 public void remove_all_calendars ();
228 public void remove_all_email_addresses ();
229 public void remove_all_events ();
230 public void remove_all_im_addresses ();
231 public void remove_all_jots ();
232 public void remove_all_organizations ();
233 public void remove_all_phone_numbers ();
234 public void remove_all_postal_addresses ();
235 public void remove_all_relations ();
236 public void remove_all_websites ();
237 public void remove_group (string href);
238 public void set_birthday (GLib.Date birthday, bool birthday_has_year);
239 public bool set_extended_property (string name, string value);
240 public void set_name (GData.GDName name);
241 public void set_nickname (string nickname);
242 public bool set_photo (GData.Service service, string data, size_t length, GLib.Cancellable cancellable) throws GLib.Error;
243 public GLib.Date birthday { get; set; }
245 public bool birthday_has_year { get; set; }
247 public bool deleted { get; }
248 public GLib.TimeVal edited { get; }
250 public bool has_photo { get; }
251 public GData.GDName name { get; set; }
252 public string nickname { get; set; }
254 [CCode (cheader_filename = "gdata/gdata.h")]
255 public class ContactsQuery : GData.Query {
256 [CCode (has_construct_function = false)]
257 public ContactsQuery (string q);
258 public unowned string get_group ();
259 public unowned string get_order_by ();
260 public unowned string get_sort_order ();
261 public void set_group (string group);
262 public void set_order_by (string order_by);
263 public void set_show_deleted (bool show_deleted);
264 public void set_sort_order (string sort_order);
265 [CCode (has_construct_function = false)]
266 public ContactsQuery.with_limits (string q, int start_index, int max_results);
267 public string group { get; set; }
268 public string order_by { get; set; }
270 public bool show_deleted { get; set; }
271 public string sort_order { get; set; }
273 [CCode (cheader_filename = "gdata/gdata.h")]
274 public class ContactsService : GData.Service {
275 [CCode (has_construct_function = false)]
276 public ContactsService (string client_id);
277 public unowned GData.ContactsContact insert_contact (GData.ContactsContact contact, GLib.Cancellable cancellable) throws GLib.Error;
278 public unowned GData.Feed query_contacts (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
279 public async void query_contacts_async (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data);
280 public unowned GData.ContactsContact update_contact (GData.ContactsContact contact, GLib.Cancellable cancellable) throws GLib.Error;
282 [CCode (cheader_filename = "gdata/gdata.h")]
283 public class DocumentsEntry : GData.Entry, GData.AccessHandler {
284 public unowned string get_document_id ();
285 public void get_edited (GLib.TimeVal edited);
286 public unowned GData.Author get_last_modified_by ();
287 public void get_last_viewed (GLib.TimeVal last_viewed);
288 public unowned string get_path ();
289 public void set_writers_can_invite (bool writers_can_invite);
290 public string document_id { get; }
291 public GLib.TimeVal edited { get; }
293 public bool is_deleted { get; set; }
294 public GData.Author last_modified_by { get; }
295 public GLib.TimeVal last_viewed { get; }
297 public bool writers_can_invite { get; set; }
299 [CCode (cheader_filename = "gdata/gdata.h")]
300 public class DocumentsFeed : GData.Feed {
302 [CCode (cheader_filename = "gdata/gdata.h")]
303 public class DocumentsFolder : GData.DocumentsEntry, GData.AccessHandler {
304 [CCode (has_construct_function = false)]
305 public DocumentsFolder (string id);
307 [CCode (cheader_filename = "gdata/gdata.h")]
308 public class DocumentsPresentation : GData.DocumentsEntry, GData.AccessHandler {
309 [CCode (has_construct_function = false)]
310 public DocumentsPresentation (string id);
311 public unowned GLib.File download_document (GData.DocumentsService service, string content_type, GData.DocumentsPresentationFormat export_format, GLib.File destination_file, bool replace_file_if_exists, GLib.Cancellable cancellable) throws GLib.Error;
312 public unowned string get_download_uri (GData.DocumentsPresentationFormat export_format);
314 [CCode (cheader_filename = "gdata/gdata.h")]
315 public class DocumentsQuery : GData.Query {
316 [CCode (has_construct_function = false)]
317 public DocumentsQuery (string q);
318 public void add_collaborator (string email_address);
319 public void add_reader (string email_address);
320 public unowned GLib.List get_collaborator_addresses ();
321 public bool get_exact_title ();
322 public unowned string get_folder_id ();
323 public unowned GLib.List get_reader_addresses ();
324 public unowned string get_title ();
325 public void set_folder_id (string folder_id);
326 public void set_show_deleted (bool show_deleted);
327 public void set_show_folders (bool show_folders);
328 public void set_title (string title, bool exact_title);
329 [CCode (has_construct_function = false)]
330 public DocumentsQuery.with_limits (string q, int start_index, int max_results);
332 public bool exact_title { get; set; }
333 public string folder_id { get; set; }
335 public bool show_deleted { get; set; }
337 public bool show_folders { get; set; }
338 public string title { get; set; }
340 [CCode (cheader_filename = "gdata/gdata.h")]
341 public class DocumentsService : GData.Service {
342 [CCode (has_construct_function = false)]
343 public DocumentsService (string client_id);
344 public static GLib.Quark error_quark ();
345 public static unowned string get_upload_uri (GData.DocumentsFolder folder);
346 public unowned GData.DocumentsEntry move_document_to_folder (GData.DocumentsEntry document, GData.DocumentsFolder folder, GLib.Cancellable cancellable) throws GLib.Error;
347 public unowned GData.DocumentsFeed query_documents (GData.DocumentsQuery query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
348 public async void query_documents_async (GData.DocumentsQuery query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data);
349 public unowned GData.DocumentsEntry remove_document_from_folder (GData.DocumentsEntry document, GData.DocumentsFolder folder, GLib.Cancellable cancellable) throws GLib.Error;
350 public unowned GData.DocumentsEntry update_document (GData.DocumentsEntry document, GLib.File document_file, GLib.Cancellable cancellable) throws GLib.Error;
351 public unowned GData.DocumentsEntry upload_document (GData.DocumentsEntry document, GLib.File document_file, GData.DocumentsFolder folder, GLib.Cancellable cancellable) throws GLib.Error;
353 public GData.Service spreadsheet_service { owned get; }
355 [CCode (cheader_filename = "gdata/gdata.h")]
356 public class DocumentsSpreadsheet : GData.DocumentsEntry, GData.AccessHandler {
357 [CCode (has_construct_function = false)]
358 public DocumentsSpreadsheet (string id);
359 public unowned GLib.File download_document (GData.DocumentsService service, string content_type, GData.DocumentsSpreadsheetFormat export_format, int gid, GLib.File destination_file, bool replace_file_if_exists, GLib.Cancellable cancellable) throws GLib.Error;
360 public unowned string get_download_uri (GData.DocumentsSpreadsheetFormat export_format, int gid);
362 [CCode (cheader_filename = "gdata/gdata.h")]
363 public class DocumentsText : GData.DocumentsEntry, GData.AccessHandler {
364 [CCode (has_construct_function = false)]
365 public DocumentsText (string id);
366 public unowned GLib.File download_document (GData.DocumentsService service, string content_type, GData.DocumentsTextFormat export_format, GLib.File destination_file, bool replace_file_if_exists, GLib.Cancellable cancellable) throws GLib.Error;
367 public unowned string get_download_uri (GData.DocumentsTextFormat export_format);
369 [CCode (cheader_filename = "gdata/gdata.h")]
370 public class DownloadStream : GLib.InputStream, GLib.Seekable {
371 [CCode (type = "GInputStream*", has_construct_function = false)]
372 public DownloadStream (GData.Service service, string download_uri);
373 public ssize_t get_content_length ();
374 public unowned string get_content_type ();
375 public unowned string get_download_uri ();
376 public unowned GData.Service get_service ();
377 public long content_length { get; }
378 public string content_type { get; }
379 public string download_uri { get; construct; }
380 public GData.Service service { get; construct; }
382 [CCode (cheader_filename = "gdata/gdata.h")]
383 public class Entry : GData.Parsable {
384 [CCode (has_construct_function = false)]
385 public Entry (string id);
386 public void add_author (GData.Author author);
387 public void add_category (GData.Category category);
388 public void add_link (GData.Link link);
389 public unowned GLib.List get_categories ();
390 public unowned string get_content ();
392 public virtual unowned string get_entry_uri (string id);
393 public unowned string get_etag ();
394 public unowned string get_id ();
395 public void get_published (GLib.TimeVal published);
396 public unowned string get_rights ();
397 public unowned string get_summary ();
398 public unowned string get_title ();
399 public void get_updated (GLib.TimeVal updated);
400 public unowned GData.Link look_up_link (string rel);
401 public unowned GLib.List look_up_links (string rel);
402 public void set_content (string content);
403 public void set_rights (string rights);
404 public void set_summary (string summary);
405 public void set_title (string title);
406 public string content { get; set; }
407 public string etag { get; construct; }
408 public string id { get; construct; }
410 public bool is_inserted { get; }
411 public GLib.TimeVal published { get; }
412 public string rights { get; set; }
413 public string summary { get; set; }
414 public string title { get; set; }
415 public GLib.TimeVal updated { get; }
417 [CCode (cheader_filename = "gdata/gdata.h")]
418 public class Feed : GData.Parsable {
419 public unowned GLib.List<GData.Author> get_authors ();
420 public unowned GLib.List<GData.Category> get_categories ();
421 public unowned GLib.List<GData.Entry> get_entries ();
422 public unowned string get_etag ();
423 public unowned GData.Generator get_generator ();
424 public unowned string get_icon ();
425 public unowned string get_id ();
426 public uint get_items_per_page ();
427 public unowned GLib.List get_links ();
428 public unowned string get_logo ();
429 public uint get_start_index ();
430 public unowned string get_subtitle ();
431 public unowned string get_title ();
432 public uint get_total_results ();
433 public void get_updated (GLib.TimeVal updated);
434 public unowned GData.Entry look_up_entry (string id);
435 public unowned GData.Link look_up_link (string rel);
436 public string etag { get; }
437 public GData.Generator generator { get; }
438 public string icon { get; }
439 public string id { get; }
440 public uint items_per_page { get; }
441 public string logo { get; }
442 public uint start_index { get; }
443 public string subtitle { get; }
444 public string title { get; }
445 public uint total_results { get; }
446 public GLib.TimeVal updated { get; }
448 [CCode (cheader_filename = "gdata/gdata.h")]
449 public class GContactCalendar : GData.Parsable {
450 [CCode (has_construct_function = false)]
451 public GContactCalendar (string uri, string relation_type, string label, bool is_primary);
452 public int compare (GData.GContactCalendar b);
453 public unowned string get_label ();
454 public unowned string get_relation_type ();
455 public unowned string get_uri ();
456 public void set_is_primary (bool is_primary);
457 public void set_label (string label);
458 public void set_relation_type (string relation_type);
459 public void set_uri (string uri);
461 public bool is_primary { get; set; }
462 public string label { get; set; }
463 public string relation_type { get; set; }
464 public string uri { get; set; }
466 [CCode (cheader_filename = "gdata/gdata.h")]
467 public class GContactEvent : GData.Parsable {
468 [CCode (has_construct_function = false)]
469 public GContactEvent (GLib.Date date, string relation_type, string label);
470 public void get_date (GLib.Date date);
471 public unowned string get_label ();
472 public unowned string get_relation_type ();
473 public void set_date (GLib.Date date);
474 public void set_label (string label);
475 public void set_relation_type (string relation_type);
476 public GLib.Date date { get; set; }
477 public string label { get; set; }
478 public string relation_type { get; set; }
480 [CCode (cheader_filename = "gdata/gdata.h")]
481 public class GContactJot : GData.Parsable {
482 [CCode (has_construct_function = false)]
483 public GContactJot (string content, string relation_type);
484 public unowned string get_content ();
485 public unowned string get_relation_type ();
486 public void set_content (string content);
487 public void set_relation_type (string relation_type);
488 public string content { get; set; }
489 public string relation_type { get; set; }
491 [CCode (cheader_filename = "gdata/gdata.h")]
492 public class GContactRelation : GData.Parsable {
493 [CCode (has_construct_function = false)]
494 public GContactRelation (string name, string relation_type, string label);
495 public unowned string get_label ();
496 public unowned string get_name ();
497 public unowned string get_relation_type ();
498 public void set_label (string label);
499 public void set_name (string name);
500 public void set_relation_type (string relation_type);
501 public string label { get; set; }
502 public string name { get; set; }
503 public string relation_type { get; set; }
505 [CCode (cheader_filename = "gdata/gdata.h")]
506 public class GContactWebsite : GData.Parsable {
507 [CCode (has_construct_function = false)]
508 public GContactWebsite (string uri, string relation_type, string label, bool is_primary);
509 public int compare (GData.GContactWebsite b);
510 public unowned string get_label ();
511 public unowned string get_relation_type ();
512 public unowned string get_uri ();
513 public void set_is_primary (bool is_primary);
514 public void set_label (string label);
515 public void set_relation_type (string relation_type);
516 public void set_uri (string uri);
518 public bool is_primary { get; set; }
519 public string label { get; set; }
520 public string relation_type { get; set; }
521 public string uri { get; set; }
523 [CCode (cheader_filename = "gdata/gdata.h")]
524 public class GDEmailAddress : GData.Parsable {
525 [CCode (has_construct_function = false)]
526 public GDEmailAddress (string address, string relation_type, string label, bool is_primary);
527 public int compare (GData.GDEmailAddress b);
528 public unowned string get_address ();
529 public unowned string get_display_name ();
530 public unowned string get_label ();
531 public unowned string get_relation_type ();
532 public void set_address (string address);
533 public void set_display_name (string display_name);
534 public void set_is_primary (bool is_primary);
535 public void set_label (string label);
536 public void set_relation_type (string relation_type);
537 public string address { get; set; }
538 public string display_name { get; set; }
540 public bool is_primary { get; set; }
541 public string label { get; set; }
542 public string relation_type { get; set; }
545 [CCode (cheader_filename = "gdata/gdata.h")]
546 public class GDFeedLink {
547 public uint count_hint;
548 public weak string href;
549 public bool read_only;
550 public weak string rel;
551 [CCode (has_construct_function = false)]
552 public GDFeedLink (string href, string rel, uint count_hint, bool read_only);
553 public int compare (GData.GDFeedLink b);
555 [CCode (cheader_filename = "gdata/gdata.h")]
556 public class GDIMAddress : GData.Parsable {
557 [CCode (cname = "gdata_gd_im_address_new", has_construct_function = false)]
558 public GDIMAddress (string address, string protocol, string relation_type, string label, bool is_primary);
559 [CCode (cname = "gdata_gd_im_address_compare")]
560 public int compare (GData.GDIMAddress b);
561 [CCode (cname = "gdata_gd_im_address_get_address")]
562 public unowned string get_address ();
563 [CCode (cname = "gdata_gd_im_address_get_label")]
564 public unowned string get_label ();
565 [CCode (cname = "gdata_gd_im_address_get_protocol")]
566 public unowned string get_protocol ();
567 [CCode (cname = "gdata_gd_im_address_get_relation_type")]
568 public unowned string get_relation_type ();
569 [CCode (cname = "gdata_gd_im_address_set_address")]
570 public void set_address (string address);
571 [CCode (cname = "gdata_gd_im_address_set_is_primary")]
572 public void set_is_primary (bool is_primary);
573 [CCode (cname = "gdata_gd_im_address_set_label")]
574 public void set_label (string label);
575 [CCode (cname = "gdata_gd_im_address_set_protocol")]
576 public void set_protocol (string protocol);
577 [CCode (cname = "gdata_gd_im_address_set_relation_type")]
578 public void set_relation_type (string relation_type);
579 public string address { get; set; }
581 public bool is_primary { get; set; }
582 public string label { get; set; }
583 public string protocol { get; set; }
584 public string relation_type { get; set; }
586 [CCode (cheader_filename = "gdata/gdata.h")]
587 public class GDName : GData.Parsable {
588 [CCode (has_construct_function = false)]
589 public GDName (string given_name, string family_name);
590 public int compare (GData.GDName b);
591 public unowned string get_additional_name ();
592 public unowned string get_family_name ();
593 public unowned string get_full_name ();
594 public unowned string get_given_name ();
595 public unowned string get_prefix ();
596 public unowned string get_suffix ();
597 public void set_additional_name (string additional_name);
598 public void set_family_name (string family_name);
599 public void set_full_name (string full_name);
600 public void set_given_name (string given_name);
601 public void set_prefix (string prefix);
602 public void set_suffix (string suffix);
603 public string additional_name { get; set; }
604 public string family_name { get; set; }
605 public string full_name { get; set; }
606 public string given_name { get; set; }
607 public string prefix { get; set; }
608 public string suffix { get; set; }
610 [CCode (cheader_filename = "gdata/gdata.h")]
611 public class GDOrganization : GData.Parsable {
612 [CCode (has_construct_function = false)]
613 public GDOrganization (string name, string title, string relation_type, string label, bool is_primary);
614 public int compare (GData.GDOrganization b);
615 public unowned string get_department ();
616 public unowned string get_job_description ();
617 public unowned string get_label ();
618 public unowned GData.GDWhere get_location ();
619 public unowned string get_name ();
620 public unowned string get_relation_type ();
621 public unowned string get_symbol ();
622 public unowned string get_title ();
623 public void set_department (string department);
624 public void set_is_primary (bool is_primary);
625 public void set_job_description (string job_description);
626 public void set_label (string label);
627 public void set_location (GData.GDWhere location);
628 public void set_name (string name);
629 public void set_relation_type (string relation_type);
630 public void set_symbol (string symbol);
631 public void set_title (string title);
632 public string department { get; set; }
634 public bool is_primary { get; set; }
635 public string job_description { get; set; }
636 public string label { get; set; }
637 public GData.GDWhere location { get; set; }
638 public string name { get; set; }
639 public string relation_type { get; set; }
640 public string symbol { get; set; }
641 public string title { get; set; }
643 [CCode (cheader_filename = "gdata/gdata.h")]
644 public class GDPhoneNumber : GData.Parsable {
645 [CCode (has_construct_function = false)]
646 public GDPhoneNumber (string number, string relation_type, string label, string uri, bool is_primary);
647 public int compare (GData.GDPhoneNumber b);
648 public unowned string get_label ();
649 public unowned string get_number ();
650 public unowned string get_relation_type ();
651 public unowned string get_uri ();
652 public void set_is_primary (bool is_primary);
653 public void set_label (string label);
654 public void set_number (string number);
655 public void set_relation_type (string relation_type);
656 public void set_uri (string uri);
658 public bool is_primary { get; set; }
659 public string label { get; set; }
660 public string number { get; set; }
661 public string relation_type { get; set; }
662 public string uri { get; set; }
664 [CCode (cheader_filename = "gdata/gdata.h")]
665 public class GDPostalAddress : GData.Parsable {
666 [CCode (has_construct_function = false)]
667 public GDPostalAddress (string relation_type, string label, bool is_primary);
668 public int compare (GData.GDPostalAddress b);
669 public unowned string get_address ();
670 public unowned string get_agent ();
671 public unowned string get_city ();
672 public unowned string get_country ();
673 public unowned string get_country_code ();
674 public unowned string get_house_name ();
675 public unowned string get_label ();
676 public unowned string get_mail_class ();
677 public unowned string get_neighborhood ();
678 public unowned string get_po_box ();
679 public unowned string get_postcode ();
680 public unowned string get_region ();
681 public unowned string get_relation_type ();
682 public unowned string get_street ();
683 public unowned string get_subregion ();
684 public unowned string get_usage ();
685 public void set_address (string address);
686 public void set_agent (string agent);
687 public void set_city (string city);
688 public void set_country (string country, string country_code);
689 public void set_house_name (string house_name);
690 public void set_is_primary (bool is_primary);
691 public void set_label (string label);
692 public void set_mail_class (string mail_class);
693 public void set_neighborhood (string neighborhood);
694 public void set_po_box (string po_box);
695 public void set_postcode (string postcode);
696 public void set_region (string region);
697 public void set_relation_type (string relation_type);
698 public void set_street (string street);
699 public void set_subregion (string subregion);
700 public void set_usage (string usage);
701 public string address { get; set; }
702 public string agent { get; set; }
703 public string city { get; set; }
704 public string country { get; }
705 public string country_code { get; }
706 public string house_name { get; set; }
708 public bool is_primary { get; set; }
709 public string label { get; set; }
710 public string mail_class { get; set; }
711 public string neighborhood { get; set; }
712 public string po_box { get; set; }
713 public string postcode { get; set; }
714 public string region { get; set; }
715 public string relation_type { get; set; }
716 public string street { get; set; }
717 public string subregion { get; set; }
718 public string usage { get; set; }
721 [CCode (cheader_filename = "gdata/gdata.h")]
722 public class GDRating {
723 public double average;
726 public uint num_raters;
727 [CCode (has_construct_function = false)]
728 public GDRating (uint min, uint max, uint num_raters, double average);
729 public int compare (GData.GDRating b);
731 [CCode (cheader_filename = "gdata/gdata.h")]
732 public class GDReminder : GData.Parsable {
733 [CCode (has_construct_function = false)]
734 public GDReminder (string method, GLib.TimeVal absolute_time, int relative_time);
735 public int compare (GData.GDReminder b);
736 public void get_absolute_time (GLib.TimeVal absolute_time);
737 public unowned string get_method ();
738 public int get_relative_time ();
739 public void set_absolute_time (GLib.TimeVal absolute_time);
740 public void set_method (string method);
741 public void set_relative_time (int relative_time);
742 public GLib.TimeVal absolute_time { get; set; }
744 public bool is_absolute_time { get; }
745 public string method { get; set; }
746 public int relative_time { get; set; }
748 [CCode (cheader_filename = "gdata/gdata.h")]
749 public class GDWhen : GData.Parsable {
750 [CCode (has_construct_function = false)]
751 public GDWhen (GLib.TimeVal start_time, GLib.TimeVal end_time, bool is_date);
752 public void add_reminder (GData.GDReminder reminder);
753 public int compare (GData.GDWhen b);
754 public void get_end_time (GLib.TimeVal end_time);
755 public unowned GLib.List get_reminders ();
756 public void get_start_time (GLib.TimeVal start_time);
757 public unowned string get_value_string ();
758 public void set_end_time (GLib.TimeVal end_time);
759 public void set_is_date (bool is_date);
760 public void set_start_time (GLib.TimeVal start_time);
761 public void set_value_string (string value_string);
762 public GLib.TimeVal end_time { get; set; }
764 public bool is_date { get; set; }
765 public GLib.TimeVal start_time { get; set; }
766 public string value_string { get; set; }
768 [CCode (cheader_filename = "gdata/gdata.h")]
769 public class GDWhere : GData.Parsable {
770 [CCode (has_construct_function = false)]
771 public GDWhere (string relation_type, string value_string, string label);
772 public int compare (GData.GDWhere b);
773 public unowned string get_label ();
774 public unowned string get_relation_type ();
775 public unowned string get_value_string ();
776 public void set_label (string label);
777 public void set_relation_type (string relation_type);
778 public void set_value_string (string value_string);
779 public string label { get; set; }
780 public string relation_type { get; set; }
781 public string value_string { get; set; }
783 [CCode (cheader_filename = "gdata/gdata.h")]
784 public class GDWho : GData.Parsable {
785 [CCode (has_construct_function = false)]
786 public GDWho (string relation_type, string value_string, string email_address);
787 public int compare (GData.GDWho b);
788 public unowned string get_email_address ();
789 public unowned string get_relation_type ();
790 public unowned string get_value_string ();
791 public void set_email_address (string email_address);
792 public void set_relation_type (string relation_type);
793 public void set_value_string (string value_string);
794 public string email_address { get; set; }
795 public string relation_type { get; set; }
796 public string value_string { get; set; }
799 [CCode (type_id = "GDATA_TYPE_GTIME_VAL", cheader_filename = "gdata/gdata.h")]
800 public class GTimeVal {
802 [CCode (cheader_filename = "gdata/gdata.h")]
803 public class Generator : GData.Parsable {
804 [CCode (has_construct_function = false)]
805 public Generator (string name, string uri, string version);
806 public int compare (GData.Generator b);
807 public unowned string get_name ();
808 public unowned string get_uri ();
809 public unowned string get_version ();
810 public string name { get; }
811 public string uri { get; }
812 public string version { get; }
814 [CCode (cheader_filename = "gdata/gdata.h")]
815 public class Link : GData.Parsable {
816 [CCode (has_construct_function = false)]
817 public Link (string uri, string relation_type);
818 public int compare (GData.Link b);
819 public unowned string get_content_type ();
820 public unowned string get_language ();
821 public int get_length ();
822 public unowned string get_relation_type ();
823 public unowned string get_title ();
824 public unowned string get_uri ();
825 public void set_content_type (string content_type);
826 public void set_language (string language);
827 public void set_length (int length);
828 public void set_relation_type (string relation_type);
829 public void set_title (string title);
830 public void set_uri (string uri);
831 public string content_type { get; set; }
832 public string language { get; set; }
833 public int length { get; set; }
834 public string relation_type { get; set; }
835 public string title { get; set; }
836 public string uri { get; set; }
838 [CCode (cheader_filename = "gdata/gdata.h")]
839 public class MediaCategory : GData.Parsable {
840 [CCode (has_construct_function = false)]
841 public MediaCategory (string category, string scheme, string label);
842 public unowned string get_category ();
843 public unowned string get_label ();
844 public unowned string get_scheme ();
845 public void set_category (string category);
846 public void set_label (string label);
847 public void set_scheme (string scheme);
848 public string category { get; set; }
849 public string label { get; set; }
850 public string scheme { get; set; }
852 [CCode (cheader_filename = "gdata/gdata.h")]
853 public class MediaContent : GData.Parsable {
854 [CCode (has_construct_function = false)]
855 public MediaContent (string uri, string type, bool is_default, GData.MediaExpression expression, int duration, int format);
856 public unowned GLib.File download (GData.Service service, string default_filename, GLib.File target_dest_file, bool replace_file_if_exists, GLib.Cancellable cancellable) throws GLib.Error;
857 public unowned string get_content_type ();
858 public int64 get_duration ();
859 public GData.MediaExpression get_expression ();
860 public size_t get_filesize ();
861 public uint get_height ();
862 public GData.MediaMedium get_medium ();
863 public unowned string get_uri ();
864 public uint get_width ();
865 public string content_type { get; }
866 public int64 duration { get; }
867 public GData.MediaExpression expression { get; }
868 public ulong filesize { get; }
869 public uint height { get; }
871 public bool is_default { get; }
872 public GData.MediaMedium medium { get; }
873 public string uri { get; }
874 public uint width { get; }
876 [CCode (cheader_filename = "gdata/gdata.h")]
877 public class MediaCredit : GData.Parsable {
878 [CCode (has_construct_function = false)]
879 public MediaCredit (string credit, bool partner);
880 public unowned string get_credit ();
881 public unowned string get_role ();
882 public unowned string get_scheme ();
883 public string credit { get; }
884 public string role { get; }
885 public string scheme { get; }
888 [CCode (cheader_filename = "gdata/gdata.h")]
889 public class MediaRating {
890 public weak string country;
891 public weak string scheme;
892 [CCode (has_construct_function = false)]
893 public MediaRating (string scheme, string country);
896 [CCode (cheader_filename = "gdata/gdata.h")]
897 public class MediaRestriction {
898 public weak string countries;
899 public bool relationship;
900 [CCode (has_construct_function = false)]
901 public MediaRestriction (string countries, bool relationship);
903 [CCode (cheader_filename = "gdata/gdata.h")]
904 public class MediaThumbnail : GData.Parsable {
905 [CCode (has_construct_function = false)]
906 public MediaThumbnail (string uri, uint width, uint height, int64 _time);
907 public static unowned string build_time (int64 _time);
908 public unowned GLib.File download (GData.Service service, string default_filename, GLib.File target_dest_file, bool replace_file_if_exists, GLib.Cancellable cancellable) throws GLib.Error;
909 public uint get_height ();
910 public int64 get_time ();
911 public unowned string get_uri ();
912 public uint get_width ();
913 public static int64 parse_time (string time_string);
914 public uint height { get; }
915 public int64 time { get; }
916 public string uri { get; }
917 public uint width { get; }
919 [CCode (cheader_filename = "gdata/gdata.h")]
920 public class Parsable : GLib.Object {
921 [CCode (has_construct_function = false)]
922 public Parsable.from_xml (GLib.Type parsable_type, string xml, int length) throws GLib.Error;
924 public virtual void get_namespaces (GLib.HashTable namespaces);
925 public virtual void get_xml ();
927 public virtual bool parse_xml (Xml.Doc doc, Xml.Node node) throws GLib.Error;
929 public virtual bool post_parse_xml (void* user_data) throws GLib.Error;
931 public virtual void pre_get_xml (GLib.StringBuilder xml_string);
933 public virtual bool pre_parse_xml (Xml.Doc doc, Xml.Node root_node) throws GLib.Error;
935 [CCode (type_check_function = "GDATA_IS_PICASAWEB_ALBUM",cprefix="gdata_picasaweb_album_", cheader_filename = "gdata/gdata.h")]
936 public class PicasaWebAlbum : GData.Entry {
937 [CCode (cname = "gdata_picasaweb_album_new", has_construct_function = false)]
938 public PicasaWebAlbum (string id);
939 [CCode (cname = "gdata_picasaweb_album_get_bytes_used")]
940 public long get_bytes_used ();
941 [CCode (cname = "gdata_picasaweb_album_get_comment_count")]
942 public uint get_comment_count ();
943 [CCode (cname = "gdata_picasaweb_album_get_contents")]
944 public unowned GLib.List get_contents ();
945 [CCode (cname = "gdata_picasaweb_album_get_coordinates")]
946 public void get_coordinates (double latitude, double longitude);
947 [CCode (cname = "gdata_picasaweb_album_get_edited")]
948 public void get_edited (GLib.TimeVal edited);
949 [CCode (cname = "gdata_picasaweb_album_get_id")]
950 public unowned string get_id ();
951 [CCode (cname = "gdata_picasaweb_album_get_location")]
952 public unowned string get_location ();
953 [CCode (cname = "gdata_picasaweb_album_get_nickname")]
954 public unowned string get_nickname ();
955 [CCode (cname = "gdata_picasaweb_album_get_num_photos")]
956 public uint get_num_photos ();
957 [CCode (cname = "gdata_picasaweb_album_get_num_photos_remaining")]
958 public uint get_num_photos_remaining ();
959 [CCode (cname = "gdata_picasaweb_album_get_tags")]
960 public unowned string get_tags ();
961 [CCode (cname = "gdata_picasaweb_album_get_thumbnails")]
962 public unowned GLib.List get_thumbnails ();
963 [CCode (cname = "gdata_picasaweb_album_get_timestamp")]
964 public void get_timestamp (GLib.TimeVal timestamp);
965 [CCode (cname = "gdata_picasaweb_album_get_user")]
966 public unowned string get_user ();
967 [CCode (cname = "gdata_picasaweb_album_get_visibility")]
968 public GData.PicasaWebVisibility get_visibility ();
969 [CCode (cname = "gdata_picasaweb_album_set_coordinates")]
970 public void set_coordinates (double latitude, double longitude);
971 [CCode (cname = "gdata_picasaweb_album_set_is_commenting_enabled")]
972 public void set_is_commenting_enabled (bool is_commenting_enabled);
973 [CCode (cname = "gdata_picasaweb_album_set_location")]
974 public void set_location (string location);
975 [CCode (cname = "gdata_picasaweb_album_set_tags")]
976 public void set_tags (string tags);
977 [CCode (cname = "gdata_picasaweb_album_set_timestamp")]
978 public void set_timestamp (GLib.TimeVal timestamp);
979 [CCode (cname = "gdata_picasaweb_album_set_visibility")]
980 public void set_visibility (GData.PicasaWebVisibility visibility);
982 public string album_id { owned get; construct; }
983 public long bytes_used { get; }
984 public uint comment_count { get; }
985 public GLib.TimeVal edited { get; }
987 public bool is_commenting_enabled { get; set; }
989 public double latitude { get; set; }
990 public string location { get; set; }
992 public double longitude { get; set; }
993 public string nickname { get; }
994 public uint num_photos { get; }
995 public uint num_photos_remaining { get; }
996 [CCode (array_length = false, array_null_terminated = true)]
997 public string[] tags { get; set; }
998 public GLib.TimeVal timestamp { get; set; }
999 public string user { get; }
1000 public GData.PicasaWebVisibility visibility { get; set; }
1002 [CCode (cheader_filename = "gdata/gdata.h")]
1003 public class PicasaWebFeed : GData.Feed {
1005 [CCode (type_check_function = "GDATA_IS_PICASAWEB_FILE",cprefix="gdata_picasaweb_file_",type_id="GDATA_TYPE_PICASAWEB_FILE", cheader_filename = "gdata/gdata.h")]
1006 public class PicasaWebFile : GData.Entry {
1007 [CCode (cname = "gdata_picasaweb_file_new", has_construct_function = false)]
1008 public PicasaWebFile (string id);
1009 [CCode (cname = "gdata_picasaweb_file_get_album_id")]
1010 public unowned string get_album_id ();
1011 [CCode (cname = "gdata_picasaweb_file_get_caption")]
1012 public unowned string get_caption ();
1013 [CCode (cname = "gdata_picasaweb_file_get_checksum")]
1014 public unowned string get_checksum ();
1015 [CCode (cname = "gdata_picasaweb_file_get_client")]
1016 public unowned string get_client ();
1017 [CCode (cname = "gdata_picasaweb_file_get_comment_count")]
1018 public uint get_comment_count ();
1019 [CCode (cname = "gdata_picasaweb_file_get_contents")]
1020 public unowned GLib.List get_contents ();
1021 [CCode (cname = "gdata_picasaweb_file_get_coordinates")]
1022 public void get_coordinates (double latitude, double longitude);
1023 [CCode (cname = "gdata_picasaweb_file_get_credit")]
1024 public unowned string get_credit ();
1025 [CCode (cname = "gdata_picasaweb_file_get_distance")]
1026 public double get_distance ();
1027 [CCode (cname = "gdata_picasaweb_file_get_edited")]
1028 public void get_edited (GLib.TimeVal edited);
1029 [CCode (cname = "gdata_picasaweb_file_get_exposure")]
1030 public double get_exposure ();
1031 [CCode (cname = "gdata_picasaweb_file_get_flash")]
1032 public bool get_flash ();
1033 [CCode (cname = "gdata_picasaweb_file_get_focal_length")]
1034 public double get_focal_length ();
1035 [CCode (cname = "gdata_picasaweb_file_get_fstop")]
1036 public double get_fstop ();
1037 [CCode (cname = "gdata_picasaweb_file_get_height")]
1038 public uint get_height ();
1039 [CCode (cname = "gdata_picasaweb_file_get_id")]
1040 public unowned string get_id ();
1041 [CCode (cname = "gdata_picasaweb_file_get_image_unique_id")]
1042 public unowned string get_image_unique_id ();
1043 [CCode (cname = "gdata_picasaweb_file_get_iso")]
1044 public int get_iso ();
1045 [CCode (cname = "gdata_picasaweb_file_get_make")]
1046 public unowned string get_make ();
1047 [CCode (cname = "gdata_picasaweb_file_get_model")]
1048 public unowned string get_model ();
1049 [CCode (cname = "gdata_picasaweb_file_get_position")]
1050 public double get_position ();
1051 [CCode (cname = "gdata_picasaweb_file_get_rotation")]
1052 public uint get_rotation ();
1053 [CCode (cname = "gdata_picasaweb_file_get_size")]
1054 public size_t get_size ();
1055 [CCode (cname = "gdata_picasaweb_file_get_tags")]
1056 public unowned string get_tags ();
1057 [CCode (cname = "gdata_picasaweb_file_get_thumbnails")]
1058 public unowned GLib.List get_thumbnails ();
1059 [CCode (cname = "gdata_picasaweb_file_get_timestamp")]
1060 public void get_timestamp (GLib.TimeVal timestamp);
1061 [CCode (cname = "gdata_picasaweb_file_get_version")]
1062 public unowned string get_version ();
1063 [CCode (cname = "gdata_picasaweb_file_get_video_status")]
1064 public unowned string get_video_status ();
1065 [CCode (cname = "gdata_picasaweb_file_get_width")]
1066 public uint get_width ();
1067 [CCode (cname = "gdata_picasaweb_file_set_album_id")]
1068 public void set_album_id (string album_id);
1069 [CCode (cname = "gdata_picasaweb_file_set_caption")]
1070 public void set_caption (string caption);
1071 [CCode (cname = "gdata_picasaweb_file_set_checksum")]
1072 public void set_checksum (string checksum);
1073 [CCode (cname = "gdata_picasaweb_file_set_client")]
1074 public void set_client (string client);
1075 [CCode (cname = "gdata_picasaweb_file_set_coordinates")]
1076 public void set_coordinates (double latitude, double longitude);
1077 [CCode (cname = "gdata_picasaweb_file_set_is_commenting_enabled")]
1078 public void set_is_commenting_enabled (bool is_commenting_enabled);
1079 [CCode (cname = "gdata_picasaweb_file_set_position")]
1080 public void set_position (double position);
1081 [CCode (cname = "gdata_picasaweb_file_set_rotation")]
1082 public void set_rotation (uint rotation);
1083 [CCode (cname = "gdata_picasaweb_file_set_tags")]
1084 public void set_tags (string tags);
1085 [CCode (cname = "gdata_picasaweb_file_set_timestamp")]
1086 public void set_timestamp (GLib.TimeVal timestamp);
1087 public string album_id { get; set; }
1088 public string caption { get; set; }
1089 public string checksum { get; set; }
1090 public string client { get; set; }
1091 public uint comment_count { get; }
1092 public string credit { get; }
1093 public double distance { get; }
1094 public GLib.TimeVal edited { get; }
1095 public double exposure { get; }
1097 public string file_id { owned get; construct; }
1098 public bool flash { get; }
1099 public double focal_length { get; }
1100 public double fstop { get; }
1101 public uint height { get; }
1102 public string image_unique_id { get; }
1104 public bool is_commenting_enabled { get; set; }
1105 public long iso { get; }
1107 public double latitude { get; set; }
1109 public double longitude { get; set; }
1110 public string make { get; }
1111 public string model { get; }
1112 public double position { get; set; }
1113 public uint rotation { get; set; }
1114 public ulong size { get; }
1115 [CCode (array_length = false, array_null_terminated = true)]
1116 public string[] tags { get; set; }
1117 public GLib.TimeVal timestamp { get; set; }
1118 public string version { get; construct; }
1119 public string video_status { get; }
1120 public uint width { get; }
1122 [CCode (type_check_function = "GDATA_IS_PICASAWEB_QUERY", cheader_filename = "gdata/gdata.h")]
1123 public class PicasaWebQuery : GData.Query {
1124 [CCode (cname = "gdata_picasaweb_query_new", has_construct_function = false)]
1125 public PicasaWebQuery (string q);
1126 [CCode (cname = "gdata_picasaweb_query_get_bounding_box")]
1127 public void get_bounding_box (double north, double east, double south, double west);
1128 [CCode (cname = "gdata_picasaweb_query_get_image_size")]
1129 public unowned string get_image_size ();
1130 [CCode (cname = "gdata_picasaweb_query_get_location")]
1131 public unowned string get_location ();
1132 [CCode (cname = "gdata_picasaweb_query_get_tag")]
1133 public unowned string get_tag ();
1134 [CCode (cname = "gdata_picasaweb_query_get_thumbnail_size")]
1135 public unowned string get_thumbnail_size ();
1136 [CCode (cname = "gdata_picasaweb_query_get_visibility")]
1137 public GData.PicasaWebVisibility get_visibility ();
1138 [CCode (cname = "gdata_picasaweb_query_set_bounding_box")]
1139 public void set_bounding_box (double north, double east, double south, double west);
1140 [CCode (cname = "gdata_picasaweb_query_set_image_size")]
1141 public void set_image_size (string image_size);
1142 [CCode (cname = "gdata_picasaweb_query_set_location")]
1143 public void set_location (string location);
1144 [CCode (cname = "gdata_picasaweb_query_set_tag")]
1145 public void set_tag (string tag);
1146 [CCode (cname = "gdata_picasaweb_query_set_thumbnail_size")]
1147 public void set_thumbnail_size (string thumbnail_size);
1148 [CCode (cname = "gdata_picasaweb_query_set_visibility")]
1149 public void set_visibility (GData.PicasaWebVisibility visibility);
1150 [CCode (cname = "gdata_picasaweb_query_new_with_limits", has_construct_function = false)]
1151 public PicasaWebQuery.with_limits (string q, int start_index, int max_results);
1152 public string image_size { get; set; }
1153 public string location { get; set; }
1154 public string tag { get; set; }
1155 public string thumbnail_size { get; set; }
1156 public int visibility { get; set; }
1158 [CCode (type_check_function = "GDATA_IS_PICASAWEB_SERVICE", cheader_filename = "gdata/gdata.h")]
1159 public class PicasaWebService : GData.Service {
1160 [CCode (cname = "gdata_picasaweb_service_new", has_construct_function = false)]
1161 public PicasaWebService (string client_id);
1162 [CCode (cname = "gdata_picasaweb_service_get_user")]
1163 public unowned GData.PicasaWebUser get_user (string username, GLib.Cancellable cancellable) throws GLib.Error;
1164 [CCode (cname = "gdata_picasaweb_service_insert_album")]
1165 public unowned GData.PicasaWebAlbum insert_album (GData.PicasaWebAlbum album, GLib.Cancellable cancellable) throws GLib.Error;
1166 [CCode (cname = "gdata_picasaweb_service_query_all_albums")]
1167 public unowned GData.Feed query_all_albums (GData.Query? query, string? username, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
1168 [CCode (cname = "gdata_picasaweb_service_query_all_albums_async", finish_name = "gdata_picasa_web_service_query_all_albums_finish")]
1169 public async void query_all_albums_async (GData.Query? query, string username, GLib.Cancellable? cancellable, GData.QueryProgressCallback progress_callback);
1170 [CCode (cname = "gdata_picasaweb_service_query_files")]
1171 public unowned GData.Feed query_files (GData.PicasaWebAlbum album, GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
1172 [CCode (cname = "gdata_picasaweb_service_upload_file")]
1173 public unowned GData.PicasaWebFile upload_file (GData.PicasaWebAlbum album, GData.PicasaWebFile file_entry, GLib.File file_data, GLib.Cancellable cancellable) throws GLib.Error;
1174 [CCode (cname = "gdata_picasaweb_service_upload_file_async", finish_name = "gdata_picasa_web_service_upload_file_finish")]
1175 public async GData.PicasaWebFile upload_file_async (GData.PicasaWebAlbum album, GData.PicasaWebFile file_entry, GLib.File file_data, GLib.Cancellable? cancellable = null) throws GLib.Error;
1177 [CCode (cheader_filename = "gdata/gdata.h")]
1178 public class PicasaWebUser : GData.Entry {
1179 [CCode (cname = "gdata_picasaweb_user_get_max_photos_per_album")]
1180 public int get_max_photos_per_album ();
1181 [CCode (cname = "gdata_picasaweb_user_get_nickname")]
1182 public unowned string get_nickname ();
1183 [CCode (cname = "gdata_picasaweb_user_get_quota_current")]
1184 public int64 get_quota_current ();
1185 [CCode (cname = "gdata_picasaweb_user_get_quota_limit")]
1186 public int64 get_quota_limit ();
1187 [CCode (cname = "gdata_picasaweb_user_get_thumbnail_uri")]
1188 public unowned string get_thumbnail_uri ();
1189 [CCode (cname = "gdata_picasaweb_user_get_user")]
1190 public unowned string get_user ();
1191 public int max_photos_per_album { get; }
1192 public string nickname { get; }
1193 public int64 quota_current { get; }
1194 public int64 quota_limit { get; }
1195 public string thumbnail_uri { get; }
1196 public string user { get; }
1198 [CCode (cheader_filename = "gdata/gdata.h")]
1199 public class Query : GLib.Object {
1200 [CCode (has_construct_function = false)]
1201 public Query (string q);
1202 public unowned string get_author ();
1203 public unowned string get_categories ();
1204 public unowned string get_etag ();
1205 public int get_max_results ();
1206 public void get_published_max (GLib.TimeVal published_max);
1207 public void get_published_min (GLib.TimeVal published_min);
1208 public unowned string get_q ();
1209 public virtual void get_query_uri (string feed_uri);
1210 public int get_start_index ();
1211 public void get_updated_max (GLib.TimeVal updated_max);
1212 public void get_updated_min (GLib.TimeVal updated_min);
1213 public void next_page ();
1214 public bool previous_page ();
1215 public void set_author (string author);
1216 public void set_categories (string categories);
1217 public void set_etag (string etag);
1218 public void set_is_strict (bool is_strict);
1219 public void set_max_results (int max_results);
1220 public void set_published_max (GLib.TimeVal published_max);
1221 public void set_published_min (GLib.TimeVal published_min);
1222 public void set_q (string q);
1223 public void set_start_index (int start_index);
1224 public void set_updated_max (GLib.TimeVal updated_max);
1225 public void set_updated_min (GLib.TimeVal updated_min);
1226 [CCode (has_construct_function = false)]
1227 public Query.with_limits (string q, int start_index, int max_results);
1228 public string author { get; set; }
1229 public string categories { get; set; }
1230 public string etag { get; set; }
1232 public bool is_strict { get; set; }
1233 public int max_results { get; set; }
1234 public GLib.TimeVal published_max { get; set; }
1235 public GLib.TimeVal published_min { get; set; }
1236 public string q { get; set; }
1237 public int start_index { get; set; }
1238 public GLib.TimeVal updated_max { get; set; }
1239 public GLib.TimeVal updated_min { get; set; }
1241 [CCode (cheader_filename = "gdata/gdata.h")]
1242 public class Service : GLib.Object {
1244 public virtual void append_query_headers (Soup.Message message);
1245 public bool authenticate (string username, string password, GLib.Cancellable? cancellable) throws GLib.Error;
1246 public async bool authenticate_async (string username, string password, GLib.Cancellable cancellable) throws GLib.Error;
1247 public bool delete_entry (GData.Entry entry, GLib.Cancellable cancellable) throws GLib.Error;
1248 public async bool delete_entry_async (GData.Entry entry, GLib.Cancellable cancellable) throws GLib.Error;
1249 public static GLib.Quark error_quark ();
1250 public unowned string get_client_id ();
1251 public unowned string get_password ();
1252 public unowned Soup.URI get_proxy_uri ();
1253 public unowned string get_username ();
1254 public unowned GData.Entry insert_entry (string upload_uri, GData.Entry entry, GLib.Cancellable cancellable) throws GLib.Error;
1255 public async unowned GData.Entry insert_entry_async (string upload_uri, GData.Entry entry, GLib.Cancellable cancellable) throws GLib.Error;
1256 public bool is_authenticated ();
1258 public virtual bool parse_authentication_response (uint status, string response_body, int length) throws GLib.Error;
1260 public virtual void parse_error_response (GData.OperationType operation_type, uint status, string reason_phrase, string response_body, int length) throws GLib.Error;
1261 public unowned GData.Feed query (string feed_uri, GData.Query query, GLib.Type entry_type, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
1262 public async unowned GData.Feed query_async (string feed_uri, GData.Query query, GLib.Type entry_type, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
1263 public unowned GData.Entry query_single_entry (string entry_id, GData.Query query, GLib.Type entry_type, GLib.Cancellable cancellable) throws GLib.Error;
1264 public async unowned GData.Entry query_single_entry_async (string entry_id, GData.Query query, GLib.Type entry_type, GLib.Cancellable cancellable) throws GLib.Error;
1265 public void set_proxy_uri (Soup.URI proxy_uri);
1266 public unowned GData.Entry update_entry (GData.Entry entry, GLib.Cancellable cancellable) throws GLib.Error;
1267 public async unowned GData.Entry update_entry_async (GData.Entry entry, GLib.Cancellable cancellable) throws GLib.Error;
1269 public bool authenticated { get; }
1270 public string client_id { get; construct; }
1271 public string password { get; }
1272 public Soup.URI proxy_uri { get; set; }
1273 public string username { get; }
1274 public virtual signal unowned string captcha_challenge (string p0);
1276 [CCode (cheader_filename = "gdata/gdata.h")]
1277 public class UploadStream : GLib.OutputStream {
1278 [CCode (type = "GOutputStream*", has_construct_function = false)]
1279 public UploadStream (GData.Service service, string method, string upload_uri, GData.Entry entry, string slug, string content_type);
1280 public unowned string get_content_type ();
1281 public unowned GData.Entry get_entry ();
1282 public unowned string get_response (ssize_t length);
1283 public unowned GData.Service get_service ();
1284 public unowned string get_slug ();
1285 public unowned string get_upload_uri ();
1286 public string content_type { get; construct; }
1287 public GData.Entry entry { get; construct; }
1288 public GData.Service service { get; construct; }
1289 public string slug { get; construct; }
1290 public string upload_uri { get; construct; }
1292 [CCode (type_check_function = "GDATA_IS_YOUTUBE_CONTENT", cheader_filename = "gdata/gdata.h")]
1293 public class YouTubeContent : GData.MediaContent {
1294 [CCode (cname = "gdata_youtube_content_get_format")]
1295 public GData.YouTubeFormat get_format ();
1296 public GData.YouTubeFormat format { get; }
1298 [CCode (type_check_function = "GDATA_IS_YOUTUBE_CREDIT", cheader_filename = "gdata/gdata.h")]
1299 public class YouTubeCredit : GData.MediaCredit {
1300 [CCode (cname = "gdata_youtube_credit_get_entity_type")]
1301 public unowned string get_entity_type ();
1302 public string entity_type { get; }
1304 [CCode (type_check_function = "GDATA_IS_YOUTUBE_QUERY", cheader_filename = "gdata/gdata.h")]
1305 public class YouTubeQuery : GData.Query {
1306 [CCode (cname = "gdata_youtube_query_new", has_construct_function = false)]
1307 public YouTubeQuery (string q);
1308 [CCode (cname = "gdata_youtube_query_get_age")]
1309 public GData.YouTubeAge get_age ();
1310 [CCode (cname = "gdata_youtube_query_get_format")]
1311 public GData.YouTubeFormat get_format ();
1312 [CCode (cname = "gdata_youtube_query_get_language")]
1313 public unowned string get_language ();
1314 [CCode (cname = "gdata_youtube_query_get_location")]
1315 public void get_location (double latitude, double longitude, double radius, bool has_location);
1316 [CCode (cname = "gdata_youtube_query_get_order_by")]
1317 public unowned string get_order_by ();
1318 [CCode (cname = "gdata_youtube_query_get_restriction")]
1319 public unowned string get_restriction ();
1320 [CCode (cname = "gdata_youtube_query_get_safe_search")]
1321 public GData.YouTubeSafeSearch get_safe_search ();
1322 [CCode (cname = "gdata_youtube_query_get_sort_order")]
1323 public GData.YouTubeSortOrder get_sort_order ();
1324 [CCode (cname = "gdata_youtube_query_get_uploader")]
1325 public GData.YouTubeUploader get_uploader ();
1326 [CCode (cname = "gdata_youtube_query_set_age")]
1327 public void set_age (GData.YouTubeAge age);
1328 [CCode (cname = "gdata_youtube_query_set_format")]
1329 public void set_format (GData.YouTubeFormat format);
1330 [CCode (cname = "gdata_youtube_query_set_language")]
1331 public void set_language (string language);
1332 [CCode (cname = "gdata_youtube_query_set_location")]
1333 public void set_location (double latitude, double longitude, double radius, bool has_location);
1334 [CCode (cname = "gdata_youtube_query_set_order_by")]
1335 public void set_order_by (string order_by);
1336 [CCode (cname = "gdata_youtube_query_set_restriction")]
1337 public void set_restriction (string restriction);
1338 [CCode (cname = "gdata_youtube_query_set_safe_search")]
1339 public void set_safe_search (GData.YouTubeSafeSearch safe_search);
1340 [CCode (cname = "gdata_youtube_query_set_sort_order")]
1341 public void set_sort_order (GData.YouTubeSortOrder sort_order);
1342 [CCode (cname = "gdata_youtube_query_set_uploader")]
1343 public void set_uploader (GData.YouTubeUploader uploader);
1344 public GData.YouTubeAge age { get; set; }
1345 public GData.YouTubeFormat format { get; set; }
1347 public bool has_location { get; set; }
1348 public string language { get; set; }
1350 public double latitude { get; set; }
1352 public double location_radius { get; set; }
1354 public double longitude { get; set; }
1355 public string order_by { get; set; }
1356 public string restriction { get; set; }
1357 public GData.YouTubeSafeSearch safe_search { get; set; }
1358 public GData.YouTubeSortOrder sort_order { get; set; }
1359 public GData.YouTubeUploader uploader { get; set; }
1361 [CCode (type_check_function = "GDATA_IS_YOUTUBE_SERVICE", cheader_filename = "gdata/gdata.h")]
1362 public class YouTubeService : GData.Service {
1363 [CCode (cname = "gdata_youtube_service_new", has_construct_function = false)]
1364 public YouTubeService (string developer_key, string client_id);
1365 [CCode (cname = "gdata_youtube_service_error_quark")]
1366 public static GLib.Quark error_quark ();
1367 [CCode (cname = "gdata_youtube_service_get_developer_key")]
1368 public unowned string get_developer_key ();
1369 [CCode (cname = "gdata_youtube_service_get_youtube_user")]
1370 public unowned string get_youtube_user ();
1371 [CCode (cname = "gdata_youtube_service_query_related")]
1372 public unowned GData.Feed query_related (GData.YouTubeVideo video, GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
1373 [CCode (cname = "gdata_youtube_service_query_related_async")]
1374 public async void query_related_async (GData.YouTubeVideo video, GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data);
1375 [CCode (cname = "gdata_youtube_service_query_standard_feed")]
1376 public unowned GData.Feed query_standard_feed (GData.YouTubeStandardFeedType feed_type, GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
1377 [CCode (cname = "gdata_youtube_service_query_standard_feed_async")]
1378 public async void query_standard_feed_async (GData.YouTubeStandardFeedType feed_type, GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback);
1379 [CCode (cname = "gdata_youtube_service_query_videos")]
1380 public unowned GData.Feed query_videos (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
1381 [CCode (cname = "gdata_youtube_service_query_videos_async")]
1382 public async void query_videos_async (GData.Query query, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data);
1383 [CCode (cname = "gdata_youtube_service_upload_video")]
1384 public unowned GData.YouTubeVideo upload_video (GData.YouTubeVideo video, GLib.File video_file, GLib.Cancellable cancellable) throws GLib.Error;
1385 public string developer_key { get; construct; }
1386 public string youtube_user { get; }
1388 [CCode (type_check_function = "GDATA_IS_YOUTUBE_STATE", cheader_filename = "gdata/gdata.h")]
1389 public class YouTubeState : GData.Parsable {
1390 [CCode (cname = "gdata_youtube_state_new", has_construct_function = false)]
1391 public YouTubeState (string name, string message, string reason_code, string help_uri);
1392 [CCode (cname = "gdata_youtube_state_get_help_uri")]
1393 public unowned string get_help_uri ();
1394 [CCode (cname = "gdata_youtube_state_get_message")]
1395 public unowned string get_message ();
1396 [CCode (cname = "gdata_youtube_state_get_name")]
1397 public unowned string get_name ();
1398 [CCode (cname = "gdata_youtube_state_get_reason_code")]
1399 public unowned string get_reason_code ();
1400 public string help_uri { get; }
1401 public string message { get; }
1402 public string name { get; }
1403 public string reason_code { get; }
1405 [CCode (type_check_function = "GDATA_IS_YOUTUBE_VIDEO", cheader_filename = "gdata/gdata.h")]
1406 public class YouTubeVideo : GData.Entry {
1407 [CCode (cname = "gdata_youtube_video_new", has_construct_function = false)]
1408 public YouTubeVideo (string id);
1409 [CCode (cname = "gdata_youtube_video_get_access_control")]
1410 public GData.YouTubePermission get_access_control (string action);
1411 [CCode (cname = "gdata_youtube_video_get_aspect_ratio")]
1412 public unowned string get_aspect_ratio ();
1413 [CCode (cname = "gdata_youtube_video_get_category")]
1414 public unowned GData.MediaCategory get_category ();
1415 [CCode (cname = "gdata_youtube_video_get_credit")]
1416 public unowned GData.YouTubeCredit get_credit ();
1417 [CCode (cname = "gdata_youtube_video_get_description")]
1418 public unowned string get_description ();
1419 [CCode (cname = "gdata_youtube_video_get_duration")]
1420 public uint get_duration ();
1421 [CCode (cname = "gdata_youtube_video_get_favorite_count")]
1422 public uint get_favorite_count ();
1423 [CCode (cname = "gdata_youtube_video_get_keywords")]
1424 public unowned string get_keywords ();
1425 [CCode (cname = "gdata_youtube_video_get_location")]
1426 public unowned string get_location ();
1427 [CCode (cname = "gdata_youtube_video_get_player_uri")]
1428 public unowned string get_player_uri ();
1429 [CCode (cname = "gdata_youtube_video_get_rating")]
1430 public void get_rating (uint min, uint max, uint count, double average);
1431 [CCode (cname = "gdata_youtube_video_get_recorded")]
1432 public void get_recorded (GLib.TimeVal recorded);
1433 [CCode (cname = "gdata_youtube_video_get_state")]
1434 public unowned GData.YouTubeState get_state ();
1435 [CCode (cname = "gdata_youtube_video_get_thumbnails")]
1436 public unowned GLib.List get_thumbnails ();
1437 [CCode (cname = "gdata_youtube_video_get_uploaded")]
1438 public void get_uploaded (GLib.TimeVal uploaded);
1439 [CCode (cname = "gdata_youtube_video_get_video_id")]
1440 public unowned string get_video_id ();
1441 [CCode (cname = "gdata_youtube_video_get_video_id_from_uri")]
1442 public static unowned string get_video_id_from_uri (string video_uri);
1443 [CCode (cname = "gdata_youtube_video_get_view_count")]
1444 public uint get_view_count ();
1445 [CCode (cname = "gdata_youtube_video_is_restricted_in_country")]
1446 public bool is_restricted_in_country (string country);
1447 [CCode (cname = "gdata_youtube_video_look_up_content")]
1448 public unowned GData.YouTubeContent look_up_content (string type);
1449 [CCode (cname = "gdata_youtube_video_set_access_control")]
1450 public void set_access_control (string action, GData.YouTubePermission permission);
1451 [CCode (cname = "gdata_youtube_video_set_aspect_ratio")]
1452 public void set_aspect_ratio (string aspect_ratio);
1453 [CCode (cname = "gdata_youtube_video_set_category")]
1454 public void set_category (GData.MediaCategory category);
1455 [CCode (cname = "gdata_youtube_video_set_description")]
1456 public void set_description (string description);
1457 [CCode (cname = "gdata_youtube_video_set_is_draft")]
1458 public void set_is_draft (bool is_draft);
1459 [CCode (cname = "gdata_youtube_video_set_is_private")]
1460 public void set_is_private (bool is_private);
1461 [CCode (cname = "gdata_youtube_video_set_keywords")]
1462 public void set_keywords (string keywords);
1463 [CCode (cname = "gdata_youtube_video_set_location")]
1464 public void set_location (string location);
1465 [CCode (cname = "gdata_youtube_video_set_recorded")]
1466 public void set_recorded (GLib.TimeVal recorded);
1467 public string aspect_ratio { get; set; }
1469 public double average_rating { get; }
1470 public GData.MediaCategory category { get; set; }
1471 public GData.YouTubeCredit credit { get; }
1472 public string description { get; set; }
1473 public uint duration { get; }
1474 public uint favorite_count { get; }
1476 public bool is_draft { get; set; }
1478 public bool is_private { get; set; }
1479 [CCode (array_length = false, array_null_terminated = true)]
1480 public string[] keywords { get; set; }
1481 public string location { get; set; }
1483 public uint max_rating { get; }
1485 public uint min_rating { get; }
1486 public string player_uri { get; }
1488 public uint rating_count { get; }
1489 public GLib.TimeVal recorded { get; set; }
1490 public GData.YouTubeState state { get; }
1491 public GLib.TimeVal uploaded { get; }
1492 public string video_id { get; }
1493 public uint view_count { get; }
1495 [CCode (cheader_filename = "gdata/gdata.h")]
1496 public interface AccessHandler : GData.Entry {
1497 public bool delete_rule (GData.Service service, GData.AccessRule rule, GLib.Cancellable cancellable) throws GLib.Error;
1498 public unowned GData.Feed get_rules (GData.Service service, GLib.Cancellable cancellable, GData.QueryProgressCallback progress_callback, void* progress_user_data) throws GLib.Error;
1499 public unowned GData.AccessRule insert_rule (GData.Service service, GData.AccessRule rule, GLib.Cancellable cancellable) throws GLib.Error;
1501 public abstract bool is_owner_rule (GData.AccessRule rule);
1502 public unowned GData.AccessRule update_rule (GData.Service service, GData.AccessRule rule, GLib.Cancellable cancellable) throws GLib.Error;
1504 [CCode (cprefix = "GDATA_AUTHENTICATION_ERROR_", cheader_filename = "gdata/gdata.h")]
1505 public enum AuthenticationError {
1514 [CCode (cprefix = "GDATA_DOCUMENTS_PRESENTATION_", cheader_filename = "gdata/gdata.h")]
1515 public enum DocumentsPresentationFormat {
1522 [CCode (cprefix = "GDATA_DOCUMENTS_SERVICE_ERROR_INVALID_CONTENT_", cheader_filename = "gdata/gdata.h")]
1523 public enum DocumentsServiceError {
1526 [CCode (cprefix = "GDATA_DOCUMENTS_SPREADSHEET_", cheader_filename = "gdata/gdata.h")]
1527 public enum DocumentsSpreadsheetFormat {
1535 [CCode (cprefix = "GDATA_DOCUMENTS_TEXT_", cheader_filename = "gdata/gdata.h")]
1536 public enum DocumentsTextFormat {
1546 [CCode (cprefix = "GDATA_MEDIA_EXPRESSION_", cheader_filename = "gdata/gdata.h")]
1547 public enum MediaExpression {
1552 [CCode (cprefix = "GDATA_MEDIA_", cheader_filename = "gdata/gdata.h")]
1553 public enum MediaMedium {
1561 [CCode (cprefix = "GDATA_OPERATION_", cheader_filename = "gdata/gdata.h")]
1562 public enum OperationType {
1571 [CCode (cprefix = "GDATA_PARSER_ERROR_", cheader_filename = "gdata/gdata.h")]
1572 public enum ParserError {
1576 [CCode (cprefix = "GDATA_PICASAWEB_", cheader_filename = "gdata/gdata.h")]
1577 public enum PicasaWebVisibility {
1581 [CCode (cprefix = "GDATA_SERVICE_ERROR_", cheader_filename = "gdata/gdata.h")]
1582 public enum ServiceError {
1585 ENTRY_ALREADY_INSERTED,
1586 AUTHENTICATION_REQUIRED,
1590 BAD_QUERY_PARAMETER,
1594 [CCode (cprefix = "GDATA_YOUTUBE_AGE_", cheader_filename = "gdata/gdata.h")]
1595 public enum YouTubeAge {
1601 [CCode (cprefix = "GDATA_YOUTUBE_FORMAT_", cheader_filename = "gdata/gdata.h")]
1602 public enum YouTubeFormat {
1608 [CCode (cprefix = "GDATA_YOUTUBE_PERMISSION_", cheader_filename = "gdata/gdata.h")]
1609 public enum YouTubePermission {
1614 [CCode (cprefix = "GDATA_YOUTUBE_SAFE_SEARCH_", cheader_filename = "gdata/gdata.h")]
1615 public enum YouTubeSafeSearch {
1620 [CCode (cprefix = "GDATA_YOUTUBE_SERVICE_ERROR_", cheader_filename = "gdata/gdata.h")]
1621 public enum YouTubeServiceError {
1623 ENTRY_QUOTA_EXCEEDED
1625 [CCode (cprefix = "GDATA_YOUTUBE_SORT_", cheader_filename = "gdata/gdata.h")]
1626 public enum YouTubeSortOrder {
1631 [CCode (cprefix = "GDATA_YOUTUBE_", cheader_filename = "gdata/gdata.h")]
1632 public enum YouTubeStandardFeedType {
1638 MOST_DISCUSSED_FEED,
1640 MOST_RESPONDED_FEED,
1641 RECENTLY_FEATURED_FEED,
1642 WATCH_ON_MOBILE_FEED
1644 [CCode (cprefix = "GDATA_YOUTUBE_UPLOADER_", cheader_filename = "gdata/gdata.h")]
1645 public enum YouTubeUploader {
1649 [CCode (cheader_filename = "gdata/gdata.h")]
1650 public delegate void QueryProgressCallback (GData.Entry entry, uint entry_key, uint entry_count);
1651 [CCode (cheader_filename = "gdata/gdata.h")]
1652 public const string ACCESS_ROLE_NONE;
1653 [CCode (cheader_filename = "gdata/gdata.h")]
1654 public const string ACCESS_SCOPE_DEFAULT;
1655 [CCode (cheader_filename = "gdata/gdata.h")]
1656 public const string ACCESS_SCOPE_DOMAIN;
1657 [CCode (cheader_filename = "gdata/gdata.h")]
1658 public const string ACCESS_SCOPE_USER;
1659 [CCode (cheader_filename = "gdata/gdata.h")]
1660 public const string CALENDAR_ACCESS_ROLE_EDITOR;
1661 [CCode (cheader_filename = "gdata/gdata.h")]
1662 public const string CALENDAR_ACCESS_ROLE_FREE_BUSY;
1663 [CCode (cheader_filename = "gdata/gdata.h")]
1664 public const string CALENDAR_ACCESS_ROLE_OWNER;
1665 [CCode (cheader_filename = "gdata/gdata.h")]
1666 public const string CALENDAR_ACCESS_ROLE_READ;
1667 [CCode (cheader_filename = "gdata/gdata.h")]
1668 public const string CALENDAR_ACCESS_ROLE_ROOT;
1669 [CCode (cheader_filename = "gdata/gdata.h")]
1670 public const string DOCUMENTS_ACCESS_ROLE_OWNER;
1671 [CCode (cheader_filename = "gdata/gdata.h")]
1672 public const string DOCUMENTS_ACCESS_ROLE_READER;
1673 [CCode (cheader_filename = "gdata/gdata.h")]
1674 public const string DOCUMENTS_ACCESS_ROLE_WRITER;
1675 [CCode (cheader_filename = "gdata/gdata.h")]
1676 public const string GCONTACT_CALENDAR_FREE_BUSY;
1677 [CCode (cheader_filename = "gdata/gdata.h")]
1678 public const string GCONTACT_CALENDAR_HOME;
1679 [CCode (cheader_filename = "gdata/gdata.h")]
1680 public const string GCONTACT_CALENDAR_WORK;
1681 [CCode (cheader_filename = "gdata/gdata.h")]
1682 public const string GCONTACT_EVENT_ANNIVERSARY;
1683 [CCode (cheader_filename = "gdata/gdata.h")]
1684 public const string GCONTACT_EVENT_OTHER;
1685 [CCode (cheader_filename = "gdata/gdata.h")]
1686 public const string GCONTACT_JOT_HOME;
1687 [CCode (cheader_filename = "gdata/gdata.h")]
1688 public const string GCONTACT_JOT_KEYWORDS;
1689 [CCode (cheader_filename = "gdata/gdata.h")]
1690 public const string GCONTACT_JOT_OTHER;
1691 [CCode (cheader_filename = "gdata/gdata.h")]
1692 public const string GCONTACT_JOT_USER;
1693 [CCode (cheader_filename = "gdata/gdata.h")]
1694 public const string GCONTACT_JOT_WORK;
1695 [CCode (cheader_filename = "gdata/gdata.h")]
1696 public const string GCONTACT_RELATION_ASSISTANT;
1697 [CCode (cheader_filename = "gdata/gdata.h")]
1698 public const string GCONTACT_RELATION_BROTHER;
1699 [CCode (cheader_filename = "gdata/gdata.h")]
1700 public const string GCONTACT_RELATION_CHILD;
1701 [CCode (cheader_filename = "gdata/gdata.h")]
1702 public const string GCONTACT_RELATION_DOMESTIC_PARTNER;
1703 [CCode (cheader_filename = "gdata/gdata.h")]
1704 public const string GCONTACT_RELATION_FATHER;
1705 [CCode (cheader_filename = "gdata/gdata.h")]
1706 public const string GCONTACT_RELATION_FRIEND;
1707 [CCode (cheader_filename = "gdata/gdata.h")]
1708 public const string GCONTACT_RELATION_MANAGER;
1709 [CCode (cheader_filename = "gdata/gdata.h")]
1710 public const string GCONTACT_RELATION_MOTHER;
1711 [CCode (cheader_filename = "gdata/gdata.h")]
1712 public const string GCONTACT_RELATION_PARENT;
1713 [CCode (cheader_filename = "gdata/gdata.h")]
1714 public const string GCONTACT_RELATION_PARTNER;
1715 [CCode (cheader_filename = "gdata/gdata.h")]
1716 public const string GCONTACT_RELATION_REFERRER;
1717 [CCode (cheader_filename = "gdata/gdata.h")]
1718 public const string GCONTACT_RELATION_RELATIVE;
1719 [CCode (cheader_filename = "gdata/gdata.h")]
1720 public const string GCONTACT_RELATION_SISTER;
1721 [CCode (cheader_filename = "gdata/gdata.h")]
1722 public const string GCONTACT_RELATION_SPOUSE;
1723 [CCode (cheader_filename = "gdata/gdata.h")]
1724 public const string GCONTACT_WEBSITE_BLOG;
1725 [CCode (cheader_filename = "gdata/gdata.h")]
1726 public const string GCONTACT_WEBSITE_FTP;
1727 [CCode (cheader_filename = "gdata/gdata.h")]
1728 public const string GCONTACT_WEBSITE_HOME;
1729 [CCode (cheader_filename = "gdata/gdata.h")]
1730 public const string GCONTACT_WEBSITE_HOME_PAGE;
1731 [CCode (cheader_filename = "gdata/gdata.h")]
1732 public const string GCONTACT_WEBSITE_OTHER;
1733 [CCode (cheader_filename = "gdata/gdata.h")]
1734 public const string GCONTACT_WEBSITE_PROFILE;
1735 [CCode (cheader_filename = "gdata/gdata.h")]
1736 public const string GCONTACT_WEBSITE_WORK;
1737 [CCode (cheader_filename = "gdata/gdata.h")]
1738 public const string GD_ADDRESS_USAGE_GENERAL;
1739 [CCode (cheader_filename = "gdata/gdata.h")]
1740 public const string GD_ADDRESS_USAGE_LOCAL;
1741 [CCode (cheader_filename = "gdata/gdata.h")]
1742 public const string GD_EMAIL_ADDRESS_HOME;
1743 [CCode (cheader_filename = "gdata/gdata.h")]
1744 public const string GD_EMAIL_ADDRESS_OTHER;
1745 [CCode (cheader_filename = "gdata/gdata.h")]
1746 public const string GD_EMAIL_ADDRESS_WORK;
1747 [CCode (cheader_filename = "gdata/gdata.h")]
1748 public const string GD_EVENT_STATUS_CANCELED;
1749 [CCode (cheader_filename = "gdata/gdata.h")]
1750 public const string GD_EVENT_STATUS_CONFIRMED;
1751 [CCode (cheader_filename = "gdata/gdata.h")]
1752 public const string GD_EVENT_STATUS_TENTATIVE;
1753 [CCode (cheader_filename = "gdata/gdata.h")]
1754 public const string GD_EVENT_TRANSPARENCY_OPAQUE;
1755 [CCode (cheader_filename = "gdata/gdata.h")]
1756 public const string GD_EVENT_TRANSPARENCY_TRANSPARENT;
1757 [CCode (cheader_filename = "gdata/gdata.h")]
1758 public const string GD_EVENT_VISIBILITY_CONFIDENTIAL;
1759 [CCode (cheader_filename = "gdata/gdata.h")]
1760 public const string GD_EVENT_VISIBILITY_DEFAULT;
1761 [CCode (cheader_filename = "gdata/gdata.h")]
1762 public const string GD_EVENT_VISIBILITY_PRIVATE;
1763 [CCode (cheader_filename = "gdata/gdata.h")]
1764 public const string GD_EVENT_VISIBILITY_PUBLIC;
1765 [CCode (cheader_filename = "gdata/gdata.h")]
1766 public const string GD_IM_ADDRESS_HOME;
1767 [CCode (cheader_filename = "gdata/gdata.h")]
1768 public const string GD_IM_ADDRESS_NETMEETING;
1769 [CCode (cheader_filename = "gdata/gdata.h")]
1770 public const string GD_IM_ADDRESS_OTHER;
1771 [CCode (cheader_filename = "gdata/gdata.h")]
1772 public const string GD_IM_ADDRESS_WORK;
1773 [CCode (cheader_filename = "gdata/gdata.h")]
1774 public const string GD_IM_PROTOCOL_AIM;
1775 [CCode (cheader_filename = "gdata/gdata.h")]
1776 public const string GD_IM_PROTOCOL_GOOGLE_TALK;
1777 [CCode (cheader_filename = "gdata/gdata.h")]
1778 public const string GD_IM_PROTOCOL_ICQ;
1779 [CCode (cheader_filename = "gdata/gdata.h")]
1780 public const string GD_IM_PROTOCOL_JABBER;
1781 [CCode (cheader_filename = "gdata/gdata.h")]
1782 public const string GD_IM_PROTOCOL_LIVE_MESSENGER;
1783 [CCode (cheader_filename = "gdata/gdata.h")]
1784 public const string GD_IM_PROTOCOL_QQ;
1785 [CCode (cheader_filename = "gdata/gdata.h")]
1786 public const string GD_IM_PROTOCOL_SKYPE;
1787 [CCode (cheader_filename = "gdata/gdata.h")]
1788 public const string GD_IM_PROTOCOL_YAHOO_MESSENGER;
1789 [CCode (cheader_filename = "gdata/gdata.h")]
1790 public const string GD_MAIL_CLASS_BOTH;
1791 [CCode (cheader_filename = "gdata/gdata.h")]
1792 public const string GD_MAIL_CLASS_LETTERS;
1793 [CCode (cheader_filename = "gdata/gdata.h")]
1794 public const string GD_MAIL_CLASS_NEITHER;
1795 [CCode (cheader_filename = "gdata/gdata.h")]
1796 public const string GD_MAIL_CLASS_PARCELS;
1797 [CCode (cheader_filename = "gdata/gdata.h")]
1798 public const string GD_ORGANIZATION_OTHER;
1799 [CCode (cheader_filename = "gdata/gdata.h")]
1800 public const string GD_ORGANIZATION_WORK;
1801 [CCode (cheader_filename = "gdata/gdata.h")]
1802 public const string GD_PHONE_NUMBER_ASSISTANT;
1803 [CCode (cheader_filename = "gdata/gdata.h")]
1804 public const string GD_PHONE_NUMBER_CALLBACK;
1805 [CCode (cheader_filename = "gdata/gdata.h")]
1806 public const string GD_PHONE_NUMBER_CAR;
1807 [CCode (cheader_filename = "gdata/gdata.h")]
1808 public const string GD_PHONE_NUMBER_COMPANY_MAIN;
1809 [CCode (cheader_filename = "gdata/gdata.h")]
1810 public const string GD_PHONE_NUMBER_FAX;
1811 [CCode (cheader_filename = "gdata/gdata.h")]
1812 public const string GD_PHONE_NUMBER_HOME;
1813 [CCode (cheader_filename = "gdata/gdata.h")]
1814 public const string GD_PHONE_NUMBER_HOME_FAX;
1815 [CCode (cheader_filename = "gdata/gdata.h")]
1816 public const string GD_PHONE_NUMBER_ISDN;
1817 [CCode (cheader_filename = "gdata/gdata.h")]
1818 public const string GD_PHONE_NUMBER_MAIN;
1819 [CCode (cheader_filename = "gdata/gdata.h")]
1820 public const string GD_PHONE_NUMBER_MOBILE;
1821 [CCode (cheader_filename = "gdata/gdata.h")]
1822 public const string GD_PHONE_NUMBER_OTHER;
1823 [CCode (cheader_filename = "gdata/gdata.h")]
1824 public const string GD_PHONE_NUMBER_OTHER_FAX;
1825 [CCode (cheader_filename = "gdata/gdata.h")]
1826 public const string GD_PHONE_NUMBER_PAGER;
1827 [CCode (cheader_filename = "gdata/gdata.h")]
1828 public const string GD_PHONE_NUMBER_RADIO;
1829 [CCode (cheader_filename = "gdata/gdata.h")]
1830 public const string GD_PHONE_NUMBER_TELEX;
1831 [CCode (cheader_filename = "gdata/gdata.h")]
1832 public const string GD_PHONE_NUMBER_TTY_TDD;
1833 [CCode (cheader_filename = "gdata/gdata.h")]
1834 public const string GD_PHONE_NUMBER_WORK;
1835 [CCode (cheader_filename = "gdata/gdata.h")]
1836 public const string GD_PHONE_NUMBER_WORK_FAX;
1837 [CCode (cheader_filename = "gdata/gdata.h")]
1838 public const string GD_PHONE_NUMBER_WORK_MOBILE;
1839 [CCode (cheader_filename = "gdata/gdata.h")]
1840 public const string GD_PHONE_NUMBER_WORK_PAGER;
1841 [CCode (cheader_filename = "gdata/gdata.h")]
1842 public const string GD_POSTAL_ADDRESS_HOME;
1843 [CCode (cheader_filename = "gdata/gdata.h")]
1844 public const string GD_POSTAL_ADDRESS_OTHER;
1845 [CCode (cheader_filename = "gdata/gdata.h")]
1846 public const string GD_POSTAL_ADDRESS_WORK;
1847 [CCode (cheader_filename = "gdata/gdata.h")]
1848 public const string GD_REMINDER_ALERT;
1849 [CCode (cheader_filename = "gdata/gdata.h")]
1850 public const string GD_REMINDER_EMAIL;
1851 [CCode (cheader_filename = "gdata/gdata.h")]
1852 public const string GD_REMINDER_SMS;
1853 [CCode (cheader_filename = "gdata/gdata.h")]
1854 public const string GD_WHERE_EVENT;
1855 [CCode (cheader_filename = "gdata/gdata.h")]
1856 public const string GD_WHERE_EVENT_ALTERNATE;
1857 [CCode (cheader_filename = "gdata/gdata.h")]
1858 public const string GD_WHERE_EVENT_PARKING;
1859 [CCode (cheader_filename = "gdata/gdata.h")]
1860 public const string GD_WHO_EVENT_ATTENDEE;
1861 [CCode (cheader_filename = "gdata/gdata.h")]
1862 public const string GD_WHO_EVENT_ORGANIZER;
1863 [CCode (cheader_filename = "gdata/gdata.h")]
1864 public const string GD_WHO_EVENT_PERFORMER;
1865 [CCode (cheader_filename = "gdata/gdata.h")]
1866 public const string GD_WHO_EVENT_SPEAKER;
1867 [CCode (cheader_filename = "gdata/gdata.h")]
1868 public const string LINK_ALTERNATE;
1869 [CCode (cheader_filename = "gdata/gdata.h")]
1870 public const string LINK_EDIT;
1871 [CCode (cheader_filename = "gdata/gdata.h")]
1872 public const string LINK_EDIT_MEDIA;
1873 [CCode (cheader_filename = "gdata/gdata.h")]
1874 public const string LINK_ENCLOSURE;
1875 [CCode (cheader_filename = "gdata/gdata.h")]
1876 public const string LINK_RELATED;
1877 [CCode (cheader_filename = "gdata/gdata.h")]
1878 public const string LINK_SELF;
1879 [CCode (cheader_filename = "gdata/gdata.h")]
1880 public const string LINK_VIA;
1881 [CCode (cheader_filename = "gdata/gdata.h")]
1882 public const string PICASAWEB_VIDEO_STATUS_FAILED;
1883 [CCode (cheader_filename = "gdata/gdata.h")]
1884 public const string PICASAWEB_VIDEO_STATUS_FINAL;
1885 [CCode (cheader_filename = "gdata/gdata.h")]
1886 public const string PICASAWEB_VIDEO_STATUS_PENDING;
1887 [CCode (cheader_filename = "gdata/gdata.h")]
1888 public const string PICASAWEB_VIDEO_STATUS_READY;
1889 [CCode (cheader_filename = "gdata/gdata.h")]
1890 public const string YOUTUBE_ACTION_COMMENT;
1891 [CCode (cheader_filename = "gdata/gdata.h")]
1892 public const string YOUTUBE_ACTION_COMMENT_VOTE;
1893 [CCode (cheader_filename = "gdata/gdata.h")]
1894 public const string YOUTUBE_ACTION_EMBED;
1895 [CCode (cheader_filename = "gdata/gdata.h")]
1896 public const string YOUTUBE_ACTION_RATE;
1897 [CCode (cheader_filename = "gdata/gdata.h")]
1898 public const string YOUTUBE_ACTION_SYNDICATE;
1899 [CCode (cheader_filename = "gdata/gdata.h")]
1900 public const string YOUTUBE_ACTION_VIDEO_RESPOND;
1901 [CCode (cheader_filename = "gdata/gdata.h")]
1902 public const string YOUTUBE_ASPECT_RATIO_WIDESCREEN;
1903 [CCode (cheader_filename = "gdata/gdata.h")]
1904 public const string YOUTUBE_CREDIT_ENTITY_PARTNER;
1905 [CCode (cheader_filename = "gdata/gdata.h")]
1906 public static GLib.Quark authentication_error_quark ();
1907 [CCode (cheader_filename = "gdata/gdata.h")]
1908 public static GLib.Quark parser_error_quark ();