$darkmode
Qore GoogleDataProvider Module Reference 1.0
GoogleCalendarEventsListDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace GoogleDataProvider {
28 
31 
32 public:
34  const ProviderInfo = <DataProviderInfo>{
35  "name": "list",
36  "desc": "Google calendar events list API data provider",
37  "type": "GoogleCalendarEventsListDataProvider",
38  "constructor_options": GoogleDataProvider::ConstructorOptions + {
39  "id": <DataProviderOptionInfo>{
40  "type": AbstractDataProviderTypeMap."string",
41  "desc": "The calendar ID",
42  },
43  },
44  "supports_request": True,
45  };
46 
48  const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
49  AbstractDataProvider::DataProviderSummaryInfoKeys
50  });
51 
54 
57 
58 protected:
60  string id;
61 
63  *hash<auto> cal;
64 
65 public:
66 
68  constructor(*hash<auto> options);
69 
70 
72  constructor(GoogleRestClient::GoogleRestClient rest, string id, *hash<auto> cal) ;
73 
74 
76  string getName();
77 
78 
80  *string getDesc();
81 
82 
84 
89 protected:
90  auto doRequestImpl(auto req, *hash<auto> request_options);
91 public:
92 
93 
95 
97 protected:
98  *DataProvider::AbstractDataProviderType getRequestTypeImpl();
99 public:
100 
101 
103 
105 protected:
106  *DataProvider::AbstractDataProviderType getResponseTypeImpl();
107 public:
108 
109 
111  hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
112 
113 };
114 
116 class GoogleCalendarEventsListRequestType : public DataProvider::HashDataType {
117 
118 public:
119 protected:
121  const Fields = {
122  // query parameters
123  "eventTypes": {
124  "type": AbstractDataProviderType::get(new Type("*softlist<string>")),
125  "desc": "Event types to return. Optional. Possible values are:\n"
126  "- `default`\n"
127  "- `focusTime`\n"
128  "- `outOfOffice`\n"
129  "- `workingLocation`\n"
130  "Currently, these are the only allowed values for this field:\n"
131  "- `default`, `focusTime`, `outOfOffice`\n"
132  "- `default`, `focusTime`, `outOfOffice`, `workingLocation`\n"
133  "- `workingLocation`",
134  "allowed_values": (
135  "default",
136  "focusTime",
137  "outOfOffice",
138  "workingLocation",
139  ),
140  "default_value": ("default", "focusTime", "outOfOffice"),
141  },
142  "iCalUID": {
143  "type": AbstractDataProviderTypeMap."*string",
144  "desc": "Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use "
145  "this if you want to search for an event by its iCalendar ID",
146  },
147  "maxAttendees": {
148  "type": AbstractDataProviderTypeMap."*int",
149  "desc": "The maximum number of attendees to include in the response. If there are more than the "
150  "specified number of attendees, only the participant is returned",
151  },
152  "maxResults": {
153  "type": AbstractDataProviderTypeMap."*int",
154  "desc": "Maximum number of events returned on one result page. The number of events in the resulting "
155  "page may be less than this value, or none at all, even if there are more events matching the "
156  "query. Incomplete pages can be detected by a non-empty `nextPageToken` field in the response. By "
157  "default the value is `250` events. The page size can never be larger than `2500` events",
158  },
159  "orderBy": {
160  "type": AbstractDataProviderTypeMap."*string",
161  "desc": "The order of the events returned in the result. The default is an unspecified, stable "
162  "order.\n"
163  "Acceptable values are:\n"
164  "- `startTime`: Order by the start date/time (ascending). This is only available when querying "
165  "single events (i.e. the parameter `singleEvents` is `True`)\n"
166  "- `updated`: Order by last modification time (ascending)",
167  "allowed_values": (
168  "startTime",
169  "updated",
170  ),
171  },
172  "pageToken": {
173  "type": AbstractDataProviderTypeMap."*string",
174  "desc": "Token specifying which result page to return",
175  },
176  "privateExtendedProperty": {
177  "type": AbstractDataProviderType::get(new Type("*softlist<string>")),
178  "desc": "Extended properties constraint specified as propertyName=value. Matches only private "
179  "properties. This parameter might be repeated multiple times to return events that match all "
180  "given constraints",
181  },
182  "q": {
183  "type": AbstractDataProviderTypeMap."*string",
184  "desc": "Free text search terms to find events that match these terms in the following fields: "
185  "`summary`, `description`, `location`, attendee's `displayName`, attendee's `email`",
186  },
187  "sharedExtendedProperty": {
188  "type": AbstractDataProviderType::get(new Type("*softlist<string>")),
189  "desc": "Extended properties constraint specified as propertyName=value. Matches only shared "
190  "properties. This parameter might be repeated multiple times to return events that match all "
191  "given constraints",
192  },
193  "showDeleted": {
195  "desc": "Whether to include deleted events (with status equals `cancelled`) in the result. Cancelled "
196  "instances of recurring events (but not the underlying recurring event) will still be included "
197  "if `showDeleted` and `singleEvents` are both `False`. If `showDeleted` and `singleEvents` are "
198  "both `True`, only single instances of deleted events (but not the underlying recurring events) "
199  "are returned",
200  "default_value": False,
201  },
202  "showHiddenInvitations": {
204  "desc": "Whether to include hidden invitations in the result",
205  "default_value": False,
206  },
207  "singleEvents": {
209  "desc": "Whether to expand recurring events into instances and only return single one-off events and "
210  "instances of recurring events, but not the underlying recurring events themselves",
211  "default_value": False,
212  },
213  "syncToken": {
214  "type": AbstractDataProviderTypeMap."*string",
215  "desc": "Token obtained from the `nextSyncToken` field returned on the last page of results from the "
216  "previous list request. It makes the result of this list request contain only entries that have "
217  "changed since then. All events deleted since the previous list request will always be in the "
218  "result set and it is not allowed to set `showDeleted` to False.\n\n"
219  "There are several query parameters that cannot be specified together with `nextSyncToken` to "
220  "ensure consistency of the client state.\n\n"
221  "These are:\n"
222  "- `iCalUID`\n"
223  "- `orderBy`\n"
224  "- `privateExtendedProperty`\n"
225  "- `q`\n"
226  "- `sharedExtendedProperty`\n"
227  "- `timeMin`\n"
228  "- `timeMax`\n"
229  "- `updatedMin`\n\n"
230  "All other query parameters should be the same as for the initial synchronization to avoid "
231  "undefined behavior. If the `syncToken` expires, the server will respond with a `410 GONE` "
232  "response code and the client should clear its storage and perform a full synchronization "
233  "without any syncToken.\n"
234  "The default is to return all entries",
235  },
236  "timeMax": {
238  "desc": "Upper bound (exclusive) for an event's start time to filter by. The default is not to "
239  "filter by start time. Resolution to the second. If `timeMin` is set, `timeMax` must be greater "
240  "than `timeMin`",
241  },
242  "timeMin": {
244  "desc": "Lower bound (exclusive) for an event's end time to filter by. The default is not to filter "
245  "by end time. Resolution to the second. If `timeMax` is set, `timeMin` must be smaller than "
246  "`timeMax`",
247  },
248  "timeZone": {
249  "type": AbstractDataProviderTypeMap."*string",
250  "desc": "Time zone used in the response. The default is the time zone of the calendar",
251  },
252  "updatedMin": {
254  "desc": "Lower bound for an event's last modification time to filter by. When specified, entries "
255  "deleted since this time will always be included regardless of `showDeleted`. The default is not "
256  "to filter by last modification time",
257  },
258  };
259 
260 public:
261 
264 
265 };
266 
268 class GoogleCalendarDateTimeHashType : public DataProvider::HashDataType {
269 
270 public:
271 protected:
273  const Fields = {
274  "date": {
275  "type": AbstractDataProviderTypeMap."*softdate",
276  "desc": "The date, in the format `yyyy-mm-dd`, if this is an all-day event",
277  },
278  "dateTime": {
279  "type": AbstractDataProviderTypeMap."*softdate",
280  "desc": "The time, as a combined date-time value",
281  },
282  "timeZone": {
283  "type": AbstractDataProviderTypeMap."*string",
284  "desc": "The time zone in which the time is specified, formatted as an IANA Time Zone Database name, "
285  "e.g. `Europe/Zurich`",
286  },
287  };
288 
289 public:
290 
293 
294 };
295 
298 
299 class GoogleCalendarSourceHashBaseType : public HashDataType {
300 
301 public:
302 protected:
304  const Fields = {
305  "title": {
306  "type": AbstractDataProviderTypeMap."*string",
307  "desc": "Title of the source; for example a title of a web page or an email subject",
308 
309  },
310  "url": {
311  "type": AbstractDataProviderTypeMap."*string",
312  "desc": "URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS",
313  },
314  };
315 
316 public:
317 
319  constructor(bool or_nothing) ;
320 
321 };
322 
323 class GoogleCalendarSourceHashType : public GoogleCalendarSourceHashBaseType {
324 
325 public:
326  constructor() ;
327 
328 };
329 
330 class GoogleCalendarSourceHashOrNothingType : public GoogleCalendarSourceHashBaseType {
331 
332 public:
333  constructor() ;
334 
335 };
336 
339 
342 
344 class GoogleCalendarTimeHashBaseType : public HashDataType {
345 
346 public:
347 protected:
349  const Fields = {
350  "date": {
352  "desc": "The date, in the format `yyyy-mm-dd`, if this is an all-day event",
353 
354  },
355  "dateTime": {
357  "desc": "The time, as a combined date-time value (formatted according to RFC3339). A time zone "
358  "offset is required unless a time zone is explicitly specified in `timeZone`",
359  },
360  "timeZone": {
361  "type": AbstractDataProviderTypeMap."*string",
362  "desc": "The time zone in which the time is specified. (Formatted as an IANA Time Zone Database "
363  "name, e.g. `Europe/Zurich`.) For recurring events this field is required and specifies the time "
364  "zone in which the recurrence is expanded. For single events this field is optional and "
365  "indicates a custom time zone for the event start/end",
366  },
367  };
368 
369 public:
370 
372  constructor(bool or_nothing) ;
373 
374 };
375 
377 
378 public:
379  constructor() ;
380 
381 };
382 
383 class GoogleCalendarTimeHashOrNothingType : public GoogleCalendarTimeHashBaseType {
384 
385 public:
386  constructor() ;
387 
388 };
389 
392 
395 
397 class GoogleCalendarEventsElementType : public DataProvider::HashDataType {
398 
399 public:
401  const Fields = {
402  "kind": {
403  "type": AbstractDataProviderTypeMap."string",
404  "desc": "The type of the collection",
405  },
406  "etag": {
407  "type": AbstractDataProviderTypeMap."string",
408  "desc": "A hash that indicates a specific version of the object definition",
409  },
410  "id": {
411  "type": AbstractDataProviderTypeMap."string",
412  "desc": "Opaque identifier of the event. When creating new single or recurring events, you can "
413  "specify their IDs. Provided IDs must follow these rules:\n"
414  "- characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v "
415  "and digits 0-9, see section 3.1.2 in RFC2938\n"
416  "- the length of the ID must be between 5 and 1024 characters\n"
417  "- the ID must be unique per calendar\n"
418  "Due to the globally distributed nature of the system, we cannot guarantee that ID collisions "
419  "will be detected at event creation time. To minimize the risk of collisions we recommend using "
420  "an established UUID algorithm such as one described in RFC4122.\n"
421  "If you do not specify an ID, it will be automatically generated by the server.\n\n"
422  "Note that the `icalUID` and the `id` are not identical and only one of them should be supplied "
423  "at event creation time. One difference in their semantics is that in recurring events, all "
424  "occurrences of one event have different `id`s while they all share the same `icalUID`",
425  "updatable": True,
426  },
427  "status": {
428  "type": AbstractDataProviderTypeMap."string",
429  "desc": "Status of the event. Possible values are:\n"
430  "- `confirmed`: The event is confirmed. This is the default status\n"
431  "- `tentative`: The event is tentatively confirmed\n"
432  " - `cancelled`: The event is cancelled (deleted). The list method returns cancelled events only "
433  "on incremental sync (when `syncToken` or `updatedMin` are specified) or if the "
434  "`showDeleted` flag is set to `True`. The get method always returns them.\n"
435  "A cancelled status represents two different states depending on the event type:\n"
436  "- Cancelled exceptions of an uncancelled recurring event indicate that this instance should "
437  "no longer be presented to the user. Clients should store these events for the lifetime "
438  "of the parent recurring event.\n"
439  "- Cancelled exceptions are only guaranteed to have values for the `id`, `recurringEventId` "
440  "and `originalStartTime` fields populated. The other fields might be empty.\n\n"
441  "All other cancelled events represent deleted events. Clients should remove their locally "
442  "synced copies. Such cancelled events will eventually disappear, so do not rely on them "
443  "being available indefinitely.\n"
444  "Deleted events are only guaranteed to have the `id` field populated.\n\n"
445  "On the organizer's calendar, cancelled events continue to expose event details (`summary`, "
446  "`location`, etc.) so that they can be restored (undeleted). Similarly, the events to which "
447  "the user was invited and that they manually removed continue to provide details. However, "
448  "incremental sync requests with `showDeleted` set to `False` will not return these details.\n"
449  "If an event changes its organizer (for example via the move operation) and the original "
450  "organizer is not on the attendee list, it will leave behind a cancelled event where only "
451  "the `id` field is guaranteed to be populated",
452  "updatable": True,
453  },
454  "htmlLink": {
455  "type": AbstractDataProviderTypeMap."*string",
456  "desc": "An absolute link to this event in the Google Calendar Web UI",
457  },
458  "created": {
459  "type": AbstractDataProviderTypeMap."*softdate",
460  "desc": "Creation time of the event",
461  },
462  "updated": {
463  "type": AbstractDataProviderTypeMap."*softdate",
464  "desc": "Last modification time of the even self.rest = rest;
465 t",
466  },
467  "summary": {
468  "type": AbstractDataProviderTypeMap."*string",
469  "desc": "Title of the event",
470  "updatable": True,
471  },
472  "description": {
473  "type": AbstractDataProviderTypeMap."*string",
474  "desc": "Description of the event. Can contain HTML",
475  "updatable": True,
476  },
477  "location": {
478  "type": AbstractDataProviderTypeMap."*string",
479  "desc": "Geographic location of the event as free-form text",
480  "updatable": True,
481  },
482  "colorId": {
483  "type": AbstractDataProviderTypeMap."*string",
484  "desc": "The color of the event. This is an ID referring to an entry in the event section of the "
485  "`colors` definition",
486  "updatable": True,
487  },
488  "creator": {
489  "type": AbstractDataProviderTypeMap."*hash",
490  "desc": "The creator of the event",
491  },
492  "organizer": {
493  "type": AbstractDataProviderTypeMap."*hash",
494  "desc": "The organizer of the event. If the organizer is also an attendee, this is indicated with a "
495  "separate entry in attendees with the `organizer` field set to `True`. To change the "
496  "`organizer`, use the move operation. Read-only, except when importing an event",
497  "updatable": True,
498  },
499  "start": {
501  "desc": "The (inclusive) start time of the event. For a recurring event, this is the start time of "
502  "the first instance",
503  "updatable": True,
504  },
505  "end": {
507  "desc": "The (exclusive) end time of the event. For a recurring event, this is the end time of the "
508  "first instance",
509  "updatable": True,
510  },
511  "endTimeUnspecified": {
512  "type": AbstractDataProviderTypeMap."*bool",
513  "desc": "Whether the end time is actually unspecified. An end time is still provided for "
514  "compatibility reasons, even if this attribute is set to `True`. The default is `False`",
515  },
516  "iCalUID": {
517  "type": AbstractDataProviderTypeMap."*string",
518  "desc": "Event unique identifier as defined in RFC5545. It is used to uniquely identify events "
519  "across calendaring systems and must be supplied when importing events via the import method.\n"
520  "Note that `iCalUID` and `id` are not identical and only one of them should be supplied at event "
521  "creation time. One difference in their semantics is that in recurring events, all occurrences "
522  "of one event have different ids while they all share the same `iCalUID`. To retrieve an event "
523  "using its `iCalUID`, call the `events.list` method using the `iCalUID` parameter. To retrieve "
524  "an event using its `id`, call the `events.get` method",
525  },
526  "locked": {
527  "type": AbstractDataProviderTypeMap."*bool",
528  "desc": "Whether this is a locked event copy where no changes can be made to the main event fields "
529  "`summary`, `description`, `location`, `start`, `end` or `recurrence`. Read-Only. The default is "
530  "`False`",
531  },
532  "sequence": {
533  "type": AbstractDataProviderTypeMap."*int",
534  "desc": "Sequence number as per iCalendar",
535  "updatable": True,
536  },
537  "reminders": {
538  "type": AbstractDataProviderTypeMap."*hash",
539  "desc": "Information about the event's reminders for the authenticated user",
540  "updatable": True,
541  },
542  "eventType": {
543  "type": AbstractDataProviderTypeMap."*string",
544  "desc": "Specific type of the event. This cannot be modified after the event is created. Possible "
545  "values are:\n"
546  "- `default`: A regular event or not further specified\n"
547  "- `outOfOffice`: An out-of-office event\n"
548  "- `focusTime`: A focus-time event\n"
549  "- `workingLocation`: A working location event\n"
550  "Currently, only `default` and `workingLocation` events can be created using the API. Extended "
551  "support for other event types will be made available in later releases",
552  "updatable": True,
553  },
554  "transparency": {
555  "type": AbstractDataProviderTypeMap."*string",
556  "desc": "Whether the event blocks time on the calendar. Optional. Possible values are:\n"
557  "- `opaque`:Default value. The event does block time on the calendar. This is equivalent to "
558  "setting `Show me as` to `Busy` in the Calendar UI\n"
559  "- `transparent`: The event does not block time on the calendar. This is equivalent to setting "
560  "`Show me as` to `Available` in the Calendar UI",
561  "updatable": True,
562  },
563  "visibility": {
564  "type": AbstractDataProviderTypeMap."*string",
565  "desc": "Visibility of the event. Optional. Possible values are:\n"
566  "- `default`: Uses the default visibility for events on the calendar. This is the default value\n"
567  "- `public`: The event is public and event details are visible to all readers of the calendar\n"
568  "- `private`: The event is private and only event attendees may view event details\n"
569  "- `confidential`: The event is private. This value is provided for compatibility reasons",
570  "updatable": True,
571  },
572  "attendees": {
573  "type": AbstractDataProviderTypeMap."*list",
574  "desc": "The attendees of the event. See the 'Events with attendees' guide for more information on "
575  "scheduling events with other calendar users. Service accounts need to use domain-wide "
576  "delegation of authority to populate the attendee list",
577  "updatable": True,
578  },
579  "privateCopy": {
580  "type": AbstractDataProviderTypeMap."*bool",
581  "desc": "If set to `True`, Event propagation is disabled. Note that it is not the same thing as "
582  "Private event properties. Optional. Immutable. The default is `False`",
583  },
584  "recurringEventId": {
585  "type": AbstractDataProviderTypeMap."*string",
586  "desc": "For an instance of a recurring event, this is the id of the recurring event to which this "
587  "instance belongs. Immutable",
588  },
589  "originalStartTime": {
591  "desc": "For an instance of a recurring event, this is the time at which this event would start "
592  "according to the recurrence data in the recurring event identified by `recurringEventId`. It "
593  "uniquely identifies the instance within the recurring event series even if the instance was "
594  "moved to a different time. Immutable",
595  "updatable": True,
596  },
597  "gadget": {
598  "type": AbstractDataProviderTypeMap."*hash",
599  "desc": "A gadget that extends this event. Gadgets are deprecated; this structure is instead only "
600  "used for returning birthday calendar metadata",
601  },
602  "guestsCanInviteOthers": {
603  "type": AbstractDataProviderTypeMap."*bool",
604  "desc": "Whether attendees other than the organizer can invite others to the event. Optional. The "
605  "default is `True`",
606  "updatable": True,
607  },
608  "guestsCanModify": {
609  "type": AbstractDataProviderTypeMap."*bool",
610  "desc": "Whether attendees other than the organizer can modify the event. Optional. The default is "
611  "`False`",
612  "updatable": True,
613  },
614  "guestsCanSeeOtherGuests": {
615  "type": AbstractDataProviderTypeMap."*bool",
616  "desc": "Whether attendees other than the organizer can see who the event's attendees are. Optional. "
617  "The default is `True`",
618  "updatable": True,
619  },
620  "source": {
622  "desc": "Source from which the event was created. For example, a web page, an email message or any "
623  "document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the "
624  "creator of the event",
625  "updatable": True,
626  },
627  "recurrence": {
628  "type": new ListDataType("GoogleCalendarRecurrence", StringType, True),
629  "desc": "List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in "
630  "RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end "
631  "times are specified in the `start` and `end` fields. This field is omitted for single events or "
632  "instances of recurring events",
633  "updatable": True,
634  },
635  "extendedProperties": {
636  "type": AbstractDataProviderTypeMap."*hash",
637  "desc": "Extended properties of the event",
638  "updatable": True,
639  },
640  "hangoutLink": {
641  "type": AbstractDataProviderTypeMap."*string",
642  "desc": "An absolute link to the Google Hangout associated with this event. Read-only",
643  },
644  "conferenceData": {
645  "type": AbstractDataProviderTypeMap."*hash",
646  "desc": "An absolute link to the Google Hangout associated with this event. Read-only",
647  },
648  "attachments": {
649  "type": new ListDataType("GoogleCalendarAttachment", AutoHashType, True),
650  "desc": "File attachments for the event.\n"
651  "In order to modify attachments the `supportsAttachments` request parameter should be set to "
652  "`True`.\n"
653  "There can be at most 25 attachments per event",
654  "updatable": True,
655  },
656  "workingLocationProperties": {
657  "type": AbstractDataProviderTypeMap."*hash",
658  "desc": "Working location event data",
659  "updatable": True,
660  },
661  /*
662  "": {
663  "type": AbstractDataProviderTypeMap."*string",
664  "desc": "",
665  },
666  */
667  };
668 
671 
672 };
673 
675 class GoogleCalendarEventsListResponseType : public DataProvider::HashDataType {
676 
677 public:
678 protected:
680  const Fields = {
681  "kind": {
682  "type": AbstractDataProviderTypeMap."string",
683  "desc": "The type of the collection",
684  },
685  "etag": {
686  "type": AbstractDataProviderTypeMap."string",
687  "desc": "A hash that indicates a specific version of the object definition",
688  },
689  "summary": {
690  "type": AbstractDataProviderTypeMap."string",
691  "desc": "Title of the calendar",
692  },
693  "description": {
694  "type": AbstractDataProviderTypeMap."string",
695  "desc": "Description of the calendar",
696  },
697  "updated": {
698  "type": AbstractDataProviderTypeMap."softdate",
699  "desc": "Last modification time of the calendar",
700  },
701  "timeZone": {
702  "type": AbstractDataProviderTypeMap."string",
703  "desc": "The time zone of the calendar",
704  },
705  "accessRole": {
706  "type": AbstractDataProviderTypeMap."string",
707  "desc": "The user's access role for this calendar. Read-only. Possible values are:\n"
708  "- `none`: The user has no access\n"
709  "- `freeBusyReader`: The user has read access to free/busy information\n"
710  "- `reader`: The user has read access to the calendar. Private events will appear to users with "
711  "reader access, but event details will be hidden\n"
712  "- `writer`: The user has read and write access to the calendar. Private events will appear to "
713  "users with writer access, and event details will be visible\n"
714  "- `owner`: The user has ownership of the calendar. This role has all of the permissions of the "
715  "writer role with the additional ability to see and manipulate ACLs",
716  },
717  "defaultReminders":{
718  "type": AbstractDataProviderTypeMap."list",
719  "desc": "The default reminders on the calendar for the authenticated user. These reminders apply to "
720  "all events on this calendar that do not explicitly override them (i.e. do not have "
721  "`reminders.useDefault` set to `True`)",
722  },
723  "nextPageToken": {
724  "type": AbstractDataProviderTypeMap."*string",
725  "desc": "Token used to access the next page of this result. Omitted if no further results are "
726  "available, in which case `nextSyncToken` is provided",
727  },
728  "nextSyncToken": {
729  "type": AbstractDataProviderTypeMap."*string",
730  "desc": "A synchronization token for the data",
731  },
732  "items": {
733  "type": new ListDataType("*GoogleCalendarEventsElementType", new GoogleCalendarEventsElementType(),
734  True),
735  "desc": "response items",
736  }
737  };
738 
739 public:
740 
743 
744 };
745 };
Google date/time object.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:268
const Fields
Field descriptions.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:273
Google calendar event data type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:397
const Fields
Field descriptions.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:401
The Google calendar events list API data provider.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:30
const RequestType
Request type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:53
*hash< auto > cal
The calendar's metadata.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:63
constructor(*hash< auto > options)
Creates the object from constructor options.
const ProviderSummaryInfo
Provider summary info.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:48
string id
The calendar's ID.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:60
constructor(GoogleRestClient::GoogleRestClient rest, string id, *hash< auto > cal)
Creates the object from a REST connection.
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
*string getDesc()
Returns the data provider description.
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const ResponseType
Response type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:56
const ProviderInfo
Provider info.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:34
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
string getName()
Returns the data provider name.
Google calender events list request data type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:116
const Fields
Field descriptions.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:121
Create calendar events request data type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:675
const Fields
Field descriptions.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:680
Base type for Google calendar time hash types.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:344
const Fields
Field descriptions.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:349
constructor(bool or_nothing)
Creates the object.
The Google data provider base class.
Definition: GoogleDataProviderBase.qc.dox.h:28
*GoogleRestClient::GoogleRestClient rest
The REST client object for API calls.
Definition: GoogleDataProviderBase.qc.dox.h:33
const ConstructorOptions
Constructor options.
Definition: GoogleDataProvider.qc.dox.h:40
const True
const False
Qore GoogleDataProvider module definition.
Definition: GoogleCalendarBaseDataProvider.qc.dox.h:26
const GoogleCalendarDateTimeHashType
Timestamp string type for query parameters.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:297
const SoftDateDataProviderStringType
Data provider type for timestamps in API arguments.
Definition: GoogleDataProvider.qc.dox.h:163
const GoogleCalendarTimeHashType
Google calendar time hash type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:391
const SoftTimestampDataProviderStringType
Data provider type for timestamps in API arguments.
Definition: GoogleDataProvider.qc.dox.h:147
const GoogleCalendarSourceHashOrNothingType
Google calendar source "or nothing" type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:341
const GoogleCalendarTimeHashOrNothingType
Google calendar time hash "or nothing" type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:394
const GoogleCalendarSourceHashType
Google calendar source type.
Definition: GoogleCalendarEventsListDataProvider.qc.dox.h:338
const SoftBoolDataProviderStringType
Boolean data provider string type for query parameters.
Definition: GoogleDataProvider.qc.dox.h:127