PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.2.3
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.2.3
9.1.2 9.1.1 9.1.0 9.0.2 9.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 All 153 releases
wp-analytify / lib / Google / Service / Calendar.php

Calendar.php in Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) 1.2.3, at lib/Google/Service/Calendar.php

4,006 lines 109.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Copyright 2010 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18 /**
19 * Service definition for Calendar (v3).
20 *
21 * <p>
22 * Lets you manipulate events and other calendar data.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/google-apps/calendar/firstapp" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Analytify_Google_Service_Calendar extends Analytify_Google_Service
33 {
34 /** Manage your calendars. */
35 const CALENDAR = "https://www.googleapis.com/auth/calendar";
36 /** View your calendars. */
37 const CALENDAR_READONLY = "https://www.googleapis.com/auth/calendar.readonly";
38
39 public $acl;
40 public $calendarList;
41 public $calendars;
42 public $channels;
43 public $colors;
44 public $events;
45 public $freebusy;
46 public $settings;
47
48
49 /**
50 * Constructs the internal representation of the Calendar service.
51 *
52 * @param Analytify_Google_Client $client
53 */
54 public function __construct(Analytify_Google_Client $client)
55 {
56 parent::__construct($client);
57 $this->servicePath = 'calendar/v3/';
58 $this->version = 'v3';
59 $this->serviceName = 'calendar';
60
61 $this->acl = new Analytify_Google_Service_Calendar_Acl_Resource(
62 $this,
63 $this->serviceName,
64 'acl',
65 array(
66 'methods' => array(
67 'delete' => array(
68 'path' => 'calendars/{calendarId}/acl/{ruleId}',
69 'httpMethod' => 'DELETE',
70 'parameters' => array(
71 'calendarId' => array(
72 'location' => 'path',
73 'type' => 'string',
74 'required' => true,
75 ),
76 'ruleId' => array(
77 'location' => 'path',
78 'type' => 'string',
79 'required' => true,
80 ),
81 ),
82 ),'get' => array(
83 'path' => 'calendars/{calendarId}/acl/{ruleId}',
84 'httpMethod' => 'GET',
85 'parameters' => array(
86 'calendarId' => array(
87 'location' => 'path',
88 'type' => 'string',
89 'required' => true,
90 ),
91 'ruleId' => array(
92 'location' => 'path',
93 'type' => 'string',
94 'required' => true,
95 ),
96 ),
97 ),'insert' => array(
98 'path' => 'calendars/{calendarId}/acl',
99 'httpMethod' => 'POST',
100 'parameters' => array(
101 'calendarId' => array(
102 'location' => 'path',
103 'type' => 'string',
104 'required' => true,
105 ),
106 ),
107 ),'list' => array(
108 'path' => 'calendars/{calendarId}/acl',
109 'httpMethod' => 'GET',
110 'parameters' => array(
111 'calendarId' => array(
112 'location' => 'path',
113 'type' => 'string',
114 'required' => true,
115 ),
116 'pageToken' => array(
117 'location' => 'query',
118 'type' => 'string',
119 ),
120 'syncToken' => array(
121 'location' => 'query',
122 'type' => 'string',
123 ),
124 'maxResults' => array(
125 'location' => 'query',
126 'type' => 'integer',
127 ),
128 'showDeleted' => array(
129 'location' => 'query',
130 'type' => 'boolean',
131 ),
132 ),
133 ),'patch' => array(
134 'path' => 'calendars/{calendarId}/acl/{ruleId}',
135 'httpMethod' => 'PATCH',
136 'parameters' => array(
137 'calendarId' => array(
138 'location' => 'path',
139 'type' => 'string',
140 'required' => true,
141 ),
142 'ruleId' => array(
143 'location' => 'path',
144 'type' => 'string',
145 'required' => true,
146 ),
147 ),
148 ),'update' => array(
149 'path' => 'calendars/{calendarId}/acl/{ruleId}',
150 'httpMethod' => 'PUT',
151 'parameters' => array(
152 'calendarId' => array(
153 'location' => 'path',
154 'type' => 'string',
155 'required' => true,
156 ),
157 'ruleId' => array(
158 'location' => 'path',
159 'type' => 'string',
160 'required' => true,
161 ),
162 ),
163 ),'watch' => array(
164 'path' => 'calendars/{calendarId}/acl/watch',
165 'httpMethod' => 'POST',
166 'parameters' => array(
167 'calendarId' => array(
168 'location' => 'path',
169 'type' => 'string',
170 'required' => true,
171 ),
172 'pageToken' => array(
173 'location' => 'query',
174 'type' => 'string',
175 ),
176 'syncToken' => array(
177 'location' => 'query',
178 'type' => 'string',
179 ),
180 'maxResults' => array(
181 'location' => 'query',
182 'type' => 'integer',
183 ),
184 'showDeleted' => array(
185 'location' => 'query',
186 'type' => 'boolean',
187 ),
188 ),
189 ),
190 )
191 )
192 );
193 $this->calendarList = new Analytify_Google_Service_Calendar_CalendarList_Resource(
194 $this,
195 $this->serviceName,
196 'calendarList',
197 array(
198 'methods' => array(
199 'delete' => array(
200 'path' => 'users/me/calendarList/{calendarId}',
201 'httpMethod' => 'DELETE',
202 'parameters' => array(
203 'calendarId' => array(
204 'location' => 'path',
205 'type' => 'string',
206 'required' => true,
207 ),
208 ),
209 ),'get' => array(
210 'path' => 'users/me/calendarList/{calendarId}',
211 'httpMethod' => 'GET',
212 'parameters' => array(
213 'calendarId' => array(
214 'location' => 'path',
215 'type' => 'string',
216 'required' => true,
217 ),
218 ),
219 ),'insert' => array(
220 'path' => 'users/me/calendarList',
221 'httpMethod' => 'POST',
222 'parameters' => array(
223 'colorRgbFormat' => array(
224 'location' => 'query',
225 'type' => 'boolean',
226 ),
227 ),
228 ),'list' => array(
229 'path' => 'users/me/calendarList',
230 'httpMethod' => 'GET',
231 'parameters' => array(
232 'syncToken' => array(
233 'location' => 'query',
234 'type' => 'string',
235 ),
236 'showDeleted' => array(
237 'location' => 'query',
238 'type' => 'boolean',
239 ),
240 'minAccessRole' => array(
241 'location' => 'query',
242 'type' => 'string',
243 ),
244 'maxResults' => array(
245 'location' => 'query',
246 'type' => 'integer',
247 ),
248 'pageToken' => array(
249 'location' => 'query',
250 'type' => 'string',
251 ),
252 'showHidden' => array(
253 'location' => 'query',
254 'type' => 'boolean',
255 ),
256 ),
257 ),'patch' => array(
258 'path' => 'users/me/calendarList/{calendarId}',
259 'httpMethod' => 'PATCH',
260 'parameters' => array(
261 'calendarId' => array(
262 'location' => 'path',
263 'type' => 'string',
264 'required' => true,
265 ),
266 'colorRgbFormat' => array(
267 'location' => 'query',
268 'type' => 'boolean',
269 ),
270 ),
271 ),'update' => array(
272 'path' => 'users/me/calendarList/{calendarId}',
273 'httpMethod' => 'PUT',
274 'parameters' => array(
275 'calendarId' => array(
276 'location' => 'path',
277 'type' => 'string',
278 'required' => true,
279 ),
280 'colorRgbFormat' => array(
281 'location' => 'query',
282 'type' => 'boolean',
283 ),
284 ),
285 ),'watch' => array(
286 'path' => 'users/me/calendarList/watch',
287 'httpMethod' => 'POST',
288 'parameters' => array(
289 'syncToken' => array(
290 'location' => 'query',
291 'type' => 'string',
292 ),
293 'showDeleted' => array(
294 'location' => 'query',
295 'type' => 'boolean',
296 ),
297 'minAccessRole' => array(
298 'location' => 'query',
299 'type' => 'string',
300 ),
301 'maxResults' => array(
302 'location' => 'query',
303 'type' => 'integer',
304 ),
305 'pageToken' => array(
306 'location' => 'query',
307 'type' => 'string',
308 ),
309 'showHidden' => array(
310 'location' => 'query',
311 'type' => 'boolean',
312 ),
313 ),
314 ),
315 )
316 )
317 );
318 $this->calendars = new Analytify_Google_Service_Calendar_Calendars_Resource(
319 $this,
320 $this->serviceName,
321 'calendars',
322 array(
323 'methods' => array(
324 'clear' => array(
325 'path' => 'calendars/{calendarId}/clear',
326 'httpMethod' => 'POST',
327 'parameters' => array(
328 'calendarId' => array(
329 'location' => 'path',
330 'type' => 'string',
331 'required' => true,
332 ),
333 ),
334 ),'delete' => array(
335 'path' => 'calendars/{calendarId}',
336 'httpMethod' => 'DELETE',
337 'parameters' => array(
338 'calendarId' => array(
339 'location' => 'path',
340 'type' => 'string',
341 'required' => true,
342 ),
343 ),
344 ),'get' => array(
345 'path' => 'calendars/{calendarId}',
346 'httpMethod' => 'GET',
347 'parameters' => array(
348 'calendarId' => array(
349 'location' => 'path',
350 'type' => 'string',
351 'required' => true,
352 ),
353 ),
354 ),'insert' => array(
355 'path' => 'calendars',
356 'httpMethod' => 'POST',
357 'parameters' => array(),
358 ),'patch' => array(
359 'path' => 'calendars/{calendarId}',
360 'httpMethod' => 'PATCH',
361 'parameters' => array(
362 'calendarId' => array(
363 'location' => 'path',
364 'type' => 'string',
365 'required' => true,
366 ),
367 ),
368 ),'update' => array(
369 'path' => 'calendars/{calendarId}',
370 'httpMethod' => 'PUT',
371 'parameters' => array(
372 'calendarId' => array(
373 'location' => 'path',
374 'type' => 'string',
375 'required' => true,
376 ),
377 ),
378 ),
379 )
380 )
381 );
382 $this->channels = new Analytify_Google_Service_Calendar_Channels_Resource(
383 $this,
384 $this->serviceName,
385 'channels',
386 array(
387 'methods' => array(
388 'stop' => array(
389 'path' => 'channels/stop',
390 'httpMethod' => 'POST',
391 'parameters' => array(),
392 ),
393 )
394 )
395 );
396 $this->colors = new Analytify_Google_Service_Calendar_Colors_Resource(
397 $this,
398 $this->serviceName,
399 'colors',
400 array(
401 'methods' => array(
402 'get' => array(
403 'path' => 'colors',
404 'httpMethod' => 'GET',
405 'parameters' => array(),
406 ),
407 )
408 )
409 );
410 $this->events = new Analytify_Google_Service_Calendar_Events_Resource(
411 $this,
412 $this->serviceName,
413 'events',
414 array(
415 'methods' => array(
416 'delete' => array(
417 'path' => 'calendars/{calendarId}/events/{eventId}',
418 'httpMethod' => 'DELETE',
419 'parameters' => array(
420 'calendarId' => array(
421 'location' => 'path',
422 'type' => 'string',
423 'required' => true,
424 ),
425 'eventId' => array(
426 'location' => 'path',
427 'type' => 'string',
428 'required' => true,
429 ),
430 'sendNotifications' => array(
431 'location' => 'query',
432 'type' => 'boolean',
433 ),
434 ),
435 ),'get' => array(
436 'path' => 'calendars/{calendarId}/events/{eventId}',
437 'httpMethod' => 'GET',
438 'parameters' => array(
439 'calendarId' => array(
440 'location' => 'path',
441 'type' => 'string',
442 'required' => true,
443 ),
444 'eventId' => array(
445 'location' => 'path',
446 'type' => 'string',
447 'required' => true,
448 ),
449 'timeZone' => array(
450 'location' => 'query',
451 'type' => 'string',
452 ),
453 'alwaysIncludeEmail' => array(
454 'location' => 'query',
455 'type' => 'boolean',
456 ),
457 'maxAttendees' => array(
458 'location' => 'query',
459 'type' => 'integer',
460 ),
461 ),
462 ),'import' => array(
463 'path' => 'calendars/{calendarId}/events/import',
464 'httpMethod' => 'POST',
465 'parameters' => array(
466 'calendarId' => array(
467 'location' => 'path',
468 'type' => 'string',
469 'required' => true,
470 ),
471 ),
472 ),'insert' => array(
473 'path' => 'calendars/{calendarId}/events',
474 'httpMethod' => 'POST',
475 'parameters' => array(
476 'calendarId' => array(
477 'location' => 'path',
478 'type' => 'string',
479 'required' => true,
480 ),
481 'sendNotifications' => array(
482 'location' => 'query',
483 'type' => 'boolean',
484 ),
485 'maxAttendees' => array(
486 'location' => 'query',
487 'type' => 'integer',
488 ),
489 ),
490 ),'instances' => array(
491 'path' => 'calendars/{calendarId}/events/{eventId}/instances',
492 'httpMethod' => 'GET',
493 'parameters' => array(
494 'calendarId' => array(
495 'location' => 'path',
496 'type' => 'string',
497 'required' => true,
498 ),
499 'eventId' => array(
500 'location' => 'path',
501 'type' => 'string',
502 'required' => true,
503 ),
504 'showDeleted' => array(
505 'location' => 'query',
506 'type' => 'boolean',
507 ),
508 'timeMax' => array(
509 'location' => 'query',
510 'type' => 'string',
511 ),
512 'alwaysIncludeEmail' => array(
513 'location' => 'query',
514 'type' => 'boolean',
515 ),
516 'maxResults' => array(
517 'location' => 'query',
518 'type' => 'integer',
519 ),
520 'pageToken' => array(
521 'location' => 'query',
522 'type' => 'string',
523 ),
524 'timeMin' => array(
525 'location' => 'query',
526 'type' => 'string',
527 ),
528 'timeZone' => array(
529 'location' => 'query',
530 'type' => 'string',
531 ),
532 'originalStart' => array(
533 'location' => 'query',
534 'type' => 'string',
535 ),
536 'maxAttendees' => array(
537 'location' => 'query',
538 'type' => 'integer',
539 ),
540 ),
541 ),'list' => array(
542 'path' => 'calendars/{calendarId}/events',
543 'httpMethod' => 'GET',
544 'parameters' => array(
545 'calendarId' => array(
546 'location' => 'path',
547 'type' => 'string',
548 'required' => true,
549 ),
550 'orderBy' => array(
551 'location' => 'query',
552 'type' => 'string',
553 ),
554 'showHiddenInvitations' => array(
555 'location' => 'query',
556 'type' => 'boolean',
557 ),
558 'syncToken' => array(
559 'location' => 'query',
560 'type' => 'string',
561 ),
562 'showDeleted' => array(
563 'location' => 'query',
564 'type' => 'boolean',
565 ),
566 'iCalUID' => array(
567 'location' => 'query',
568 'type' => 'string',
569 ),
570 'updatedMin' => array(
571 'location' => 'query',
572 'type' => 'string',
573 ),
574 'singleEvents' => array(
575 'location' => 'query',
576 'type' => 'boolean',
577 ),
578 'timeMax' => array(
579 'location' => 'query',
580 'type' => 'string',
581 ),
582 'alwaysIncludeEmail' => array(
583 'location' => 'query',
584 'type' => 'boolean',
585 ),
586 'maxResults' => array(
587 'location' => 'query',
588 'type' => 'integer',
589 ),
590 'q' => array(
591 'location' => 'query',
592 'type' => 'string',
593 ),
594 'pageToken' => array(
595 'location' => 'query',
596 'type' => 'string',
597 ),
598 'timeMin' => array(
599 'location' => 'query',
600 'type' => 'string',
601 ),
602 'timeZone' => array(
603 'location' => 'query',
604 'type' => 'string',
605 ),
606 'privateExtendedProperty' => array(
607 'location' => 'query',
608 'type' => 'string',
609 'repeated' => true,
610 ),
611 'sharedExtendedProperty' => array(
612 'location' => 'query',
613 'type' => 'string',
614 'repeated' => true,
615 ),
616 'maxAttendees' => array(
617 'location' => 'query',
618 'type' => 'integer',
619 ),
620 ),
621 ),'move' => array(
622 'path' => 'calendars/{calendarId}/events/{eventId}/move',
623 'httpMethod' => 'POST',
624 'parameters' => array(
625 'calendarId' => array(
626 'location' => 'path',
627 'type' => 'string',
628 'required' => true,
629 ),
630 'eventId' => array(
631 'location' => 'path',
632 'type' => 'string',
633 'required' => true,
634 ),
635 'destination' => array(
636 'location' => 'query',
637 'type' => 'string',
638 'required' => true,
639 ),
640 'sendNotifications' => array(
641 'location' => 'query',
642 'type' => 'boolean',
643 ),
644 ),
645 ),'patch' => array(
646 'path' => 'calendars/{calendarId}/events/{eventId}',
647 'httpMethod' => 'PATCH',
648 'parameters' => array(
649 'calendarId' => array(
650 'location' => 'path',
651 'type' => 'string',
652 'required' => true,
653 ),
654 'eventId' => array(
655 'location' => 'path',
656 'type' => 'string',
657 'required' => true,
658 ),
659 'sendNotifications' => array(
660 'location' => 'query',
661 'type' => 'boolean',
662 ),
663 'alwaysIncludeEmail' => array(
664 'location' => 'query',
665 'type' => 'boolean',
666 ),
667 'maxAttendees' => array(
668 'location' => 'query',
669 'type' => 'integer',
670 ),
671 ),
672 ),'quickAdd' => array(
673 'path' => 'calendars/{calendarId}/events/quickAdd',
674 'httpMethod' => 'POST',
675 'parameters' => array(
676 'calendarId' => array(
677 'location' => 'path',
678 'type' => 'string',
679 'required' => true,
680 ),
681 'text' => array(
682 'location' => 'query',
683 'type' => 'string',
684 'required' => true,
685 ),
686 'sendNotifications' => array(
687 'location' => 'query',
688 'type' => 'boolean',
689 ),
690 ),
691 ),'update' => array(
692 'path' => 'calendars/{calendarId}/events/{eventId}',
693 'httpMethod' => 'PUT',
694 'parameters' => array(
695 'calendarId' => array(
696 'location' => 'path',
697 'type' => 'string',
698 'required' => true,
699 ),
700 'eventId' => array(
701 'location' => 'path',
702 'type' => 'string',
703 'required' => true,
704 ),
705 'sendNotifications' => array(
706 'location' => 'query',
707 'type' => 'boolean',
708 ),
709 'alwaysIncludeEmail' => array(
710 'location' => 'query',
711 'type' => 'boolean',
712 ),
713 'maxAttendees' => array(
714 'location' => 'query',
715 'type' => 'integer',
716 ),
717 ),
718 ),'watch' => array(
719 'path' => 'calendars/{calendarId}/events/watch',
720 'httpMethod' => 'POST',
721 'parameters' => array(
722 'calendarId' => array(
723 'location' => 'path',
724 'type' => 'string',
725 'required' => true,
726 ),
727 'orderBy' => array(
728 'location' => 'query',
729 'type' => 'string',
730 ),
731 'showHiddenInvitations' => array(
732 'location' => 'query',
733 'type' => 'boolean',
734 ),
735 'syncToken' => array(
736 'location' => 'query',
737 'type' => 'string',
738 ),
739 'showDeleted' => array(
740 'location' => 'query',
741 'type' => 'boolean',
742 ),
743 'iCalUID' => array(
744 'location' => 'query',
745 'type' => 'string',
746 ),
747 'updatedMin' => array(
748 'location' => 'query',
749 'type' => 'string',
750 ),
751 'singleEvents' => array(
752 'location' => 'query',
753 'type' => 'boolean',
754 ),
755 'timeMax' => array(
756 'location' => 'query',
757 'type' => 'string',
758 ),
759 'alwaysIncludeEmail' => array(
760 'location' => 'query',
761 'type' => 'boolean',
762 ),
763 'maxResults' => array(
764 'location' => 'query',
765 'type' => 'integer',
766 ),
767 'q' => array(
768 'location' => 'query',
769 'type' => 'string',
770 ),
771 'pageToken' => array(
772 'location' => 'query',
773 'type' => 'string',
774 ),
775 'timeMin' => array(
776 'location' => 'query',
777 'type' => 'string',
778 ),
779 'timeZone' => array(
780 'location' => 'query',
781 'type' => 'string',
782 ),
783 'privateExtendedProperty' => array(
784 'location' => 'query',
785 'type' => 'string',
786 'repeated' => true,
787 ),
788 'sharedExtendedProperty' => array(
789 'location' => 'query',
790 'type' => 'string',
791 'repeated' => true,
792 ),
793 'maxAttendees' => array(
794 'location' => 'query',
795 'type' => 'integer',
796 ),
797 ),
798 ),
799 )
800 )
801 );
802 $this->freebusy = new Analytify_Google_Service_Calendar_Freebusy_Resource(
803 $this,
804 $this->serviceName,
805 'freebusy',
806 array(
807 'methods' => array(
808 'query' => array(
809 'path' => 'freeBusy',
810 'httpMethod' => 'POST',
811 'parameters' => array(),
812 ),
813 )
814 )
815 );
816 $this->settings = new Analytify_Google_Service_Calendar_Settings_Resource(
817 $this,
818 $this->serviceName,
819 'settings',
820 array(
821 'methods' => array(
822 'get' => array(
823 'path' => 'users/me/settings/{setting}',
824 'httpMethod' => 'GET',
825 'parameters' => array(
826 'setting' => array(
827 'location' => 'path',
828 'type' => 'string',
829 'required' => true,
830 ),
831 ),
832 ),'list' => array(
833 'path' => 'users/me/settings',
834 'httpMethod' => 'GET',
835 'parameters' => array(
836 'pageToken' => array(
837 'location' => 'query',
838 'type' => 'string',
839 ),
840 'maxResults' => array(
841 'location' => 'query',
842 'type' => 'integer',
843 ),
844 'syncToken' => array(
845 'location' => 'query',
846 'type' => 'string',
847 ),
848 ),
849 ),'watch' => array(
850 'path' => 'users/me/settings/watch',
851 'httpMethod' => 'POST',
852 'parameters' => array(
853 'pageToken' => array(
854 'location' => 'query',
855 'type' => 'string',
856 ),
857 'maxResults' => array(
858 'location' => 'query',
859 'type' => 'integer',
860 ),
861 'syncToken' => array(
862 'location' => 'query',
863 'type' => 'string',
864 ),
865 ),
866 ),
867 )
868 )
869 );
870 }
871 }
872
873
874 /**
875 * The "acl" collection of methods.
876 * Typical usage is:
877 * <code>
878 * $calendarService = new Analytify_Google_Service_Calendar(...);
879 * $acl = $calendarService->acl;
880 * </code>
881 */
882 class Analytify_Google_Service_Calendar_Acl_Resource extends Analytify_Google_Service_Resource
883 {
884
885 /**
886 * Deletes an access control rule. (acl.delete)
887 *
888 * @param string $calendarId
889 * Calendar identifier.
890 * @param string $ruleId
891 * ACL rule identifier.
892 * @param array $optParams Optional parameters.
893 */
894 public function delete($calendarId, $ruleId, $optParams = array())
895 {
896 $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId);
897 $params = array_merge($params, $optParams);
898 return $this->call('delete', array($params));
899 }
900 /**
901 * Returns an access control rule. (acl.get)
902 *
903 * @param string $calendarId
904 * Calendar identifier.
905 * @param string $ruleId
906 * ACL rule identifier.
907 * @param array $optParams Optional parameters.
908 * @return Analytify_Google_Service_Calendar_AclRule
909 */
910 public function get($calendarId, $ruleId, $optParams = array())
911 {
912 $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId);
913 $params = array_merge($params, $optParams);
914 return $this->call('get', array($params), "Analytify_Google_Service_Calendar_AclRule");
915 }
916 /**
917 * Creates an access control rule. (acl.insert)
918 *
919 * @param string $calendarId
920 * Calendar identifier.
921 * @param Analytify_Google_AclRule $postBody
922 * @param array $optParams Optional parameters.
923 * @return Analytify_Google_Service_Calendar_AclRule
924 */
925 public function insert($calendarId, Analytify_Google_Service_Calendar_AclRule $postBody, $optParams = array())
926 {
927 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
928 $params = array_merge($params, $optParams);
929 return $this->call('insert', array($params), "Analytify_Google_Service_Calendar_AclRule");
930 }
931 /**
932 * Returns the rules in the access control list for the calendar. (acl.listAcl)
933 *
934 * @param string $calendarId
935 * Calendar identifier.
936 * @param array $optParams Optional parameters.
937 *
938 * @opt_param string pageToken
939 * Token specifying which result page to return. Optional.
940 * @opt_param string syncToken
941 * Token obtained from the nextSyncToken field returned on the last page of results from the
942 * previous list request. It makes the result of this list request contain only entries that have
943 * changed since then. All entries deleted since the previous list request will always be in the
944 * result set and it is not allowed to set showDeleted to False.
945 If the syncToken expires, the
946 * server will respond with a 410 GONE response code and the client should clear its storage and
947 * perform a full synchronization without any syncToken.
948 Learn more about incremental
949 * synchronization.
950 Optional. The default is to return all entries.
951 * @opt_param int maxResults
952 * Maximum number of entries returned on one result page. By default the value is 100 entries. The
953 * page size can never be larger than 250 entries. Optional.
954 * @opt_param bool showDeleted
955 * Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to
956 * "none". Deleted ACLs will always be included if syncToken is provided. Optional. The default is
957 * False.
958 * @return Analytify_Google_Service_Calendar_Acl
959 */
960 public function listAcl($calendarId, $optParams = array())
961 {
962 $params = array('calendarId' => $calendarId);
963 $params = array_merge($params, $optParams);
964 return $this->call('list', array($params), "Analytify_Google_Service_Calendar_Acl");
965 }
966 /**
967 * Updates an access control rule. This method supports patch semantics.
968 * (acl.patch)
969 *
970 * @param string $calendarId
971 * Calendar identifier.
972 * @param string $ruleId
973 * ACL rule identifier.
974 * @param Analytify_Google_AclRule $postBody
975 * @param array $optParams Optional parameters.
976 * @return Analytify_Google_Service_Calendar_AclRule
977 */
978 public function patch($calendarId, $ruleId, Analytify_Google_Service_Calendar_AclRule $postBody, $optParams = array())
979 {
980 $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody);
981 $params = array_merge($params, $optParams);
982 return $this->call('patch', array($params), "Analytify_Google_Service_Calendar_AclRule");
983 }
984 /**
985 * Updates an access control rule. (acl.update)
986 *
987 * @param string $calendarId
988 * Calendar identifier.
989 * @param string $ruleId
990 * ACL rule identifier.
991 * @param Analytify_Google_AclRule $postBody
992 * @param array $optParams Optional parameters.
993 * @return Analytify_Google_Service_Calendar_AclRule
994 */
995 public function update($calendarId, $ruleId, Analytify_Google_Service_Calendar_AclRule $postBody, $optParams = array())
996 {
997 $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody);
998 $params = array_merge($params, $optParams);
999 return $this->call('update', array($params), "Analytify_Google_Service_Calendar_AclRule");
1000 }
1001 /**
1002 * Watch for changes to ACL resources. (acl.watch)
1003 *
1004 * @param string $calendarId
1005 * Calendar identifier.
1006 * @param Analytify_Google_Channel $postBody
1007 * @param array $optParams Optional parameters.
1008 *
1009 * @opt_param string pageToken
1010 * Token specifying which result page to return. Optional.
1011 * @opt_param string syncToken
1012 * Token obtained from the nextSyncToken field returned on the last page of results from the
1013 * previous list request. It makes the result of this list request contain only entries that have
1014 * changed since then. All entries deleted since the previous list request will always be in the
1015 * result set and it is not allowed to set showDeleted to False.
1016 If the syncToken expires, the
1017 * server will respond with a 410 GONE response code and the client should clear its storage and
1018 * perform a full synchronization without any syncToken.
1019 Learn more about incremental
1020 * synchronization.
1021 Optional. The default is to return all entries.
1022 * @opt_param int maxResults
1023 * Maximum number of entries returned on one result page. By default the value is 100 entries. The
1024 * page size can never be larger than 250 entries. Optional.
1025 * @opt_param bool showDeleted
1026 * Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to
1027 * "none". Deleted ACLs will always be included if syncToken is provided. Optional. The default is
1028 * False.
1029 * @return Analytify_Google_Service_Calendar_Channel
1030 */
1031 public function watch($calendarId, Analytify_Google_Service_Calendar_Channel $postBody, $optParams = array())
1032 {
1033 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1034 $params = array_merge($params, $optParams);
1035 return $this->call('watch', array($params), "Analytify_Google_Service_Calendar_Channel");
1036 }
1037 }
1038
1039 /**
1040 * The "calendarList" collection of methods.
1041 * Typical usage is:
1042 * <code>
1043 * $calendarService = new Analytify_Google_Service_Calendar(...);
1044 * $calendarList = $calendarService->calendarList;
1045 * </code>
1046 */
1047 class Analytify_Google_Service_Calendar_CalendarList_Resource extends Analytify_Google_Service_Resource
1048 {
1049
1050 /**
1051 * Deletes an entry on the user's calendar list. (calendarList.delete)
1052 *
1053 * @param string $calendarId
1054 * Calendar identifier.
1055 * @param array $optParams Optional parameters.
1056 */
1057 public function delete($calendarId, $optParams = array())
1058 {
1059 $params = array('calendarId' => $calendarId);
1060 $params = array_merge($params, $optParams);
1061 return $this->call('delete', array($params));
1062 }
1063 /**
1064 * Returns an entry on the user's calendar list. (calendarList.get)
1065 *
1066 * @param string $calendarId
1067 * Calendar identifier.
1068 * @param array $optParams Optional parameters.
1069 * @return Analytify_Google_Service_Calendar_CalendarListEntry
1070 */
1071 public function get($calendarId, $optParams = array())
1072 {
1073 $params = array('calendarId' => $calendarId);
1074 $params = array_merge($params, $optParams);
1075 return $this->call('get', array($params), "Analytify_Google_Service_Calendar_CalendarListEntry");
1076 }
1077 /**
1078 * Adds an entry to the user's calendar list. (calendarList.insert)
1079 *
1080 * @param Analytify_Google_CalendarListEntry $postBody
1081 * @param array $optParams Optional parameters.
1082 *
1083 * @opt_param bool colorRgbFormat
1084 * Whether to use the foregroundColor and backgroundColor fields to write the calendar colors
1085 * (RGB). If this feature is used, the index-based colorId field will be set to the best matching
1086 * option automatically. Optional. The default is False.
1087 * @return Analytify_Google_Service_Calendar_CalendarListEntry
1088 */
1089 public function insert(Analytify_Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array())
1090 {
1091 $params = array('postBody' => $postBody);
1092 $params = array_merge($params, $optParams);
1093 return $this->call('insert', array($params), "Analytify_Google_Service_Calendar_CalendarListEntry");
1094 }
1095 /**
1096 * Returns entries on the user's calendar list. (calendarList.listCalendarList)
1097 *
1098 * @param array $optParams Optional parameters.
1099 *
1100 * @opt_param string syncToken
1101 * Token obtained from the nextSyncToken field returned on the last page of results from the
1102 * previous list request. It makes the result of this list request contain only entries that have
1103 * changed since then. If only read-only fields such as calendar properties or ACLs have changed,
1104 * the entry won't be returned. All entries deleted and hidden since the previous list request will
1105 * always be in the result set and it is not allowed to set showDeleted neither showHidden to
1106 * False.
1107 To ensure client state consistency minAccessRole query parameter cannot be specified
1108 * together with nextSyncToken.
1109 If the syncToken expires, the server will respond with a 410 GONE
1110 * response code and the client should clear its storage and perform a full synchronization without
1111 * any syncToken.
1112 Learn more about incremental synchronization.
1113 Optional. The default is to return
1114 * all entries.
1115 * @opt_param bool showDeleted
1116 * Whether to include deleted calendar list entries in the result. Optional. The default is False.
1117 * @opt_param string minAccessRole
1118 * The minimum access role for the user in the returned entires. Optional. The default is no
1119 * restriction.
1120 * @opt_param int maxResults
1121 * Maximum number of entries returned on one result page. By default the value is 100 entries. The
1122 * page size can never be larger than 250 entries. Optional.
1123 * @opt_param string pageToken
1124 * Token specifying which result page to return. Optional.
1125 * @opt_param bool showHidden
1126 * Whether to show hidden entries. Optional. The default is False.
1127 * @return Analytify_Google_Service_Calendar_CalendarList
1128 */
1129 public function listCalendarList($optParams = array())
1130 {
1131 $params = array();
1132 $params = array_merge($params, $optParams);
1133 return $this->call('list', array($params), "Analytify_Google_Service_Calendar_CalendarList");
1134 }
1135 /**
1136 * Updates an entry on the user's calendar list. This method supports patch
1137 * semantics. (calendarList.patch)
1138 *
1139 * @param string $calendarId
1140 * Calendar identifier.
1141 * @param Analytify_Google_CalendarListEntry $postBody
1142 * @param array $optParams Optional parameters.
1143 *
1144 * @opt_param bool colorRgbFormat
1145 * Whether to use the foregroundColor and backgroundColor fields to write the calendar colors
1146 * (RGB). If this feature is used, the index-based colorId field will be set to the best matching
1147 * option automatically. Optional. The default is False.
1148 * @return Analytify_Google_Service_Calendar_CalendarListEntry
1149 */
1150 public function patch($calendarId, Analytify_Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array())
1151 {
1152 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1153 $params = array_merge($params, $optParams);
1154 return $this->call('patch', array($params), "Analytify_Google_Service_Calendar_CalendarListEntry");
1155 }
1156 /**
1157 * Updates an entry on the user's calendar list. (calendarList.update)
1158 *
1159 * @param string $calendarId
1160 * Calendar identifier.
1161 * @param Analytify_Google_CalendarListEntry $postBody
1162 * @param array $optParams Optional parameters.
1163 *
1164 * @opt_param bool colorRgbFormat
1165 * Whether to use the foregroundColor and backgroundColor fields to write the calendar colors
1166 * (RGB). If this feature is used, the index-based colorId field will be set to the best matching
1167 * option automatically. Optional. The default is False.
1168 * @return Analytify_Google_Service_Calendar_CalendarListEntry
1169 */
1170 public function update($calendarId, Analytify_Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array())
1171 {
1172 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1173 $params = array_merge($params, $optParams);
1174 return $this->call('update', array($params), "Analytify_Google_Service_Calendar_CalendarListEntry");
1175 }
1176 /**
1177 * Watch for changes to CalendarList resources. (calendarList.watch)
1178 *
1179 * @param Analytify_Google_Channel $postBody
1180 * @param array $optParams Optional parameters.
1181 *
1182 * @opt_param string syncToken
1183 * Token obtained from the nextSyncToken field returned on the last page of results from the
1184 * previous list request. It makes the result of this list request contain only entries that have
1185 * changed since then. If only read-only fields such as calendar properties or ACLs have changed,
1186 * the entry won't be returned. All entries deleted and hidden since the previous list request will
1187 * always be in the result set and it is not allowed to set showDeleted neither showHidden to
1188 * False.
1189 To ensure client state consistency minAccessRole query parameter cannot be specified
1190 * together with nextSyncToken.
1191 If the syncToken expires, the server will respond with a 410 GONE
1192 * response code and the client should clear its storage and perform a full synchronization without
1193 * any syncToken.
1194 Learn more about incremental synchronization.
1195 Optional. The default is to return
1196 * all entries.
1197 * @opt_param bool showDeleted
1198 * Whether to include deleted calendar list entries in the result. Optional. The default is False.
1199 * @opt_param string minAccessRole
1200 * The minimum access role for the user in the returned entires. Optional. The default is no
1201 * restriction.
1202 * @opt_param int maxResults
1203 * Maximum number of entries returned on one result page. By default the value is 100 entries. The
1204 * page size can never be larger than 250 entries. Optional.
1205 * @opt_param string pageToken
1206 * Token specifying which result page to return. Optional.
1207 * @opt_param bool showHidden
1208 * Whether to show hidden entries. Optional. The default is False.
1209 * @return Analytify_Google_Service_Calendar_Channel
1210 */
1211 public function watch(Analytify_Google_Service_Calendar_Channel $postBody, $optParams = array())
1212 {
1213 $params = array('postBody' => $postBody);
1214 $params = array_merge($params, $optParams);
1215 return $this->call('watch', array($params), "Analytify_Google_Service_Calendar_Channel");
1216 }
1217 }
1218
1219 /**
1220 * The "calendars" collection of methods.
1221 * Typical usage is:
1222 * <code>
1223 * $calendarService = new Analytify_Google_Service_Calendar(...);
1224 * $calendars = $calendarService->calendars;
1225 * </code>
1226 */
1227 class Analytify_Google_Service_Calendar_Calendars_Resource extends Analytify_Google_Service_Resource
1228 {
1229
1230 /**
1231 * Clears a primary calendar. This operation deletes all data associated with
1232 * the primary calendar of an account and cannot be undone. (calendars.clear)
1233 *
1234 * @param string $calendarId
1235 * Calendar identifier.
1236 * @param array $optParams Optional parameters.
1237 */
1238 public function clear($calendarId, $optParams = array())
1239 {
1240 $params = array('calendarId' => $calendarId);
1241 $params = array_merge($params, $optParams);
1242 return $this->call('clear', array($params));
1243 }
1244 /**
1245 * Deletes a secondary calendar. (calendars.delete)
1246 *
1247 * @param string $calendarId
1248 * Calendar identifier.
1249 * @param array $optParams Optional parameters.
1250 */
1251 public function delete($calendarId, $optParams = array())
1252 {
1253 $params = array('calendarId' => $calendarId);
1254 $params = array_merge($params, $optParams);
1255 return $this->call('delete', array($params));
1256 }
1257 /**
1258 * Returns metadata for a calendar. (calendars.get)
1259 *
1260 * @param string $calendarId
1261 * Calendar identifier.
1262 * @param array $optParams Optional parameters.
1263 * @return Analytify_Google_Service_Calendar_Calendar
1264 */
1265 public function get($calendarId, $optParams = array())
1266 {
1267 $params = array('calendarId' => $calendarId);
1268 $params = array_merge($params, $optParams);
1269 return $this->call('get', array($params), "Analytify_Google_Service_Calendar_Calendar");
1270 }
1271 /**
1272 * Creates a secondary calendar. (calendars.insert)
1273 *
1274 * @param Analytify_Google_Calendar $postBody
1275 * @param array $optParams Optional parameters.
1276 * @return Analytify_Google_Service_Calendar_Calendar
1277 */
1278 public function insert(Analytify_Google_Service_Calendar_Calendar $postBody, $optParams = array())
1279 {
1280 $params = array('postBody' => $postBody);
1281 $params = array_merge($params, $optParams);
1282 return $this->call('insert', array($params), "Analytify_Google_Service_Calendar_Calendar");
1283 }
1284 /**
1285 * Updates metadata for a calendar. This method supports patch semantics.
1286 * (calendars.patch)
1287 *
1288 * @param string $calendarId
1289 * Calendar identifier.
1290 * @param Analytify_Google_Calendar $postBody
1291 * @param array $optParams Optional parameters.
1292 * @return Analytify_Google_Service_Calendar_Calendar
1293 */
1294 public function patch($calendarId, Analytify_Google_Service_Calendar_Calendar $postBody, $optParams = array())
1295 {
1296 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1297 $params = array_merge($params, $optParams);
1298 return $this->call('patch', array($params), "Analytify_Google_Service_Calendar_Calendar");
1299 }
1300 /**
1301 * Updates metadata for a calendar. (calendars.update)
1302 *
1303 * @param string $calendarId
1304 * Calendar identifier.
1305 * @param Analytify_Google_Calendar $postBody
1306 * @param array $optParams Optional parameters.
1307 * @return Analytify_Google_Service_Calendar_Calendar
1308 */
1309 public function update($calendarId, Analytify_Google_Service_Calendar_Calendar $postBody, $optParams = array())
1310 {
1311 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1312 $params = array_merge($params, $optParams);
1313 return $this->call('update', array($params), "Analytify_Google_Service_Calendar_Calendar");
1314 }
1315 }
1316
1317 /**
1318 * The "channels" collection of methods.
1319 * Typical usage is:
1320 * <code>
1321 * $calendarService = new Analytify_Google_Service_Calendar(...);
1322 * $channels = $calendarService->channels;
1323 * </code>
1324 */
1325 class Analytify_Google_Service_Calendar_Channels_Resource extends Analytify_Google_Service_Resource
1326 {
1327
1328 /**
1329 * Stop watching resources through this channel (channels.stop)
1330 *
1331 * @param Analytify_Google_Channel $postBody
1332 * @param array $optParams Optional parameters.
1333 */
1334 public function stop(Analytify_Google_Service_Calendar_Channel $postBody, $optParams = array())
1335 {
1336 $params = array('postBody' => $postBody);
1337 $params = array_merge($params, $optParams);
1338 return $this->call('stop', array($params));
1339 }
1340 }
1341
1342 /**
1343 * The "colors" collection of methods.
1344 * Typical usage is:
1345 * <code>
1346 * $calendarService = new Analytify_Google_Service_Calendar(...);
1347 * $colors = $calendarService->colors;
1348 * </code>
1349 */
1350 class Analytify_Google_Service_Calendar_Colors_Resource extends Analytify_Google_Service_Resource
1351 {
1352
1353 /**
1354 * Returns the color definitions for calendars and events. (colors.get)
1355 *
1356 * @param array $optParams Optional parameters.
1357 * @return Analytify_Google_Service_Calendar_Colors
1358 */
1359 public function get($optParams = array())
1360 {
1361 $params = array();
1362 $params = array_merge($params, $optParams);
1363 return $this->call('get', array($params), "Analytify_Google_Service_Calendar_Colors");
1364 }
1365 }
1366
1367 /**
1368 * The "events" collection of methods.
1369 * Typical usage is:
1370 * <code>
1371 * $calendarService = new Analytify_Google_Service_Calendar(...);
1372 * $events = $calendarService->events;
1373 * </code>
1374 */
1375 class Analytify_Google_Service_Calendar_Events_Resource extends Analytify_Google_Service_Resource
1376 {
1377
1378 /**
1379 * Deletes an event. (events.delete)
1380 *
1381 * @param string $calendarId
1382 * Calendar identifier.
1383 * @param string $eventId
1384 * Event identifier.
1385 * @param array $optParams Optional parameters.
1386 *
1387 * @opt_param bool sendNotifications
1388 * Whether to send notifications about the deletion of the event. Optional. The default is False.
1389 */
1390 public function delete($calendarId, $eventId, $optParams = array())
1391 {
1392 $params = array('calendarId' => $calendarId, 'eventId' => $eventId);
1393 $params = array_merge($params, $optParams);
1394 return $this->call('delete', array($params));
1395 }
1396 /**
1397 * Returns an event. (events.get)
1398 *
1399 * @param string $calendarId
1400 * Calendar identifier.
1401 * @param string $eventId
1402 * Event identifier.
1403 * @param array $optParams Optional parameters.
1404 *
1405 * @opt_param string timeZone
1406 * Time zone used in the response. Optional. The default is the time zone of the calendar.
1407 * @opt_param bool alwaysIncludeEmail
1408 * Whether to always include a value in the email field for the organizer, creator and attendees,
1409 * even if no real email is available (i.e. a generated, non-working value will be provided). The
1410 * use of this option is discouraged and should only be used by clients which cannot handle the
1411 * absence of an email address value in the mentioned places. Optional. The default is False.
1412 * @opt_param int maxAttendees
1413 * The maximum number of attendees to include in the response. If there are more than the specified
1414 * number of attendees, only the participant is returned. Optional.
1415 * @return Analytify_Google_Service_Calendar_Event
1416 */
1417 public function get($calendarId, $eventId, $optParams = array())
1418 {
1419 $params = array('calendarId' => $calendarId, 'eventId' => $eventId);
1420 $params = array_merge($params, $optParams);
1421 return $this->call('get', array($params), "Analytify_Google_Service_Calendar_Event");
1422 }
1423 /**
1424 * Imports an event. This operation is used to add a private copy of an existing
1425 * event to a calendar. (events.import)
1426 *
1427 * @param string $calendarId
1428 * Calendar identifier.
1429 * @param Analytify_Google_Event $postBody
1430 * @param array $optParams Optional parameters.
1431 * @return Analytify_Google_Service_Calendar_Event
1432 */
1433 public function import($calendarId, Analytify_Google_Service_Calendar_Event $postBody, $optParams = array())
1434 {
1435 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1436 $params = array_merge($params, $optParams);
1437 return $this->call('import', array($params), "Analytify_Google_Service_Calendar_Event");
1438 }
1439 /**
1440 * Creates an event. (events.insert)
1441 *
1442 * @param string $calendarId
1443 * Calendar identifier.
1444 * @param Analytify_Google_Event $postBody
1445 * @param array $optParams Optional parameters.
1446 *
1447 * @opt_param bool sendNotifications
1448 * Whether to send notifications about the creation of the new event. Optional. The default is
1449 * False.
1450 * @opt_param int maxAttendees
1451 * The maximum number of attendees to include in the response. If there are more than the specified
1452 * number of attendees, only the participant is returned. Optional.
1453 * @return Analytify_Google_Service_Calendar_Event
1454 */
1455 public function insert($calendarId, Analytify_Google_Service_Calendar_Event $postBody, $optParams = array())
1456 {
1457 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1458 $params = array_merge($params, $optParams);
1459 return $this->call('insert', array($params), "Analytify_Google_Service_Calendar_Event");
1460 }
1461 /**
1462 * Returns instances of the specified recurring event. (events.instances)
1463 *
1464 * @param string $calendarId
1465 * Calendar identifier.
1466 * @param string $eventId
1467 * Recurring event identifier.
1468 * @param array $optParams Optional parameters.
1469 *
1470 * @opt_param bool showDeleted
1471 * Whether to include deleted events (with status equals "cancelled") in the result. Cancelled
1472 * instances of recurring events will still be included if singleEvents is False. Optional. The
1473 * default is False.
1474 * @opt_param string timeMax
1475 * Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to
1476 * filter by start time.
1477 * @opt_param bool alwaysIncludeEmail
1478 * Whether to always include a value in the email field for the organizer, creator and attendees,
1479 * even if no real email is available (i.e. a generated, non-working value will be provided). The
1480 * use of this option is discouraged and should only be used by clients which cannot handle the
1481 * absence of an email address value in the mentioned places. Optional. The default is False.
1482 * @opt_param int maxResults
1483 * Maximum number of events returned on one result page. By default the value is 250 events. The
1484 * page size can never be larger than 2500 events. Optional.
1485 * @opt_param string pageToken
1486 * Token specifying which result page to return. Optional.
1487 * @opt_param string timeMin
1488 * Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to
1489 * filter by end time.
1490 * @opt_param string timeZone
1491 * Time zone used in the response. Optional. The default is the time zone of the calendar.
1492 * @opt_param string originalStart
1493 * The original start time of the instance in the result. Optional.
1494 * @opt_param int maxAttendees
1495 * The maximum number of attendees to include in the response. If there are more than the specified
1496 * number of attendees, only the participant is returned. Optional.
1497 * @return Analytify_Google_Service_Calendar_Events
1498 */
1499 public function instances($calendarId, $eventId, $optParams = array())
1500 {
1501 $params = array('calendarId' => $calendarId, 'eventId' => $eventId);
1502 $params = array_merge($params, $optParams);
1503 return $this->call('instances', array($params), "Analytify_Google_Service_Calendar_Events");
1504 }
1505 /**
1506 * Returns events on the specified calendar. (events.listEvents)
1507 *
1508 * @param string $calendarId
1509 * Calendar identifier.
1510 * @param array $optParams Optional parameters.
1511 *
1512 * @opt_param string orderBy
1513 * The order of the events returned in the result. Optional. The default is an unspecified, stable
1514 * order.
1515 * @opt_param bool showHiddenInvitations
1516 * Whether to include hidden invitations in the result. Optional. The default is False.
1517 * @opt_param string syncToken
1518 * Token obtained from the nextSyncToken field returned on the last page of results from the
1519 * previous list request. It makes the result of this list request contain only entries that have
1520 * changed since then. All events deleted since the previous list request will always be in the
1521 * result set and it is not allowed to set showDeleted to False.
1522 There are several query parameters
1523 * that cannot be specified together with nextSyncToken to ensure consistency of the client state.
1524 * These are:
1525 - iCalUID
1526 - orderBy
1527 - privateExtendedProperty
1528 - q
1529 - sharedExtendedProperty
1530 -
1531 * timeMin
1532 - timeMax
1533 - updatedMin If the syncToken expires, the server will respond with a 410
1534 * GONE response code and the client should clear its storage and perform a full synchronization
1535 * without any syncToken.
1536 Learn more about incremental synchronization.
1537 Optional. The default is to
1538 * return all entries.
1539 * @opt_param bool showDeleted
1540 * Whether to include deleted events (with status equals "cancelled") in the result. Cancelled
1541 * instances of recurring events (but not the underlying recurring event) will still be included if
1542 * showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only
1543 * single instances of deleted events (but not the underlying recurring events) are returned.
1544 * Optional. The default is False.
1545 * @opt_param string iCalUID
1546 * Specifies event ID in the iCalendar format to be included in the response. Optional.
1547 * @opt_param string updatedMin
1548 * Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by. When
1549 * specified, entries deleted since this time will always be included regardless of showDeleted.
1550 * Optional. The default is not to filter by last modification time.
1551 * @opt_param bool singleEvents
1552 * Whether to expand recurring events into instances and only return single one-off events and
1553 * instances of recurring events, but not the underlying recurring events themselves. Optional. The
1554 * default is False.
1555 * @opt_param string timeMax
1556 * Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to
1557 * filter by start time.
1558 * @opt_param bool alwaysIncludeEmail
1559 * Whether to always include a value in the email field for the organizer, creator and attendees,
1560 * even if no real email is available (i.e. a generated, non-working value will be provided). The
1561 * use of this option is discouraged and should only be used by clients which cannot handle the
1562 * absence of an email address value in the mentioned places. Optional. The default is False.
1563 * @opt_param int maxResults
1564 * Maximum number of events returned on one result page. By default the value is 250 events. The
1565 * page size can never be larger than 2500 events. Optional.
1566 * @opt_param string q
1567 * Free text search terms to find events that match these terms in any field, except for extended
1568 * properties. Optional.
1569 * @opt_param string pageToken
1570 * Token specifying which result page to return. Optional.
1571 * @opt_param string timeMin
1572 * Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to
1573 * filter by end time.
1574 * @opt_param string timeZone
1575 * Time zone used in the response. Optional. The default is the time zone of the calendar.
1576 * @opt_param string privateExtendedProperty
1577 * Extended properties constraint specified as propertyName=value. Matches only private properties.
1578 * This parameter might be repeated multiple times to return events that match all given
1579 * constraints.
1580 * @opt_param string sharedExtendedProperty
1581 * Extended properties constraint specified as propertyName=value. Matches only shared properties.
1582 * This parameter might be repeated multiple times to return events that match all given
1583 * constraints.
1584 * @opt_param int maxAttendees
1585 * The maximum number of attendees to include in the response. If there are more than the specified
1586 * number of attendees, only the participant is returned. Optional.
1587 * @return Analytify_Google_Service_Calendar_Events
1588 */
1589 public function listEvents($calendarId, $optParams = array())
1590 {
1591 $params = array('calendarId' => $calendarId);
1592 $params = array_merge($params, $optParams);
1593 return $this->call('list', array($params), "Analytify_Google_Service_Calendar_Events");
1594 }
1595 /**
1596 * Moves an event to another calendar, i.e. changes an event's organizer.
1597 * (events.move)
1598 *
1599 * @param string $calendarId
1600 * Calendar identifier of the source calendar where the event currently is on.
1601 * @param string $eventId
1602 * Event identifier.
1603 * @param string $destination
1604 * Calendar identifier of the target calendar where the event is to be moved to.
1605 * @param array $optParams Optional parameters.
1606 *
1607 * @opt_param bool sendNotifications
1608 * Whether to send notifications about the change of the event's organizer. Optional. The default
1609 * is False.
1610 * @return Analytify_Google_Service_Calendar_Event
1611 */
1612 public function move($calendarId, $eventId, $destination, $optParams = array())
1613 {
1614 $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'destination' => $destination);
1615 $params = array_merge($params, $optParams);
1616 return $this->call('move', array($params), "Analytify_Google_Service_Calendar_Event");
1617 }
1618 /**
1619 * Updates an event. This method supports patch semantics. (events.patch)
1620 *
1621 * @param string $calendarId
1622 * Calendar identifier.
1623 * @param string $eventId
1624 * Event identifier.
1625 * @param Analytify_Google_Event $postBody
1626 * @param array $optParams Optional parameters.
1627 *
1628 * @opt_param bool sendNotifications
1629 * Whether to send notifications about the event update (e.g. attendee's responses, title changes,
1630 * etc.). Optional. The default is False.
1631 * @opt_param bool alwaysIncludeEmail
1632 * Whether to always include a value in the email field for the organizer, creator and attendees,
1633 * even if no real email is available (i.e. a generated, non-working value will be provided). The
1634 * use of this option is discouraged and should only be used by clients which cannot handle the
1635 * absence of an email address value in the mentioned places. Optional. The default is False.
1636 * @opt_param int maxAttendees
1637 * The maximum number of attendees to include in the response. If there are more than the specified
1638 * number of attendees, only the participant is returned. Optional.
1639 * @return Analytify_Google_Service_Calendar_Event
1640 */
1641 public function patch($calendarId, $eventId, Analytify_Google_Service_Calendar_Event $postBody, $optParams = array())
1642 {
1643 $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody);
1644 $params = array_merge($params, $optParams);
1645 return $this->call('patch', array($params), "Analytify_Google_Service_Calendar_Event");
1646 }
1647 /**
1648 * Creates an event based on a simple text string. (events.quickAdd)
1649 *
1650 * @param string $calendarId
1651 * Calendar identifier.
1652 * @param string $text
1653 * The text describing the event to be created.
1654 * @param array $optParams Optional parameters.
1655 *
1656 * @opt_param bool sendNotifications
1657 * Whether to send notifications about the creation of the event. Optional. The default is False.
1658 * @return Analytify_Google_Service_Calendar_Event
1659 */
1660 public function quickAdd($calendarId, $text, $optParams = array())
1661 {
1662 $params = array('calendarId' => $calendarId, 'text' => $text);
1663 $params = array_merge($params, $optParams);
1664 return $this->call('quickAdd', array($params), "Analytify_Google_Service_Calendar_Event");
1665 }
1666 /**
1667 * Updates an event. (events.update)
1668 *
1669 * @param string $calendarId
1670 * Calendar identifier.
1671 * @param string $eventId
1672 * Event identifier.
1673 * @param Analytify_Google_Event $postBody
1674 * @param array $optParams Optional parameters.
1675 *
1676 * @opt_param bool sendNotifications
1677 * Whether to send notifications about the event update (e.g. attendee's responses, title changes,
1678 * etc.). Optional. The default is False.
1679 * @opt_param bool alwaysIncludeEmail
1680 * Whether to always include a value in the email field for the organizer, creator and attendees,
1681 * even if no real email is available (i.e. a generated, non-working value will be provided). The
1682 * use of this option is discouraged and should only be used by clients which cannot handle the
1683 * absence of an email address value in the mentioned places. Optional. The default is False.
1684 * @opt_param int maxAttendees
1685 * The maximum number of attendees to include in the response. If there are more than the specified
1686 * number of attendees, only the participant is returned. Optional.
1687 * @return Analytify_Google_Service_Calendar_Event
1688 */
1689 public function update($calendarId, $eventId, Analytify_Google_Service_Calendar_Event $postBody, $optParams = array())
1690 {
1691 $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody);
1692 $params = array_merge($params, $optParams);
1693 return $this->call('update', array($params), "Analytify_Google_Service_Calendar_Event");
1694 }
1695 /**
1696 * Watch for changes to Events resources. (events.watch)
1697 *
1698 * @param string $calendarId
1699 * Calendar identifier.
1700 * @param Analytify_Google_Channel $postBody
1701 * @param array $optParams Optional parameters.
1702 *
1703 * @opt_param string orderBy
1704 * The order of the events returned in the result. Optional. The default is an unspecified, stable
1705 * order.
1706 * @opt_param bool showHiddenInvitations
1707 * Whether to include hidden invitations in the result. Optional. The default is False.
1708 * @opt_param string syncToken
1709 * Token obtained from the nextSyncToken field returned on the last page of results from the
1710 * previous list request. It makes the result of this list request contain only entries that have
1711 * changed since then. All events deleted since the previous list request will always be in the
1712 * result set and it is not allowed to set showDeleted to False.
1713 There are several query parameters
1714 * that cannot be specified together with nextSyncToken to ensure consistency of the client state.
1715 * These are:
1716 - iCalUID
1717 - orderBy
1718 - privateExtendedProperty
1719 - q
1720 - sharedExtendedProperty
1721 -
1722 * timeMin
1723 - timeMax
1724 - updatedMin If the syncToken expires, the server will respond with a 410
1725 * GONE response code and the client should clear its storage and perform a full synchronization
1726 * without any syncToken.
1727 Learn more about incremental synchronization.
1728 Optional. The default is to
1729 * return all entries.
1730 * @opt_param bool showDeleted
1731 * Whether to include deleted events (with status equals "cancelled") in the result. Cancelled
1732 * instances of recurring events (but not the underlying recurring event) will still be included if
1733 * showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only
1734 * single instances of deleted events (but not the underlying recurring events) are returned.
1735 * Optional. The default is False.
1736 * @opt_param string iCalUID
1737 * Specifies event ID in the iCalendar format to be included in the response. Optional.
1738 * @opt_param string updatedMin
1739 * Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by. When
1740 * specified, entries deleted since this time will always be included regardless of showDeleted.
1741 * Optional. The default is not to filter by last modification time.
1742 * @opt_param bool singleEvents
1743 * Whether to expand recurring events into instances and only return single one-off events and
1744 * instances of recurring events, but not the underlying recurring events themselves. Optional. The
1745 * default is False.
1746 * @opt_param string timeMax
1747 * Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to
1748 * filter by start time.
1749 * @opt_param bool alwaysIncludeEmail
1750 * Whether to always include a value in the email field for the organizer, creator and attendees,
1751 * even if no real email is available (i.e. a generated, non-working value will be provided). The
1752 * use of this option is discouraged and should only be used by clients which cannot handle the
1753 * absence of an email address value in the mentioned places. Optional. The default is False.
1754 * @opt_param int maxResults
1755 * Maximum number of events returned on one result page. By default the value is 250 events. The
1756 * page size can never be larger than 2500 events. Optional.
1757 * @opt_param string q
1758 * Free text search terms to find events that match these terms in any field, except for extended
1759 * properties. Optional.
1760 * @opt_param string pageToken
1761 * Token specifying which result page to return. Optional.
1762 * @opt_param string timeMin
1763 * Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to
1764 * filter by end time.
1765 * @opt_param string timeZone
1766 * Time zone used in the response. Optional. The default is the time zone of the calendar.
1767 * @opt_param string privateExtendedProperty
1768 * Extended properties constraint specified as propertyName=value. Matches only private properties.
1769 * This parameter might be repeated multiple times to return events that match all given
1770 * constraints.
1771 * @opt_param string sharedExtendedProperty
1772 * Extended properties constraint specified as propertyName=value. Matches only shared properties.
1773 * This parameter might be repeated multiple times to return events that match all given
1774 * constraints.
1775 * @opt_param int maxAttendees
1776 * The maximum number of attendees to include in the response. If there are more than the specified
1777 * number of attendees, only the participant is returned. Optional.
1778 * @return Analytify_Google_Service_Calendar_Channel
1779 */
1780 public function watch($calendarId, Analytify_Google_Service_Calendar_Channel $postBody, $optParams = array())
1781 {
1782 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1783 $params = array_merge($params, $optParams);
1784 return $this->call('watch', array($params), "Analytify_Google_Service_Calendar_Channel");
1785 }
1786 }
1787
1788 /**
1789 * The "freebusy" collection of methods.
1790 * Typical usage is:
1791 * <code>
1792 * $calendarService = new Analytify_Google_Service_Calendar(...);
1793 * $freebusy = $calendarService->freebusy;
1794 * </code>
1795 */
1796 class Analytify_Google_Service_Calendar_Freebusy_Resource extends Analytify_Google_Service_Resource
1797 {
1798
1799 /**
1800 * Returns free/busy information for a set of calendars. (freebusy.query)
1801 *
1802 * @param Analytify_Google_FreeBusyRequest $postBody
1803 * @param array $optParams Optional parameters.
1804 * @return Analytify_Google_Service_Calendar_FreeBusyResponse
1805 */
1806 public function query(Analytify_Google_Service_Calendar_FreeBusyRequest $postBody, $optParams = array())
1807 {
1808 $params = array('postBody' => $postBody);
1809 $params = array_merge($params, $optParams);
1810 return $this->call('query', array($params), "Analytify_Google_Service_Calendar_FreeBusyResponse");
1811 }
1812 }
1813
1814 /**
1815 * The "settings" collection of methods.
1816 * Typical usage is:
1817 * <code>
1818 * $calendarService = new Analytify_Google_Service_Calendar(...);
1819 * $settings = $calendarService->settings;
1820 * </code>
1821 */
1822 class Analytify_Google_Service_Calendar_Settings_Resource extends Analytify_Google_Service_Resource
1823 {
1824
1825 /**
1826 * Returns a single user setting. (settings.get)
1827 *
1828 * @param string $setting
1829 * The id of the user setting.
1830 * @param array $optParams Optional parameters.
1831 * @return Analytify_Google_Service_Calendar_Setting
1832 */
1833 public function get($setting, $optParams = array())
1834 {
1835 $params = array('setting' => $setting);
1836 $params = array_merge($params, $optParams);
1837 return $this->call('get', array($params), "Analytify_Google_Service_Calendar_Setting");
1838 }
1839 /**
1840 * Returns all user settings for the authenticated user. (settings.listSettings)
1841 *
1842 * @param array $optParams Optional parameters.
1843 *
1844 * @opt_param string pageToken
1845 * Token specifying which result page to return. Optional.
1846 * @opt_param int maxResults
1847 * Maximum number of entries returned on one result page. By default the value is 100 entries. The
1848 * page size can never be larger than 250 entries. Optional.
1849 * @opt_param string syncToken
1850 * Token obtained from the nextSyncToken field returned on the last page of results from the
1851 * previous list request. It makes the result of this list request contain only entries that have
1852 * changed since then.
1853 If the syncToken expires, the server will respond with a 410 GONE response
1854 * code and the client should clear its storage and perform a full synchronization without any
1855 * syncToken.
1856 Learn more about incremental synchronization.
1857 Optional. The default is to return all
1858 * entries.
1859 * @return Analytify_Google_Service_Calendar_Settings
1860 */
1861 public function listSettings($optParams = array())
1862 {
1863 $params = array();
1864 $params = array_merge($params, $optParams);
1865 return $this->call('list', array($params), "Analytify_Google_Service_Calendar_Settings");
1866 }
1867 /**
1868 * Watch for changes to Settings resources. (settings.watch)
1869 *
1870 * @param Analytify_Google_Channel $postBody
1871 * @param array $optParams Optional parameters.
1872 *
1873 * @opt_param string pageToken
1874 * Token specifying which result page to return. Optional.
1875 * @opt_param int maxResults
1876 * Maximum number of entries returned on one result page. By default the value is 100 entries. The
1877 * page size can never be larger than 250 entries. Optional.
1878 * @opt_param string syncToken
1879 * Token obtained from the nextSyncToken field returned on the last page of results from the
1880 * previous list request. It makes the result of this list request contain only entries that have
1881 * changed since then.
1882 If the syncToken expires, the server will respond with a 410 GONE response
1883 * code and the client should clear its storage and perform a full synchronization without any
1884 * syncToken.
1885 Learn more about incremental synchronization.
1886 Optional. The default is to return all
1887 * entries.
1888 * @return Analytify_Google_Service_Calendar_Channel
1889 */
1890 public function watch(Analytify_Google_Service_Calendar_Channel $postBody, $optParams = array())
1891 {
1892 $params = array('postBody' => $postBody);
1893 $params = array_merge($params, $optParams);
1894 return $this->call('watch', array($params), "Analytify_Google_Service_Calendar_Channel");
1895 }
1896 }
1897
1898
1899
1900
1901 class Analytify_Google_Service_Calendar_Acl extends Analytify_Google_Collection
1902 {
1903 public $etag;
1904 protected $itemsType = 'Analytify_Google_Service_Calendar_AclRule';
1905 protected $itemsDataType = 'array';
1906 public $kind;
1907 public $nextPageToken;
1908 public $nextSyncToken;
1909
1910 public function setEtag($etag)
1911 {
1912 $this->etag = $etag;
1913 }
1914
1915 public function getEtag()
1916 {
1917 return $this->etag;
1918 }
1919
1920 public function setItems($items)
1921 {
1922 $this->items = $items;
1923 }
1924
1925 public function getItems()
1926 {
1927 return $this->items;
1928 }
1929
1930 public function setKind($kind)
1931 {
1932 $this->kind = $kind;
1933 }
1934
1935 public function getKind()
1936 {
1937 return $this->kind;
1938 }
1939
1940 public function setNextPageToken($nextPageToken)
1941 {
1942 $this->nextPageToken = $nextPageToken;
1943 }
1944
1945 public function getNextPageToken()
1946 {
1947 return $this->nextPageToken;
1948 }
1949
1950 public function setNextSyncToken($nextSyncToken)
1951 {
1952 $this->nextSyncToken = $nextSyncToken;
1953 }
1954
1955 public function getNextSyncToken()
1956 {
1957 return $this->nextSyncToken;
1958 }
1959 }
1960
1961 class Analytify_Google_Service_Calendar_AclRule extends Analytify_Google_Model
1962 {
1963 public $etag;
1964 public $id;
1965 public $kind;
1966 public $role;
1967 protected $scopeType = 'Analytify_Google_Service_Calendar_AclRuleScope';
1968 protected $scopeDataType = '';
1969
1970 public function setEtag($etag)
1971 {
1972 $this->etag = $etag;
1973 }
1974
1975 public function getEtag()
1976 {
1977 return $this->etag;
1978 }
1979
1980 public function setId($id)
1981 {
1982 $this->id = $id;
1983 }
1984
1985 public function getId()
1986 {
1987 return $this->id;
1988 }
1989
1990 public function setKind($kind)
1991 {
1992 $this->kind = $kind;
1993 }
1994
1995 public function getKind()
1996 {
1997 return $this->kind;
1998 }
1999
2000 public function setRole($role)
2001 {
2002 $this->role = $role;
2003 }
2004
2005 public function getRole()
2006 {
2007 return $this->role;
2008 }
2009
2010 public function setScope(Analytify_Google_Service_Calendar_AclRuleScope $scope)
2011 {
2012 $this->scope = $scope;
2013 }
2014
2015 public function getScope()
2016 {
2017 return $this->scope;
2018 }
2019 }
2020
2021 class Analytify_Google_Service_Calendar_AclRuleScope extends Analytify_Google_Model
2022 {
2023 public $type;
2024 public $value;
2025
2026 public function setType($type)
2027 {
2028 $this->type = $type;
2029 }
2030
2031 public function getType()
2032 {
2033 return $this->type;
2034 }
2035
2036 public function setValue($value)
2037 {
2038 $this->value = $value;
2039 }
2040
2041 public function getValue()
2042 {
2043 return $this->value;
2044 }
2045 }
2046
2047 class Analytify_Google_Service_Calendar_Calendar extends Analytify_Google_Model
2048 {
2049 public $description;
2050 public $etag;
2051 public $id;
2052 public $kind;
2053 public $location;
2054 public $summary;
2055 public $timeZone;
2056
2057 public function setDescription($description)
2058 {
2059 $this->description = $description;
2060 }
2061
2062 public function getDescription()
2063 {
2064 return $this->description;
2065 }
2066
2067 public function setEtag($etag)
2068 {
2069 $this->etag = $etag;
2070 }
2071
2072 public function getEtag()
2073 {
2074 return $this->etag;
2075 }
2076
2077 public function setId($id)
2078 {
2079 $this->id = $id;
2080 }
2081
2082 public function getId()
2083 {
2084 return $this->id;
2085 }
2086
2087 public function setKind($kind)
2088 {
2089 $this->kind = $kind;
2090 }
2091
2092 public function getKind()
2093 {
2094 return $this->kind;
2095 }
2096
2097 public function setLocation($location)
2098 {
2099 $this->location = $location;
2100 }
2101
2102 public function getLocation()
2103 {
2104 return $this->location;
2105 }
2106
2107 public function setSummary($summary)
2108 {
2109 $this->summary = $summary;
2110 }
2111
2112 public function getSummary()
2113 {
2114 return $this->summary;
2115 }
2116
2117 public function setTimeZone($timeZone)
2118 {
2119 $this->timeZone = $timeZone;
2120 }
2121
2122 public function getTimeZone()
2123 {
2124 return $this->timeZone;
2125 }
2126 }
2127
2128 class Analytify_Google_Service_Calendar_CalendarList extends Analytify_Google_Collection
2129 {
2130 public $etag;
2131 protected $itemsType = 'Analytify_Google_Service_Calendar_CalendarListEntry';
2132 protected $itemsDataType = 'array';
2133 public $kind;
2134 public $nextPageToken;
2135 public $nextSyncToken;
2136
2137 public function setEtag($etag)
2138 {
2139 $this->etag = $etag;
2140 }
2141
2142 public function getEtag()
2143 {
2144 return $this->etag;
2145 }
2146
2147 public function setItems($items)
2148 {
2149 $this->items = $items;
2150 }
2151
2152 public function getItems()
2153 {
2154 return $this->items;
2155 }
2156
2157 public function setKind($kind)
2158 {
2159 $this->kind = $kind;
2160 }
2161
2162 public function getKind()
2163 {
2164 return $this->kind;
2165 }
2166
2167 public function setNextPageToken($nextPageToken)
2168 {
2169 $this->nextPageToken = $nextPageToken;
2170 }
2171
2172 public function getNextPageToken()
2173 {
2174 return $this->nextPageToken;
2175 }
2176
2177 public function setNextSyncToken($nextSyncToken)
2178 {
2179 $this->nextSyncToken = $nextSyncToken;
2180 }
2181
2182 public function getNextSyncToken()
2183 {
2184 return $this->nextSyncToken;
2185 }
2186 }
2187
2188 class Analytify_Google_Service_Calendar_CalendarListEntry extends Analytify_Google_Collection
2189 {
2190 public $accessRole;
2191 public $backgroundColor;
2192 public $colorId;
2193 protected $defaultRemindersType = 'Analytify_Google_Service_Calendar_EventReminder';
2194 protected $defaultRemindersDataType = 'array';
2195 public $deleted;
2196 public $description;
2197 public $etag;
2198 public $foregroundColor;
2199 public $hidden;
2200 public $id;
2201 public $kind;
2202 public $location;
2203 protected $notificationSettingsType = 'Analytify_Google_Service_Calendar_CalendarListEntryNotificationSettings';
2204 protected $notificationSettingsDataType = '';
2205 public $primary;
2206 public $selected;
2207 public $summary;
2208 public $summaryOverride;
2209 public $timeZone;
2210
2211 public function setAccessRole($accessRole)
2212 {
2213 $this->accessRole = $accessRole;
2214 }
2215
2216 public function getAccessRole()
2217 {
2218 return $this->accessRole;
2219 }
2220
2221 public function setBackgroundColor($backgroundColor)
2222 {
2223 $this->backgroundColor = $backgroundColor;
2224 }
2225
2226 public function getBackgroundColor()
2227 {
2228 return $this->backgroundColor;
2229 }
2230
2231 public function setColorId($colorId)
2232 {
2233 $this->colorId = $colorId;
2234 }
2235
2236 public function getColorId()
2237 {
2238 return $this->colorId;
2239 }
2240
2241 public function setDefaultReminders($defaultReminders)
2242 {
2243 $this->defaultReminders = $defaultReminders;
2244 }
2245
2246 public function getDefaultReminders()
2247 {
2248 return $this->defaultReminders;
2249 }
2250
2251 public function setDeleted($deleted)
2252 {
2253 $this->deleted = $deleted;
2254 }
2255
2256 public function getDeleted()
2257 {
2258 return $this->deleted;
2259 }
2260
2261 public function setDescription($description)
2262 {
2263 $this->description = $description;
2264 }
2265
2266 public function getDescription()
2267 {
2268 return $this->description;
2269 }
2270
2271 public function setEtag($etag)
2272 {
2273 $this->etag = $etag;
2274 }
2275
2276 public function getEtag()
2277 {
2278 return $this->etag;
2279 }
2280
2281 public function setForegroundColor($foregroundColor)
2282 {
2283 $this->foregroundColor = $foregroundColor;
2284 }
2285
2286 public function getForegroundColor()
2287 {
2288 return $this->foregroundColor;
2289 }
2290
2291 public function setHidden($hidden)
2292 {
2293 $this->hidden = $hidden;
2294 }
2295
2296 public function getHidden()
2297 {
2298 return $this->hidden;
2299 }
2300
2301 public function setId($id)
2302 {
2303 $this->id = $id;
2304 }
2305
2306 public function getId()
2307 {
2308 return $this->id;
2309 }
2310
2311 public function setKind($kind)
2312 {
2313 $this->kind = $kind;
2314 }
2315
2316 public function getKind()
2317 {
2318 return $this->kind;
2319 }
2320
2321 public function setLocation($location)
2322 {
2323 $this->location = $location;
2324 }
2325
2326 public function getLocation()
2327 {
2328 return $this->location;
2329 }
2330
2331 public function setNotificationSettings(Analytify_Google_Service_Calendar_CalendarListEntryNotificationSettings $notificationSettings)
2332 {
2333 $this->notificationSettings = $notificationSettings;
2334 }
2335
2336 public function getNotificationSettings()
2337 {
2338 return $this->notificationSettings;
2339 }
2340
2341 public function setPrimary($primary)
2342 {
2343 $this->primary = $primary;
2344 }
2345
2346 public function getPrimary()
2347 {
2348 return $this->primary;
2349 }
2350
2351 public function setSelected($selected)
2352 {
2353 $this->selected = $selected;
2354 }
2355
2356 public function getSelected()
2357 {
2358 return $this->selected;
2359 }
2360
2361 public function setSummary($summary)
2362 {
2363 $this->summary = $summary;
2364 }
2365
2366 public function getSummary()
2367 {
2368 return $this->summary;
2369 }
2370
2371 public function setSummaryOverride($summaryOverride)
2372 {
2373 $this->summaryOverride = $summaryOverride;
2374 }
2375
2376 public function getSummaryOverride()
2377 {
2378 return $this->summaryOverride;
2379 }
2380
2381 public function setTimeZone($timeZone)
2382 {
2383 $this->timeZone = $timeZone;
2384 }
2385
2386 public function getTimeZone()
2387 {
2388 return $this->timeZone;
2389 }
2390 }
2391
2392 class Analytify_Google_Service_Calendar_CalendarListEntryNotificationSettings extends Analytify_Google_Collection
2393 {
2394 protected $notificationsType = 'Analytify_Google_Service_Calendar_CalendarNotification';
2395 protected $notificationsDataType = 'array';
2396
2397 public function setNotifications($notifications)
2398 {
2399 $this->notifications = $notifications;
2400 }
2401
2402 public function getNotifications()
2403 {
2404 return $this->notifications;
2405 }
2406 }
2407
2408 class Analytify_Google_Service_Calendar_CalendarNotification extends Analytify_Google_Model
2409 {
2410 public $method;
2411 public $type;
2412
2413 public function setMethod($method)
2414 {
2415 $this->method = $method;
2416 }
2417
2418 public function getMethod()
2419 {
2420 return $this->method;
2421 }
2422
2423 public function setType($type)
2424 {
2425 $this->type = $type;
2426 }
2427
2428 public function getType()
2429 {
2430 return $this->type;
2431 }
2432 }
2433
2434 class Analytify_Google_Service_Calendar_Channel extends Analytify_Google_Model
2435 {
2436 public $address;
2437 public $expiration;
2438 public $id;
2439 public $kind;
2440 public $params;
2441 public $payload;
2442 public $resourceId;
2443 public $resourceUri;
2444 public $token;
2445 public $type;
2446
2447 public function setAddress($address)
2448 {
2449 $this->address = $address;
2450 }
2451
2452 public function getAddress()
2453 {
2454 return $this->address;
2455 }
2456
2457 public function setExpiration($expiration)
2458 {
2459 $this->expiration = $expiration;
2460 }
2461
2462 public function getExpiration()
2463 {
2464 return $this->expiration;
2465 }
2466
2467 public function setId($id)
2468 {
2469 $this->id = $id;
2470 }
2471
2472 public function getId()
2473 {
2474 return $this->id;
2475 }
2476
2477 public function setKind($kind)
2478 {
2479 $this->kind = $kind;
2480 }
2481
2482 public function getKind()
2483 {
2484 return $this->kind;
2485 }
2486
2487 public function setParams($params)
2488 {
2489 $this->params = $params;
2490 }
2491
2492 public function getParams()
2493 {
2494 return $this->params;
2495 }
2496
2497 public function setPayload($payload)
2498 {
2499 $this->payload = $payload;
2500 }
2501
2502 public function getPayload()
2503 {
2504 return $this->payload;
2505 }
2506
2507 public function setResourceId($resourceId)
2508 {
2509 $this->resourceId = $resourceId;
2510 }
2511
2512 public function getResourceId()
2513 {
2514 return $this->resourceId;
2515 }
2516
2517 public function setResourceUri($resourceUri)
2518 {
2519 $this->resourceUri = $resourceUri;
2520 }
2521
2522 public function getResourceUri()
2523 {
2524 return $this->resourceUri;
2525 }
2526
2527 public function setToken($token)
2528 {
2529 $this->token = $token;
2530 }
2531
2532 public function getToken()
2533 {
2534 return $this->token;
2535 }
2536
2537 public function setType($type)
2538 {
2539 $this->type = $type;
2540 }
2541
2542 public function getType()
2543 {
2544 return $this->type;
2545 }
2546 }
2547
2548 class Analytify_Google_Service_Calendar_ChannelParams extends Analytify_Google_Model
2549 {
2550
2551 }
2552
2553 class Analytify_Google_Service_Calendar_ColorDefinition extends Analytify_Google_Model
2554 {
2555 public $background;
2556 public $foreground;
2557
2558 public function setBackground($background)
2559 {
2560 $this->background = $background;
2561 }
2562
2563 public function getBackground()
2564 {
2565 return $this->background;
2566 }
2567
2568 public function setForeground($foreground)
2569 {
2570 $this->foreground = $foreground;
2571 }
2572
2573 public function getForeground()
2574 {
2575 return $this->foreground;
2576 }
2577 }
2578
2579 class Analytify_Google_Service_Calendar_Colors extends Analytify_Google_Model
2580 {
2581 protected $calendarType = 'Analytify_Google_Service_Calendar_ColorDefinition';
2582 protected $calendarDataType = 'map';
2583 protected $eventType = 'Analytify_Google_Service_Calendar_ColorDefinition';
2584 protected $eventDataType = 'map';
2585 public $kind;
2586 public $updated;
2587
2588 public function setCalendar($calendar)
2589 {
2590 $this->calendar = $calendar;
2591 }
2592
2593 public function getCalendar()
2594 {
2595 return $this->calendar;
2596 }
2597
2598 public function setEvent($event)
2599 {
2600 $this->event = $event;
2601 }
2602
2603 public function getEvent()
2604 {
2605 return $this->event;
2606 }
2607
2608 public function setKind($kind)
2609 {
2610 $this->kind = $kind;
2611 }
2612
2613 public function getKind()
2614 {
2615 return $this->kind;
2616 }
2617
2618 public function setUpdated($updated)
2619 {
2620 $this->updated = $updated;
2621 }
2622
2623 public function getUpdated()
2624 {
2625 return $this->updated;
2626 }
2627 }
2628
2629 class Analytify_Google_Service_Calendar_ColorsCalendar extends Analytify_Google_Model
2630 {
2631
2632 }
2633
2634 class Analytify_Google_Service_Calendar_ColorsEvent extends Analytify_Google_Model
2635 {
2636
2637 }
2638
2639 class Analytify_Google_Service_Calendar_Error extends Analytify_Google_Model
2640 {
2641 public $domain;
2642 public $reason;
2643
2644 public function setDomain($domain)
2645 {
2646 $this->domain = $domain;
2647 }
2648
2649 public function getDomain()
2650 {
2651 return $this->domain;
2652 }
2653
2654 public function setReason($reason)
2655 {
2656 $this->reason = $reason;
2657 }
2658
2659 public function getReason()
2660 {
2661 return $this->reason;
2662 }
2663 }
2664
2665 class Analytify_Google_Service_Calendar_Event extends Analytify_Google_Collection
2666 {
2667 public $anyoneCanAddSelf;
2668 protected $attendeesType = 'Analytify_Google_Service_Calendar_EventAttendee';
2669 protected $attendeesDataType = 'array';
2670 public $attendeesOmitted;
2671 public $colorId;
2672 public $created;
2673 protected $creatorType = 'Analytify_Google_Service_Calendar_EventCreator';
2674 protected $creatorDataType = '';
2675 public $description;
2676 protected $endType = 'Analytify_Google_Service_Calendar_EventDateTime';
2677 protected $endDataType = '';
2678 public $endTimeUnspecified;
2679 public $etag;
2680 protected $extendedPropertiesType = 'Analytify_Google_Service_Calendar_EventExtendedProperties';
2681 protected $extendedPropertiesDataType = '';
2682 protected $gadgetType = 'Analytify_Google_Service_Calendar_EventGadget';
2683 protected $gadgetDataType = '';
2684 public $guestsCanInviteOthers;
2685 public $guestsCanModify;
2686 public $guestsCanSeeOtherGuests;
2687 public $hangoutLink;
2688 public $htmlLink;
2689 public $iCalUID;
2690 public $id;
2691 public $kind;
2692 public $location;
2693 public $locked;
2694 protected $organizerType = 'Analytify_Google_Service_Calendar_EventOrganizer';
2695 protected $organizerDataType = '';
2696 protected $originalStartTimeType = 'Analytify_Google_Service_Calendar_EventDateTime';
2697 protected $originalStartTimeDataType = '';
2698 public $privateCopy;
2699 public $recurrence;
2700 public $recurringEventId;
2701 protected $remindersType = 'Analytify_Google_Service_Calendar_EventReminders';
2702 protected $remindersDataType = '';
2703 public $sequence;
2704 protected $sourceType = 'Analytify_Google_Service_Calendar_EventSource';
2705 protected $sourceDataType = '';
2706 protected $startType = 'Analytify_Google_Service_Calendar_EventDateTime';
2707 protected $startDataType = '';
2708 public $status;
2709 public $summary;
2710 public $transparency;
2711 public $updated;
2712 public $visibility;
2713
2714 public function setAnyoneCanAddSelf($anyoneCanAddSelf)
2715 {
2716 $this->anyoneCanAddSelf = $anyoneCanAddSelf;
2717 }
2718
2719 public function getAnyoneCanAddSelf()
2720 {
2721 return $this->anyoneCanAddSelf;
2722 }
2723
2724 public function setAttendees($attendees)
2725 {
2726 $this->attendees = $attendees;
2727 }
2728
2729 public function getAttendees()
2730 {
2731 return $this->attendees;
2732 }
2733
2734 public function setAttendeesOmitted($attendeesOmitted)
2735 {
2736 $this->attendeesOmitted = $attendeesOmitted;
2737 }
2738
2739 public function getAttendeesOmitted()
2740 {
2741 return $this->attendeesOmitted;
2742 }
2743
2744 public function setColorId($colorId)
2745 {
2746 $this->colorId = $colorId;
2747 }
2748
2749 public function getColorId()
2750 {
2751 return $this->colorId;
2752 }
2753
2754 public function setCreated($created)
2755 {
2756 $this->created = $created;
2757 }
2758
2759 public function getCreated()
2760 {
2761 return $this->created;
2762 }
2763
2764 public function setCreator(Analytify_Google_Service_Calendar_EventCreator $creator)
2765 {
2766 $this->creator = $creator;
2767 }
2768
2769 public function getCreator()
2770 {
2771 return $this->creator;
2772 }
2773
2774 public function setDescription($description)
2775 {
2776 $this->description = $description;
2777 }
2778
2779 public function getDescription()
2780 {
2781 return $this->description;
2782 }
2783
2784 public function setEnd(Analytify_Google_Service_Calendar_EventDateTime $end)
2785 {
2786 $this->end = $end;
2787 }
2788
2789 public function getEnd()
2790 {
2791 return $this->end;
2792 }
2793
2794 public function setEndTimeUnspecified($endTimeUnspecified)
2795 {
2796 $this->endTimeUnspecified = $endTimeUnspecified;
2797 }
2798
2799 public function getEndTimeUnspecified()
2800 {
2801 return $this->endTimeUnspecified;
2802 }
2803
2804 public function setEtag($etag)
2805 {
2806 $this->etag = $etag;
2807 }
2808
2809 public function getEtag()
2810 {
2811 return $this->etag;
2812 }
2813
2814 public function setExtendedProperties(Analytify_Google_Service_Calendar_EventExtendedProperties $extendedProperties)
2815 {
2816 $this->extendedProperties = $extendedProperties;
2817 }
2818
2819 public function getExtendedProperties()
2820 {
2821 return $this->extendedProperties;
2822 }
2823
2824 public function setGadget(Analytify_Google_Service_Calendar_EventGadget $gadget)
2825 {
2826 $this->gadget = $gadget;
2827 }
2828
2829 public function getGadget()
2830 {
2831 return $this->gadget;
2832 }
2833
2834 public function setGuestsCanInviteOthers($guestsCanInviteOthers)
2835 {
2836 $this->guestsCanInviteOthers = $guestsCanInviteOthers;
2837 }
2838
2839 public function getGuestsCanInviteOthers()
2840 {
2841 return $this->guestsCanInviteOthers;
2842 }
2843
2844 public function setGuestsCanModify($guestsCanModify)
2845 {
2846 $this->guestsCanModify = $guestsCanModify;
2847 }
2848
2849 public function getGuestsCanModify()
2850 {
2851 return $this->guestsCanModify;
2852 }
2853
2854 public function setGuestsCanSeeOtherGuests($guestsCanSeeOtherGuests)
2855 {
2856 $this->guestsCanSeeOtherGuests = $guestsCanSeeOtherGuests;
2857 }
2858
2859 public function getGuestsCanSeeOtherGuests()
2860 {
2861 return $this->guestsCanSeeOtherGuests;
2862 }
2863
2864 public function setHangoutLink($hangoutLink)
2865 {
2866 $this->hangoutLink = $hangoutLink;
2867 }
2868
2869 public function getHangoutLink()
2870 {
2871 return $this->hangoutLink;
2872 }
2873
2874 public function setHtmlLink($htmlLink)
2875 {
2876 $this->htmlLink = $htmlLink;
2877 }
2878
2879 public function getHtmlLink()
2880 {
2881 return $this->htmlLink;
2882 }
2883
2884 public function setICalUID($iCalUID)
2885 {
2886 $this->iCalUID = $iCalUID;
2887 }
2888
2889 public function getICalUID()
2890 {
2891 return $this->iCalUID;
2892 }
2893
2894 public function setId($id)
2895 {
2896 $this->id = $id;
2897 }
2898
2899 public function getId()
2900 {
2901 return $this->id;
2902 }
2903
2904 public function setKind($kind)
2905 {
2906 $this->kind = $kind;
2907 }
2908
2909 public function getKind()
2910 {
2911 return $this->kind;
2912 }
2913
2914 public function setLocation($location)
2915 {
2916 $this->location = $location;
2917 }
2918
2919 public function getLocation()
2920 {
2921 return $this->location;
2922 }
2923
2924 public function setLocked($locked)
2925 {
2926 $this->locked = $locked;
2927 }
2928
2929 public function getLocked()
2930 {
2931 return $this->locked;
2932 }
2933
2934 public function setOrganizer(Analytify_Google_Service_Calendar_EventOrganizer $organizer)
2935 {
2936 $this->organizer = $organizer;
2937 }
2938
2939 public function getOrganizer()
2940 {
2941 return $this->organizer;
2942 }
2943
2944 public function setOriginalStartTime(Analytify_Google_Service_Calendar_EventDateTime $originalStartTime)
2945 {
2946 $this->originalStartTime = $originalStartTime;
2947 }
2948
2949 public function getOriginalStartTime()
2950 {
2951 return $this->originalStartTime;
2952 }
2953
2954 public function setPrivateCopy($privateCopy)
2955 {
2956 $this->privateCopy = $privateCopy;
2957 }
2958
2959 public function getPrivateCopy()
2960 {
2961 return $this->privateCopy;
2962 }
2963
2964 public function setRecurrence($recurrence)
2965 {
2966 $this->recurrence = $recurrence;
2967 }
2968
2969 public function getRecurrence()
2970 {
2971 return $this->recurrence;
2972 }
2973
2974 public function setRecurringEventId($recurringEventId)
2975 {
2976 $this->recurringEventId = $recurringEventId;
2977 }
2978
2979 public function getRecurringEventId()
2980 {
2981 return $this->recurringEventId;
2982 }
2983
2984 public function setReminders(Analytify_Google_Service_Calendar_EventReminders $reminders)
2985 {
2986 $this->reminders = $reminders;
2987 }
2988
2989 public function getReminders()
2990 {
2991 return $this->reminders;
2992 }
2993
2994 public function setSequence($sequence)
2995 {
2996 $this->sequence = $sequence;
2997 }
2998
2999 public function getSequence()
3000 {
3001 return $this->sequence;
3002 }
3003
3004 public function setSource(Analytify_Google_Service_Calendar_EventSource $source)
3005 {
3006 $this->source = $source;
3007 }
3008
3009 public function getSource()
3010 {
3011 return $this->source;
3012 }
3013
3014 public function setStart(Analytify_Google_Service_Calendar_EventDateTime $start)
3015 {
3016 $this->start = $start;
3017 }
3018
3019 public function getStart()
3020 {
3021 return $this->start;
3022 }
3023
3024 public function setStatus($status)
3025 {
3026 $this->status = $status;
3027 }
3028
3029 public function getStatus()
3030 {
3031 return $this->status;
3032 }
3033
3034 public function setSummary($summary)
3035 {
3036 $this->summary = $summary;
3037 }
3038
3039 public function getSummary()
3040 {
3041 return $this->summary;
3042 }
3043
3044 public function setTransparency($transparency)
3045 {
3046 $this->transparency = $transparency;
3047 }
3048
3049 public function getTransparency()
3050 {
3051 return $this->transparency;
3052 }
3053
3054 public function setUpdated($updated)
3055 {
3056 $this->updated = $updated;
3057 }
3058
3059 public function getUpdated()
3060 {
3061 return $this->updated;
3062 }
3063
3064 public function setVisibility($visibility)
3065 {
3066 $this->visibility = $visibility;
3067 }
3068
3069 public function getVisibility()
3070 {
3071 return $this->visibility;
3072 }
3073 }
3074
3075 class Analytify_Google_Service_Calendar_EventAttendee extends Analytify_Google_Model
3076 {
3077 public $additionalGuests;
3078 public $comment;
3079 public $displayName;
3080 public $email;
3081 public $id;
3082 public $optional;
3083 public $organizer;
3084 public $resource;
3085 public $responseStatus;
3086 public $self;
3087
3088 public function setAdditionalGuests($additionalGuests)
3089 {
3090 $this->additionalGuests = $additionalGuests;
3091 }
3092
3093 public function getAdditionalGuests()
3094 {
3095 return $this->additionalGuests;
3096 }
3097
3098 public function setComment($comment)
3099 {
3100 $this->comment = $comment;
3101 }
3102
3103 public function getComment()
3104 {
3105 return $this->comment;
3106 }
3107
3108 public function setDisplayName($displayName)
3109 {
3110 $this->displayName = $displayName;
3111 }
3112
3113 public function getDisplayName()
3114 {
3115 return $this->displayName;
3116 }
3117
3118 public function setEmail($email)
3119 {
3120 $this->email = $email;
3121 }
3122
3123 public function getEmail()
3124 {
3125 return $this->email;
3126 }
3127
3128 public function setId($id)
3129 {
3130 $this->id = $id;
3131 }
3132
3133 public function getId()
3134 {
3135 return $this->id;
3136 }
3137
3138 public function setOptional($optional)
3139 {
3140 $this->optional = $optional;
3141 }
3142
3143 public function getOptional()
3144 {
3145 return $this->optional;
3146 }
3147
3148 public function setOrganizer($organizer)
3149 {
3150 $this->organizer = $organizer;
3151 }
3152
3153 public function getOrganizer()
3154 {
3155 return $this->organizer;
3156 }
3157
3158 public function setResource($resource)
3159 {
3160 $this->resource = $resource;
3161 }
3162
3163 public function getResource()
3164 {
3165 return $this->resource;
3166 }
3167
3168 public function setResponseStatus($responseStatus)
3169 {
3170 $this->responseStatus = $responseStatus;
3171 }
3172
3173 public function getResponseStatus()
3174 {
3175 return $this->responseStatus;
3176 }
3177
3178 public function setSelf($self)
3179 {
3180 $this->self = $self;
3181 }
3182
3183 public function getSelf()
3184 {
3185 return $this->self;
3186 }
3187 }
3188
3189 class Analytify_Google_Service_Calendar_EventCreator extends Analytify_Google_Model
3190 {
3191 public $displayName;
3192 public $email;
3193 public $id;
3194 public $self;
3195
3196 public function setDisplayName($displayName)
3197 {
3198 $this->displayName = $displayName;
3199 }
3200
3201 public function getDisplayName()
3202 {
3203 return $this->displayName;
3204 }
3205
3206 public function setEmail($email)
3207 {
3208 $this->email = $email;
3209 }
3210
3211 public function getEmail()
3212 {
3213 return $this->email;
3214 }
3215
3216 public function setId($id)
3217 {
3218 $this->id = $id;
3219 }
3220
3221 public function getId()
3222 {
3223 return $this->id;
3224 }
3225
3226 public function setSelf($self)
3227 {
3228 $this->self = $self;
3229 }
3230
3231 public function getSelf()
3232 {
3233 return $this->self;
3234 }
3235 }
3236
3237 class Analytify_Google_Service_Calendar_EventDateTime extends Analytify_Google_Model
3238 {
3239 public $date;
3240 public $dateTime;
3241 public $timeZone;
3242
3243 public function setDate($date)
3244 {
3245 $this->date = $date;
3246 }
3247
3248 public function getDate()
3249 {
3250 return $this->date;
3251 }
3252
3253 public function setDateTime($dateTime)
3254 {
3255 $this->dateTime = $dateTime;
3256 }
3257
3258 public function getDateTime()
3259 {
3260 return $this->dateTime;
3261 }
3262
3263 public function setTimeZone($timeZone)
3264 {
3265 $this->timeZone = $timeZone;
3266 }
3267
3268 public function getTimeZone()
3269 {
3270 return $this->timeZone;
3271 }
3272 }
3273
3274 class Analytify_Google_Service_Calendar_EventExtendedProperties extends Analytify_Google_Model
3275 {
3276 public $private;
3277 public $shared;
3278
3279 public function setPrivate($private)
3280 {
3281 $this->private = $private;
3282 }
3283
3284 public function getPrivate()
3285 {
3286 return $this->private;
3287 }
3288
3289 public function setShared($shared)
3290 {
3291 $this->shared = $shared;
3292 }
3293
3294 public function getShared()
3295 {
3296 return $this->shared;
3297 }
3298 }
3299
3300 class Analytify_Google_Service_Calendar_EventExtendedPropertiesPrivate extends Analytify_Google_Model
3301 {
3302
3303 }
3304
3305 class Analytify_Google_Service_Calendar_EventExtendedPropertiesShared extends Analytify_Google_Model
3306 {
3307
3308 }
3309
3310 class Analytify_Google_Service_Calendar_EventGadget extends Analytify_Google_Model
3311 {
3312 public $display;
3313 public $height;
3314 public $iconLink;
3315 public $link;
3316 public $preferences;
3317 public $title;
3318 public $type;
3319 public $width;
3320
3321 public function setDisplay($display)
3322 {
3323 $this->display = $display;
3324 }
3325
3326 public function getDisplay()
3327 {
3328 return $this->display;
3329 }
3330
3331 public function setHeight($height)
3332 {
3333 $this->height = $height;
3334 }
3335
3336 public function getHeight()
3337 {
3338 return $this->height;
3339 }
3340
3341 public function setIconLink($iconLink)
3342 {
3343 $this->iconLink = $iconLink;
3344 }
3345
3346 public function getIconLink()
3347 {
3348 return $this->iconLink;
3349 }
3350
3351 public function setLink($link)
3352 {
3353 $this->link = $link;
3354 }
3355
3356 public function getLink()
3357 {
3358 return $this->link;
3359 }
3360
3361 public function setPreferences($preferences)
3362 {
3363 $this->preferences = $preferences;
3364 }
3365
3366 public function getPreferences()
3367 {
3368 return $this->preferences;
3369 }
3370
3371 public function setTitle($title)
3372 {
3373 $this->title = $title;
3374 }
3375
3376 public function getTitle()
3377 {
3378 return $this->title;
3379 }
3380
3381 public function setType($type)
3382 {
3383 $this->type = $type;
3384 }
3385
3386 public function getType()
3387 {
3388 return $this->type;
3389 }
3390
3391 public function setWidth($width)
3392 {
3393 $this->width = $width;
3394 }
3395
3396 public function getWidth()
3397 {
3398 return $this->width;
3399 }
3400 }
3401
3402 class Analytify_Google_Service_Calendar_EventGadgetPreferences extends Analytify_Google_Model
3403 {
3404
3405 }
3406
3407 class Analytify_Google_Service_Calendar_EventOrganizer extends Analytify_Google_Model
3408 {
3409 public $displayName;
3410 public $email;
3411 public $id;
3412 public $self;
3413
3414 public function setDisplayName($displayName)
3415 {
3416 $this->displayName = $displayName;
3417 }
3418
3419 public function getDisplayName()
3420 {
3421 return $this->displayName;
3422 }
3423
3424 public function setEmail($email)
3425 {
3426 $this->email = $email;
3427 }
3428
3429 public function getEmail()
3430 {
3431 return $this->email;
3432 }
3433
3434 public function setId($id)
3435 {
3436 $this->id = $id;
3437 }
3438
3439 public function getId()
3440 {
3441 return $this->id;
3442 }
3443
3444 public function setSelf($self)
3445 {
3446 $this->self = $self;
3447 }
3448
3449 public function getSelf()
3450 {
3451 return $this->self;
3452 }
3453 }
3454
3455 class Analytify_Google_Service_Calendar_EventReminder extends Analytify_Google_Model
3456 {
3457 public $method;
3458 public $minutes;
3459
3460 public function setMethod($method)
3461 {
3462 $this->method = $method;
3463 }
3464
3465 public function getMethod()
3466 {
3467 return $this->method;
3468 }
3469
3470 public function setMinutes($minutes)
3471 {
3472 $this->minutes = $minutes;
3473 }
3474
3475 public function getMinutes()
3476 {
3477 return $this->minutes;
3478 }
3479 }
3480
3481 class Analytify_Google_Service_Calendar_EventReminders extends Analytify_Google_Collection
3482 {
3483 protected $overridesType = 'Analytify_Google_Service_Calendar_EventReminder';
3484 protected $overridesDataType = 'array';
3485 public $useDefault;
3486
3487 public function setOverrides($overrides)
3488 {
3489 $this->overrides = $overrides;
3490 }
3491
3492 public function getOverrides()
3493 {
3494 return $this->overrides;
3495 }
3496
3497 public function setUseDefault($useDefault)
3498 {
3499 $this->useDefault = $useDefault;
3500 }
3501
3502 public function getUseDefault()
3503 {
3504 return $this->useDefault;
3505 }
3506 }
3507
3508 class Analytify_Google_Service_Calendar_EventSource extends Analytify_Google_Model
3509 {
3510 public $title;
3511 public $url;
3512
3513 public function setTitle($title)
3514 {
3515 $this->title = $title;
3516 }
3517
3518 public function getTitle()
3519 {
3520 return $this->title;
3521 }
3522
3523 public function setUrl($url)
3524 {
3525 $this->url = $url;
3526 }
3527
3528 public function getUrl()
3529 {
3530 return $this->url;
3531 }
3532 }
3533
3534 class Analytify_Google_Service_Calendar_Events extends Analytify_Google_Collection
3535 {
3536 public $accessRole;
3537 protected $defaultRemindersType = 'Analytify_Google_Service_Calendar_EventReminder';
3538 protected $defaultRemindersDataType = 'array';
3539 public $description;
3540 public $etag;
3541 protected $itemsType = 'Analytify_Google_Service_Calendar_Event';
3542 protected $itemsDataType = 'array';
3543 public $kind;
3544 public $nextPageToken;
3545 public $nextSyncToken;
3546 public $summary;
3547 public $timeZone;
3548 public $updated;
3549
3550 public function setAccessRole($accessRole)
3551 {
3552 $this->accessRole = $accessRole;
3553 }
3554
3555 public function getAccessRole()
3556 {
3557 return $this->accessRole;
3558 }
3559
3560 public function setDefaultReminders($defaultReminders)
3561 {
3562 $this->defaultReminders = $defaultReminders;
3563 }
3564
3565 public function getDefaultReminders()
3566 {
3567 return $this->defaultReminders;
3568 }
3569
3570 public function setDescription($description)
3571 {
3572 $this->description = $description;
3573 }
3574
3575 public function getDescription()
3576 {
3577 return $this->description;
3578 }
3579
3580 public function setEtag($etag)
3581 {
3582 $this->etag = $etag;
3583 }
3584
3585 public function getEtag()
3586 {
3587 return $this->etag;
3588 }
3589
3590 public function setItems($items)
3591 {
3592 $this->items = $items;
3593 }
3594
3595 public function getItems()
3596 {
3597 return $this->items;
3598 }
3599
3600 public function setKind($kind)
3601 {
3602 $this->kind = $kind;
3603 }
3604
3605 public function getKind()
3606 {
3607 return $this->kind;
3608 }
3609
3610 public function setNextPageToken($nextPageToken)
3611 {
3612 $this->nextPageToken = $nextPageToken;
3613 }
3614
3615 public function getNextPageToken()
3616 {
3617 return $this->nextPageToken;
3618 }
3619
3620 public function setNextSyncToken($nextSyncToken)
3621 {
3622 $this->nextSyncToken = $nextSyncToken;
3623 }
3624
3625 public function getNextSyncToken()
3626 {
3627 return $this->nextSyncToken;
3628 }
3629
3630 public function setSummary($summary)
3631 {
3632 $this->summary = $summary;
3633 }
3634
3635 public function getSummary()
3636 {
3637 return $this->summary;
3638 }
3639
3640 public function setTimeZone($timeZone)
3641 {
3642 $this->timeZone = $timeZone;
3643 }
3644
3645 public function getTimeZone()
3646 {
3647 return $this->timeZone;
3648 }
3649
3650 public function setUpdated($updated)
3651 {
3652 $this->updated = $updated;
3653 }
3654
3655 public function getUpdated()
3656 {
3657 return $this->updated;
3658 }
3659 }
3660
3661 class Analytify_Google_Service_Calendar_FreeBusyCalendar extends Analytify_Google_Collection
3662 {
3663 protected $busyType = 'Analytify_Google_Service_Calendar_TimePeriod';
3664 protected $busyDataType = 'array';
3665 protected $errorsType = 'Analytify_Google_Service_Calendar_Error';
3666 protected $errorsDataType = 'array';
3667
3668 public function setBusy($busy)
3669 {
3670 $this->busy = $busy;
3671 }
3672
3673 public function getBusy()
3674 {
3675 return $this->busy;
3676 }
3677
3678 public function setErrors($errors)
3679 {
3680 $this->errors = $errors;
3681 }
3682
3683 public function getErrors()
3684 {
3685 return $this->errors;
3686 }
3687 }
3688
3689 class Analytify_Google_Service_Calendar_FreeBusyGroup extends Analytify_Google_Collection
3690 {
3691 public $calendars;
3692 protected $errorsType = 'Analytify_Google_Service_Calendar_Error';
3693 protected $errorsDataType = 'array';
3694
3695 public function setCalendars($calendars)
3696 {
3697 $this->calendars = $calendars;
3698 }
3699
3700 public function getCalendars()
3701 {
3702 return $this->calendars;
3703 }
3704
3705 public function setErrors($errors)
3706 {
3707 $this->errors = $errors;
3708 }
3709
3710 public function getErrors()
3711 {
3712 return $this->errors;
3713 }
3714 }
3715
3716 class Analytify_Google_Service_Calendar_FreeBusyRequest extends Analytify_Google_Collection
3717 {
3718 public $calendarExpansionMax;
3719 public $groupExpansionMax;
3720 protected $itemsType = 'Analytify_Google_Service_Calendar_FreeBusyRequestItem';
3721 protected $itemsDataType = 'array';
3722 public $timeMax;
3723 public $timeMin;
3724 public $timeZone;
3725
3726 public function setCalendarExpansionMax($calendarExpansionMax)
3727 {
3728 $this->calendarExpansionMax = $calendarExpansionMax;
3729 }
3730
3731 public function getCalendarExpansionMax()
3732 {
3733 return $this->calendarExpansionMax;
3734 }
3735
3736 public function setGroupExpansionMax($groupExpansionMax)
3737 {
3738 $this->groupExpansionMax = $groupExpansionMax;
3739 }
3740
3741 public function getGroupExpansionMax()
3742 {
3743 return $this->groupExpansionMax;
3744 }
3745
3746 public function setItems($items)
3747 {
3748 $this->items = $items;
3749 }
3750
3751 public function getItems()
3752 {
3753 return $this->items;
3754 }
3755
3756 public function setTimeMax($timeMax)
3757 {
3758 $this->timeMax = $timeMax;
3759 }
3760
3761 public function getTimeMax()
3762 {
3763 return $this->timeMax;
3764 }
3765
3766 public function setTimeMin($timeMin)
3767 {
3768 $this->timeMin = $timeMin;
3769 }
3770
3771 public function getTimeMin()
3772 {
3773 return $this->timeMin;
3774 }
3775
3776 public function setTimeZone($timeZone)
3777 {
3778 $this->timeZone = $timeZone;
3779 }
3780
3781 public function getTimeZone()
3782 {
3783 return $this->timeZone;
3784 }
3785 }
3786
3787 class Analytify_Google_Service_Calendar_FreeBusyRequestItem extends Analytify_Google_Model
3788 {
3789 public $id;
3790
3791 public function setId($id)
3792 {
3793 $this->id = $id;
3794 }
3795
3796 public function getId()
3797 {
3798 return $this->id;
3799 }
3800 }
3801
3802 class Analytify_Google_Service_Calendar_FreeBusyResponse extends Analytify_Google_Model
3803 {
3804 protected $calendarsType = 'Analytify_Google_Service_Calendar_FreeBusyCalendar';
3805 protected $calendarsDataType = 'map';
3806 protected $groupsType = 'Analytify_Google_Service_Calendar_FreeBusyGroup';
3807 protected $groupsDataType = 'map';
3808 public $kind;
3809 public $timeMax;
3810 public $timeMin;
3811
3812 public function setCalendars($calendars)
3813 {
3814 $this->calendars = $calendars;
3815 }
3816
3817 public function getCalendars()
3818 {
3819 return $this->calendars;
3820 }
3821
3822 public function setGroups($groups)
3823 {
3824 $this->groups = $groups;
3825 }
3826
3827 public function getGroups()
3828 {
3829 return $this->groups;
3830 }
3831
3832 public function setKind($kind)
3833 {
3834 $this->kind = $kind;
3835 }
3836
3837 public function getKind()
3838 {
3839 return $this->kind;
3840 }
3841
3842 public function setTimeMax($timeMax)
3843 {
3844 $this->timeMax = $timeMax;
3845 }
3846
3847 public function getTimeMax()
3848 {
3849 return $this->timeMax;
3850 }
3851
3852 public function setTimeMin($timeMin)
3853 {
3854 $this->timeMin = $timeMin;
3855 }
3856
3857 public function getTimeMin()
3858 {
3859 return $this->timeMin;
3860 }
3861 }
3862
3863 class Analytify_Google_Service_Calendar_FreeBusyResponseCalendars extends Analytify_Google_Model
3864 {
3865
3866 }
3867
3868 class Analytify_Google_Service_Calendar_FreeBusyResponseGroups extends Analytify_Google_Model
3869 {
3870
3871 }
3872
3873 class Analytify_Google_Service_Calendar_Setting extends Analytify_Google_Model
3874 {
3875 public $etag;
3876 public $id;
3877 public $kind;
3878 public $value;
3879
3880 public function setEtag($etag)
3881 {
3882 $this->etag = $etag;
3883 }
3884
3885 public function getEtag()
3886 {
3887 return $this->etag;
3888 }
3889
3890 public function setId($id)
3891 {
3892 $this->id = $id;
3893 }
3894
3895 public function getId()
3896 {
3897 return $this->id;
3898 }
3899
3900 public function setKind($kind)
3901 {
3902 $this->kind = $kind;
3903 }
3904
3905 public function getKind()
3906 {
3907 return $this->kind;
3908 }
3909
3910 public function setValue($value)
3911 {
3912 $this->value = $value;
3913 }
3914
3915 public function getValue()
3916 {
3917 return $this->value;
3918 }
3919 }
3920
3921 class Analytify_Google_Service_Calendar_Settings extends Analytify_Google_Collection
3922 {
3923 public $etag;
3924 protected $itemsType = 'Analytify_Google_Service_Calendar_Setting';
3925 protected $itemsDataType = 'array';
3926 public $kind;
3927 public $nextPageToken;
3928 public $nextSyncToken;
3929
3930 public function setEtag($etag)
3931 {
3932 $this->etag = $etag;
3933 }
3934
3935 public function getEtag()
3936 {
3937 return $this->etag;
3938 }
3939
3940 public function setItems($items)
3941 {
3942 $this->items = $items;
3943 }
3944
3945 public function getItems()
3946 {
3947 return $this->items;
3948 }
3949
3950 public function setKind($kind)
3951 {
3952 $this->kind = $kind;
3953 }
3954
3955 public function getKind()
3956 {
3957 return $this->kind;
3958 }
3959
3960 public function setNextPageToken($nextPageToken)
3961 {
3962 $this->nextPageToken = $nextPageToken;
3963 }
3964
3965 public function getNextPageToken()
3966 {
3967 return $this->nextPageToken;
3968 }
3969
3970 public function setNextSyncToken($nextSyncToken)
3971 {
3972 $this->nextSyncToken = $nextSyncToken;
3973 }
3974
3975 public function getNextSyncToken()
3976 {
3977 return $this->nextSyncToken;
3978 }
3979 }
3980
3981 class Analytify_Google_Service_Calendar_TimePeriod extends Analytify_Google_Model
3982 {
3983 public $end;
3984 public $start;
3985
3986 public function setEnd($end)
3987 {
3988 $this->end = $end;
3989 }
3990
3991 public function getEnd()
3992 {
3993 return $this->end;
3994 }
3995
3996 public function setStart($start)
3997 {
3998 $this->start = $start;
3999 }
4000
4001 public function getStart()
4002 {
4003 return $this->start;
4004 }
4005 }
4006