PluginProbe
Authorizer / 2.2
Authorizer v2.2
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / inc / google-api-php-client / src / Google / Service / Calendar.php

Calendar.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/Calendar.php

3,873 lines 101.3 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 Google_Service_Calendar extends 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 Google_Client $client
53 */
54 public function __construct(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 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 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 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 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 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 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 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 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 Google_Service_Calendar(...);
879 * $acl = $calendarService->acl;
880 * </code>
881 */
882 class Google_Service_Calendar_Acl_Resource extends 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 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), "Google_Service_Calendar_AclRule");
915 }
916 /**
917 * Creates an access control rule. (acl.insert)
918 *
919 * @param string $calendarId
920 * Calendar identifier.
921 * @param Google_AclRule $postBody
922 * @param array $optParams Optional parameters.
923 * @return Google_Service_Calendar_AclRule
924 */
925 public function insert($calendarId, 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), "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 as part of the result of a previous call
942 * to this method. It makes the result of this call contain only entries that have changed since
943 * the last call, including entries that have been removed in the meantime (they will have the
944 * 'role' set to 'none'). Optional. The default is to return to all entries.
945 * @opt_param int maxResults
946 * Maximum number of entries returned on one result page. Optional.
947 * @opt_param bool showDeleted
948 * Whether to include deleted acls in the result. Deleted acls are represented by with 'role' equal
949 * to 'none'. Deleted acls will always be included if 'syncToken' is provided. Optional. The
950 * default is False.
951 * @return Google_Service_Calendar_Acl
952 */
953 public function listAcl($calendarId, $optParams = array())
954 {
955 $params = array('calendarId' => $calendarId);
956 $params = array_merge($params, $optParams);
957 return $this->call('list', array($params), "Google_Service_Calendar_Acl");
958 }
959 /**
960 * Updates an access control rule. This method supports patch semantics.
961 * (acl.patch)
962 *
963 * @param string $calendarId
964 * Calendar identifier.
965 * @param string $ruleId
966 * ACL rule identifier.
967 * @param Google_AclRule $postBody
968 * @param array $optParams Optional parameters.
969 * @return Google_Service_Calendar_AclRule
970 */
971 public function patch($calendarId, $ruleId, Google_Service_Calendar_AclRule $postBody, $optParams = array())
972 {
973 $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody);
974 $params = array_merge($params, $optParams);
975 return $this->call('patch', array($params), "Google_Service_Calendar_AclRule");
976 }
977 /**
978 * Updates an access control rule. (acl.update)
979 *
980 * @param string $calendarId
981 * Calendar identifier.
982 * @param string $ruleId
983 * ACL rule identifier.
984 * @param Google_AclRule $postBody
985 * @param array $optParams Optional parameters.
986 * @return Google_Service_Calendar_AclRule
987 */
988 public function update($calendarId, $ruleId, Google_Service_Calendar_AclRule $postBody, $optParams = array())
989 {
990 $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody);
991 $params = array_merge($params, $optParams);
992 return $this->call('update', array($params), "Google_Service_Calendar_AclRule");
993 }
994 /**
995 * Watch for changes to ACL resources. (acl.watch)
996 *
997 * @param string $calendarId
998 * Calendar identifier.
999 * @param Google_Channel $postBody
1000 * @param array $optParams Optional parameters.
1001 *
1002 * @opt_param string pageToken
1003 * Token specifying which result page to return. Optional.
1004 * @opt_param string syncToken
1005 * Token obtained from the 'nextSyncToken' field returned as part of the result of a previous call
1006 * to this method. It makes the result of this call contain only entries that have changed since
1007 * the last call, including entries that have been removed in the meantime (they will have the
1008 * 'role' set to 'none'). Optional. The default is to return to all entries.
1009 * @opt_param int maxResults
1010 * Maximum number of entries returned on one result page. Optional.
1011 * @opt_param bool showDeleted
1012 * Whether to include deleted acls in the result. Deleted acls are represented by with 'role' equal
1013 * to 'none'. Deleted acls will always be included if 'syncToken' is provided. Optional. The
1014 * default is False.
1015 * @return Google_Service_Calendar_Channel
1016 */
1017 public function watch($calendarId, Google_Service_Calendar_Channel $postBody, $optParams = array())
1018 {
1019 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1020 $params = array_merge($params, $optParams);
1021 return $this->call('watch', array($params), "Google_Service_Calendar_Channel");
1022 }
1023 }
1024
1025 /**
1026 * The "calendarList" collection of methods.
1027 * Typical usage is:
1028 * <code>
1029 * $calendarService = new Google_Service_Calendar(...);
1030 * $calendarList = $calendarService->calendarList;
1031 * </code>
1032 */
1033 class Google_Service_Calendar_CalendarList_Resource extends Google_Service_Resource
1034 {
1035
1036 /**
1037 * Deletes an entry on the user's calendar list. (calendarList.delete)
1038 *
1039 * @param string $calendarId
1040 * Calendar identifier.
1041 * @param array $optParams Optional parameters.
1042 */
1043 public function delete($calendarId, $optParams = array())
1044 {
1045 $params = array('calendarId' => $calendarId);
1046 $params = array_merge($params, $optParams);
1047 return $this->call('delete', array($params));
1048 }
1049 /**
1050 * Returns an entry on the user's calendar list. (calendarList.get)
1051 *
1052 * @param string $calendarId
1053 * Calendar identifier.
1054 * @param array $optParams Optional parameters.
1055 * @return Google_Service_Calendar_CalendarListEntry
1056 */
1057 public function get($calendarId, $optParams = array())
1058 {
1059 $params = array('calendarId' => $calendarId);
1060 $params = array_merge($params, $optParams);
1061 return $this->call('get', array($params), "Google_Service_Calendar_CalendarListEntry");
1062 }
1063 /**
1064 * Adds an entry to the user's calendar list. (calendarList.insert)
1065 *
1066 * @param Google_CalendarListEntry $postBody
1067 * @param array $optParams Optional parameters.
1068 *
1069 * @opt_param bool colorRgbFormat
1070 * Whether to use the foregroundColor and backgroundColor fields to write the calendar colors
1071 * (RGB). If this feature is used, the index-based colorId field will be set to the best matching
1072 * option automatically. Optional. The default is False.
1073 * @return Google_Service_Calendar_CalendarListEntry
1074 */
1075 public function insert(Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array())
1076 {
1077 $params = array('postBody' => $postBody);
1078 $params = array_merge($params, $optParams);
1079 return $this->call('insert', array($params), "Google_Service_Calendar_CalendarListEntry");
1080 }
1081 /**
1082 * Returns entries on the user's calendar list. (calendarList.listCalendarList)
1083 *
1084 * @param array $optParams Optional parameters.
1085 *
1086 * @opt_param string syncToken
1087 * Token obtained from the 'nextSyncToken' field returned on the last result page of the previous
1088 * method's call. It makes the result of this call contain only entries that have changed since the
1089 * last call. Optional. The default is to return all entries.
1090 * @opt_param bool showDeleted
1091 * Whether to include deleted calendar list entries in the result. Optional. The default is False.
1092 * @opt_param string minAccessRole
1093 * The minimum access role for the user in the returned entires. Optional. The default is no
1094 * restriction.
1095 * @opt_param int maxResults
1096 * Maximum number of entries returned on one result page. Optional.
1097 * @opt_param string pageToken
1098 * Token specifying which result page to return. Optional.
1099 * @opt_param bool showHidden
1100 * Whether to show hidden entries. Optional. The default is False.
1101 * @return Google_Service_Calendar_CalendarList
1102 */
1103 public function listCalendarList($optParams = array())
1104 {
1105 $params = array();
1106 $params = array_merge($params, $optParams);
1107 return $this->call('list', array($params), "Google_Service_Calendar_CalendarList");
1108 }
1109 /**
1110 * Updates an entry on the user's calendar list. This method supports patch
1111 * semantics. (calendarList.patch)
1112 *
1113 * @param string $calendarId
1114 * Calendar identifier.
1115 * @param Google_CalendarListEntry $postBody
1116 * @param array $optParams Optional parameters.
1117 *
1118 * @opt_param bool colorRgbFormat
1119 * Whether to use the 'foregroundColor' and 'backgroundColor' fields to write the calendar colors
1120 * (RGB). If this feature is used, the index-based 'colorId' field will be set to the best matching
1121 * option automatically. Optional. The default is False.
1122 * @return Google_Service_Calendar_CalendarListEntry
1123 */
1124 public function patch($calendarId, Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array())
1125 {
1126 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1127 $params = array_merge($params, $optParams);
1128 return $this->call('patch', array($params), "Google_Service_Calendar_CalendarListEntry");
1129 }
1130 /**
1131 * Updates an entry on the user's calendar list. (calendarList.update)
1132 *
1133 * @param string $calendarId
1134 * Calendar identifier.
1135 * @param Google_CalendarListEntry $postBody
1136 * @param array $optParams Optional parameters.
1137 *
1138 * @opt_param bool colorRgbFormat
1139 * Whether to use the 'foregroundColor' and 'backgroundColor' fields to write the calendar colors
1140 * (RGB). If this feature is used, the index-based 'colorId' field will be set to the best matching
1141 * option automatically. Optional. The default is False.
1142 * @return Google_Service_Calendar_CalendarListEntry
1143 */
1144 public function update($calendarId, Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array())
1145 {
1146 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1147 $params = array_merge($params, $optParams);
1148 return $this->call('update', array($params), "Google_Service_Calendar_CalendarListEntry");
1149 }
1150 /**
1151 * Watch for changes to CalendarList resources. (calendarList.watch)
1152 *
1153 * @param Google_Channel $postBody
1154 * @param array $optParams Optional parameters.
1155 *
1156 * @opt_param string syncToken
1157 * Token obtained from the 'nextSyncToken' field returned on the last result page of the previous
1158 * method's call. It makes the result of this call contain only entries that have changed since the
1159 * last call. Optional. The default is to return all entries.
1160 * @opt_param bool showDeleted
1161 * Whether to include deleted calendar list entries in the result. Optional. The default is False.
1162 * @opt_param string minAccessRole
1163 * The minimum access role for the user in the returned entires. Optional. The default is no
1164 * restriction.
1165 * @opt_param int maxResults
1166 * Maximum number of entries returned on one result page. Optional.
1167 * @opt_param string pageToken
1168 * Token specifying which result page to return. Optional.
1169 * @opt_param bool showHidden
1170 * Whether to show hidden entries. Optional. The default is False.
1171 * @return Google_Service_Calendar_Channel
1172 */
1173 public function watch(Google_Service_Calendar_Channel $postBody, $optParams = array())
1174 {
1175 $params = array('postBody' => $postBody);
1176 $params = array_merge($params, $optParams);
1177 return $this->call('watch', array($params), "Google_Service_Calendar_Channel");
1178 }
1179 }
1180
1181 /**
1182 * The "calendars" collection of methods.
1183 * Typical usage is:
1184 * <code>
1185 * $calendarService = new Google_Service_Calendar(...);
1186 * $calendars = $calendarService->calendars;
1187 * </code>
1188 */
1189 class Google_Service_Calendar_Calendars_Resource extends Google_Service_Resource
1190 {
1191
1192 /**
1193 * Clears a primary calendar. This operation deletes all data associated with
1194 * the primary calendar of an account and cannot be undone. (calendars.clear)
1195 *
1196 * @param string $calendarId
1197 * Calendar identifier.
1198 * @param array $optParams Optional parameters.
1199 */
1200 public function clear($calendarId, $optParams = array())
1201 {
1202 $params = array('calendarId' => $calendarId);
1203 $params = array_merge($params, $optParams);
1204 return $this->call('clear', array($params));
1205 }
1206 /**
1207 * Deletes a secondary calendar. (calendars.delete)
1208 *
1209 * @param string $calendarId
1210 * Calendar identifier.
1211 * @param array $optParams Optional parameters.
1212 */
1213 public function delete($calendarId, $optParams = array())
1214 {
1215 $params = array('calendarId' => $calendarId);
1216 $params = array_merge($params, $optParams);
1217 return $this->call('delete', array($params));
1218 }
1219 /**
1220 * Returns metadata for a calendar. (calendars.get)
1221 *
1222 * @param string $calendarId
1223 * Calendar identifier.
1224 * @param array $optParams Optional parameters.
1225 * @return Google_Service_Calendar_Calendar
1226 */
1227 public function get($calendarId, $optParams = array())
1228 {
1229 $params = array('calendarId' => $calendarId);
1230 $params = array_merge($params, $optParams);
1231 return $this->call('get', array($params), "Google_Service_Calendar_Calendar");
1232 }
1233 /**
1234 * Creates a secondary calendar. (calendars.insert)
1235 *
1236 * @param Google_Calendar $postBody
1237 * @param array $optParams Optional parameters.
1238 * @return Google_Service_Calendar_Calendar
1239 */
1240 public function insert(Google_Service_Calendar_Calendar $postBody, $optParams = array())
1241 {
1242 $params = array('postBody' => $postBody);
1243 $params = array_merge($params, $optParams);
1244 return $this->call('insert', array($params), "Google_Service_Calendar_Calendar");
1245 }
1246 /**
1247 * Updates metadata for a calendar. This method supports patch semantics.
1248 * (calendars.patch)
1249 *
1250 * @param string $calendarId
1251 * Calendar identifier.
1252 * @param Google_Calendar $postBody
1253 * @param array $optParams Optional parameters.
1254 * @return Google_Service_Calendar_Calendar
1255 */
1256 public function patch($calendarId, Google_Service_Calendar_Calendar $postBody, $optParams = array())
1257 {
1258 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1259 $params = array_merge($params, $optParams);
1260 return $this->call('patch', array($params), "Google_Service_Calendar_Calendar");
1261 }
1262 /**
1263 * Updates metadata for a calendar. (calendars.update)
1264 *
1265 * @param string $calendarId
1266 * Calendar identifier.
1267 * @param Google_Calendar $postBody
1268 * @param array $optParams Optional parameters.
1269 * @return Google_Service_Calendar_Calendar
1270 */
1271 public function update($calendarId, Google_Service_Calendar_Calendar $postBody, $optParams = array())
1272 {
1273 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1274 $params = array_merge($params, $optParams);
1275 return $this->call('update', array($params), "Google_Service_Calendar_Calendar");
1276 }
1277 }
1278
1279 /**
1280 * The "channels" collection of methods.
1281 * Typical usage is:
1282 * <code>
1283 * $calendarService = new Google_Service_Calendar(...);
1284 * $channels = $calendarService->channels;
1285 * </code>
1286 */
1287 class Google_Service_Calendar_Channels_Resource extends Google_Service_Resource
1288 {
1289
1290 /**
1291 * Stop watching resources through this channel (channels.stop)
1292 *
1293 * @param Google_Channel $postBody
1294 * @param array $optParams Optional parameters.
1295 */
1296 public function stop(Google_Service_Calendar_Channel $postBody, $optParams = array())
1297 {
1298 $params = array('postBody' => $postBody);
1299 $params = array_merge($params, $optParams);
1300 return $this->call('stop', array($params));
1301 }
1302 }
1303
1304 /**
1305 * The "colors" collection of methods.
1306 * Typical usage is:
1307 * <code>
1308 * $calendarService = new Google_Service_Calendar(...);
1309 * $colors = $calendarService->colors;
1310 * </code>
1311 */
1312 class Google_Service_Calendar_Colors_Resource extends Google_Service_Resource
1313 {
1314
1315 /**
1316 * Returns the color definitions for calendars and events. (colors.get)
1317 *
1318 * @param array $optParams Optional parameters.
1319 * @return Google_Service_Calendar_Colors
1320 */
1321 public function get($optParams = array())
1322 {
1323 $params = array();
1324 $params = array_merge($params, $optParams);
1325 return $this->call('get', array($params), "Google_Service_Calendar_Colors");
1326 }
1327 }
1328
1329 /**
1330 * The "events" collection of methods.
1331 * Typical usage is:
1332 * <code>
1333 * $calendarService = new Google_Service_Calendar(...);
1334 * $events = $calendarService->events;
1335 * </code>
1336 */
1337 class Google_Service_Calendar_Events_Resource extends Google_Service_Resource
1338 {
1339
1340 /**
1341 * Deletes an event. (events.delete)
1342 *
1343 * @param string $calendarId
1344 * Calendar identifier.
1345 * @param string $eventId
1346 * Event identifier.
1347 * @param array $optParams Optional parameters.
1348 *
1349 * @opt_param bool sendNotifications
1350 * Whether to send notifications about the deletion of the event. Optional. The default is False.
1351 */
1352 public function delete($calendarId, $eventId, $optParams = array())
1353 {
1354 $params = array('calendarId' => $calendarId, 'eventId' => $eventId);
1355 $params = array_merge($params, $optParams);
1356 return $this->call('delete', array($params));
1357 }
1358 /**
1359 * Returns an event. (events.get)
1360 *
1361 * @param string $calendarId
1362 * Calendar identifier.
1363 * @param string $eventId
1364 * Event identifier.
1365 * @param array $optParams Optional parameters.
1366 *
1367 * @opt_param string timeZone
1368 * Time zone used in the response. Optional. The default is the time zone of the calendar.
1369 * @opt_param bool alwaysIncludeEmail
1370 * Whether to always include a value in the "email" field for the organizer, creator and attendees,
1371 * even if no real email is available (i.e. a generated, non-working value will be provided). The
1372 * use of this option is discouraged and should only be used by clients which cannot handle the
1373 * absence of an email address value in the mentioned places. Optional. The default is False.
1374 * @opt_param int maxAttendees
1375 * The maximum number of attendees to include in the response. If there are more than the specified
1376 * number of attendees, only the participant is returned. Optional.
1377 * @return Google_Service_Calendar_Event
1378 */
1379 public function get($calendarId, $eventId, $optParams = array())
1380 {
1381 $params = array('calendarId' => $calendarId, 'eventId' => $eventId);
1382 $params = array_merge($params, $optParams);
1383 return $this->call('get', array($params), "Google_Service_Calendar_Event");
1384 }
1385 /**
1386 * Imports an event. This operation is used to add a private copy of an existing
1387 * event to a calendar. (events.import)
1388 *
1389 * @param string $calendarId
1390 * Calendar identifier.
1391 * @param Google_Event $postBody
1392 * @param array $optParams Optional parameters.
1393 * @return Google_Service_Calendar_Event
1394 */
1395 public function import($calendarId, Google_Service_Calendar_Event $postBody, $optParams = array())
1396 {
1397 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1398 $params = array_merge($params, $optParams);
1399 return $this->call('import', array($params), "Google_Service_Calendar_Event");
1400 }
1401 /**
1402 * Creates an event. (events.insert)
1403 *
1404 * @param string $calendarId
1405 * Calendar identifier.
1406 * @param Google_Event $postBody
1407 * @param array $optParams Optional parameters.
1408 *
1409 * @opt_param bool sendNotifications
1410 * Whether to send notifications about the creation of the new event. Optional. The default is
1411 * 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 Google_Service_Calendar_Event
1416 */
1417 public function insert($calendarId, Google_Service_Calendar_Event $postBody, $optParams = array())
1418 {
1419 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1420 $params = array_merge($params, $optParams);
1421 return $this->call('insert', array($params), "Google_Service_Calendar_Event");
1422 }
1423 /**
1424 * Returns instances of the specified recurring event. (events.instances)
1425 *
1426 * @param string $calendarId
1427 * Calendar identifier.
1428 * @param string $eventId
1429 * Recurring event identifier.
1430 * @param array $optParams Optional parameters.
1431 *
1432 * @opt_param bool showDeleted
1433 * Whether to include deleted events (with 'status' equals 'cancelled') in the result. Cancelled
1434 * instances of recurring events will still be included if 'singleEvents' is False. Optional. The
1435 * default is False.
1436 * @opt_param string timeMax
1437 * Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to
1438 * filter by start time.
1439 * @opt_param bool alwaysIncludeEmail
1440 * Whether to always include a value in the "email" field for the organizer, creator and attendees,
1441 * even if no real email is available (i.e. a generated, non-working value will be provided). The
1442 * use of this option is discouraged and should only be used by clients which cannot handle the
1443 * absence of an email address value in the mentioned places. Optional. The default is False.
1444 * @opt_param int maxResults
1445 * Maximum number of events returned on one result page. Optional.
1446 * @opt_param string pageToken
1447 * Token specifying which result page to return. Optional.
1448 * @opt_param string timeMin
1449 * Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to
1450 * filter by end time.
1451 * @opt_param string timeZone
1452 * Time zone used in the response. Optional. The default is the time zone of the calendar.
1453 * @opt_param string originalStart
1454 * The original start time of the instance in the result. Optional.
1455 * @opt_param int maxAttendees
1456 * The maximum number of attendees to include in the response. If there are more than the specified
1457 * number of attendees, only the participant is returned. Optional.
1458 * @return Google_Service_Calendar_Events
1459 */
1460 public function instances($calendarId, $eventId, $optParams = array())
1461 {
1462 $params = array('calendarId' => $calendarId, 'eventId' => $eventId);
1463 $params = array_merge($params, $optParams);
1464 return $this->call('instances', array($params), "Google_Service_Calendar_Events");
1465 }
1466 /**
1467 * Returns events on the specified calendar. (events.listEvents)
1468 *
1469 * @param string $calendarId
1470 * Calendar identifier.
1471 * @param array $optParams Optional parameters.
1472 *
1473 * @opt_param string orderBy
1474 * The order of the events returned in the result. Optional. The default is an unspecified, stable
1475 * order.
1476 * @opt_param bool showHiddenInvitations
1477 * Whether to include hidden invitations in the result. Optional. The default is False.
1478 * @opt_param string syncToken
1479 * Token obtained from the 'nextSyncToken' field returned on the last result page of the previous
1480 * method's call. It makes the result of this call contain only entries that have changed since the
1481 * last call. Optional. The default is to return all entries.
1482 * @opt_param bool showDeleted
1483 * Whether to include deleted events (with 'status' equals 'cancelled') in the result. Cancelled
1484 * instances of recurring events (but not the underlying recurring event) will still be included if
1485 * 'showDeleted' and 'singleEvents' are both False. If 'showDeleted' and 'singleEvents' are both
1486 * True, only single instances of deleted events (but not the underlying recurring events) are
1487 * returned. Optional. The default is False.
1488 * @opt_param string iCalUID
1489 * Specifies iCalendar UID (iCalUID) of events to be included in the response. Optional.
1490 * @opt_param string updatedMin
1491 * Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by.
1492 * Optional. The default is not to filter by last modification time.
1493 * @opt_param bool singleEvents
1494 * Whether to expand recurring events into instances and only return single one-off events and
1495 * instances of recurring events, but not the underlying recurring events themselves. Optional. The
1496 * default is False.
1497 * @opt_param string timeMax
1498 * Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to
1499 * filter by start time.
1500 * @opt_param bool alwaysIncludeEmail
1501 * Whether to always include a value in the "email" field for the organizer, creator and attendees,
1502 * even if no real email is available (i.e. a generated, non-working value will be provided). The
1503 * use of this option is discouraged and should only be used by clients which cannot handle the
1504 * absence of an email address value in the mentioned places. Optional. The default is False.
1505 * @opt_param int maxResults
1506 * Maximum number of events returned on one result page. Optional.
1507 * @opt_param string q
1508 * Free text search terms to find events that match these terms in any field, except for extended
1509 * properties. Optional.
1510 * @opt_param string pageToken
1511 * Token specifying which result page to return. Optional.
1512 * @opt_param string timeMin
1513 * Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to
1514 * filter by end time.
1515 * @opt_param string timeZone
1516 * Time zone used in the response. Optional. The default is the time zone of the calendar.
1517 * @opt_param string privateExtendedProperty
1518 * Extended properties constraint specified as propertyName=value. Matches only private properties.
1519 * This parameter might be repeated multiple times to return events that match all given
1520 * constraints.
1521 * @opt_param string sharedExtendedProperty
1522 * Extended properties constraint specified as propertyName=value. Matches only shared properties.
1523 * This parameter might be repeated multiple times to return events that match all given
1524 * constraints.
1525 * @opt_param int maxAttendees
1526 * The maximum number of attendees to include in the response. If there are more than the specified
1527 * number of attendees, only the participant is returned. Optional.
1528 * @return Google_Service_Calendar_Events
1529 */
1530 public function listEvents($calendarId, $optParams = array())
1531 {
1532 $params = array('calendarId' => $calendarId);
1533 $params = array_merge($params, $optParams);
1534 return $this->call('list', array($params), "Google_Service_Calendar_Events");
1535 }
1536 /**
1537 * Moves an event to another calendar, i.e. changes an event's organizer.
1538 * (events.move)
1539 *
1540 * @param string $calendarId
1541 * Calendar identifier of the source calendar where the event currently is on.
1542 * @param string $eventId
1543 * Event identifier.
1544 * @param string $destination
1545 * Calendar identifier of the target calendar where the event is to be moved to.
1546 * @param array $optParams Optional parameters.
1547 *
1548 * @opt_param bool sendNotifications
1549 * Whether to send notifications about the change of the event's organizer. Optional. The default
1550 * is False.
1551 * @return Google_Service_Calendar_Event
1552 */
1553 public function move($calendarId, $eventId, $destination, $optParams = array())
1554 {
1555 $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'destination' => $destination);
1556 $params = array_merge($params, $optParams);
1557 return $this->call('move', array($params), "Google_Service_Calendar_Event");
1558 }
1559 /**
1560 * Updates an event. This method supports patch semantics. (events.patch)
1561 *
1562 * @param string $calendarId
1563 * Calendar identifier.
1564 * @param string $eventId
1565 * Event identifier.
1566 * @param Google_Event $postBody
1567 * @param array $optParams Optional parameters.
1568 *
1569 * @opt_param bool sendNotifications
1570 * Whether to send notifications about the event update (e.g. attendee's responses, title changes,
1571 * etc.). Optional. The default is False.
1572 * @opt_param bool alwaysIncludeEmail
1573 * Whether to always include a value in the "email" field for the organizer, creator and attendees,
1574 * even if no real email is available (i.e. a generated, non-working value will be provided). The
1575 * use of this option is discouraged and should only be used by clients which cannot handle the
1576 * absence of an email address value in the mentioned places. Optional. The default is False.
1577 * @opt_param int maxAttendees
1578 * The maximum number of attendees to include in the response. If there are more than the specified
1579 * number of attendees, only the participant is returned. Optional.
1580 * @return Google_Service_Calendar_Event
1581 */
1582 public function patch($calendarId, $eventId, Google_Service_Calendar_Event $postBody, $optParams = array())
1583 {
1584 $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody);
1585 $params = array_merge($params, $optParams);
1586 return $this->call('patch', array($params), "Google_Service_Calendar_Event");
1587 }
1588 /**
1589 * Creates an event based on a simple text string. (events.quickAdd)
1590 *
1591 * @param string $calendarId
1592 * Calendar identifier.
1593 * @param string $text
1594 * The text describing the event to be created.
1595 * @param array $optParams Optional parameters.
1596 *
1597 * @opt_param bool sendNotifications
1598 * Whether to send notifications about the creation of the event. Optional. The default is False.
1599 * @return Google_Service_Calendar_Event
1600 */
1601 public function quickAdd($calendarId, $text, $optParams = array())
1602 {
1603 $params = array('calendarId' => $calendarId, 'text' => $text);
1604 $params = array_merge($params, $optParams);
1605 return $this->call('quickAdd', array($params), "Google_Service_Calendar_Event");
1606 }
1607 /**
1608 * Updates an event. (events.update)
1609 *
1610 * @param string $calendarId
1611 * Calendar identifier.
1612 * @param string $eventId
1613 * Event identifier.
1614 * @param Google_Event $postBody
1615 * @param array $optParams Optional parameters.
1616 *
1617 * @opt_param bool sendNotifications
1618 * Whether to send notifications about the event update (e.g. attendee's responses, title changes,
1619 * etc.). Optional. The default is False.
1620 * @opt_param bool alwaysIncludeEmail
1621 * Whether to always include a value in the "email" field for the organizer, creator and attendees,
1622 * even if no real email is available (i.e. a generated, non-working value will be provided). The
1623 * use of this option is discouraged and should only be used by clients which cannot handle the
1624 * absence of an email address value in the mentioned places. Optional. The default is False.
1625 * @opt_param int maxAttendees
1626 * The maximum number of attendees to include in the response. If there are more than the specified
1627 * number of attendees, only the participant is returned. Optional.
1628 * @return Google_Service_Calendar_Event
1629 */
1630 public function update($calendarId, $eventId, Google_Service_Calendar_Event $postBody, $optParams = array())
1631 {
1632 $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody);
1633 $params = array_merge($params, $optParams);
1634 return $this->call('update', array($params), "Google_Service_Calendar_Event");
1635 }
1636 /**
1637 * Watch for changes to Events resources. (events.watch)
1638 *
1639 * @param string $calendarId
1640 * Calendar identifier.
1641 * @param Google_Channel $postBody
1642 * @param array $optParams Optional parameters.
1643 *
1644 * @opt_param string orderBy
1645 * The order of the events returned in the result. Optional. The default is an unspecified, stable
1646 * order.
1647 * @opt_param bool showHiddenInvitations
1648 * Whether to include hidden invitations in the result. Optional. The default is False.
1649 * @opt_param string syncToken
1650 * Token obtained from the 'nextSyncToken' field returned on the last result page of the previous
1651 * method's call. It makes the result of this call contain only entries that have changed since the
1652 * last call. Optional. The default is to return all entries.
1653 * @opt_param bool showDeleted
1654 * Whether to include deleted events (with 'status' equals 'cancelled') in the result. Cancelled
1655 * instances of recurring events (but not the underlying recurring event) will still be included if
1656 * 'showDeleted' and 'singleEvents' are both False. If 'showDeleted' and 'singleEvents' are both
1657 * True, only single instances of deleted events (but not the underlying recurring events) are
1658 * returned. Optional. The default is False.
1659 * @opt_param string iCalUID
1660 * Specifies iCalendar UID (iCalUID) of events to be included in the response. Optional.
1661 * @opt_param string updatedMin
1662 * Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by.
1663 * Optional. The default is not to filter by last modification time.
1664 * @opt_param bool singleEvents
1665 * Whether to expand recurring events into instances and only return single one-off events and
1666 * instances of recurring events, but not the underlying recurring events themselves. Optional. The
1667 * default is False.
1668 * @opt_param string timeMax
1669 * Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to
1670 * filter by start time.
1671 * @opt_param bool alwaysIncludeEmail
1672 * Whether to always include a value in the "email" field for the organizer, creator and attendees,
1673 * even if no real email is available (i.e. a generated, non-working value will be provided). The
1674 * use of this option is discouraged and should only be used by clients which cannot handle the
1675 * absence of an email address value in the mentioned places. Optional. The default is False.
1676 * @opt_param int maxResults
1677 * Maximum number of events returned on one result page. Optional.
1678 * @opt_param string q
1679 * Free text search terms to find events that match these terms in any field, except for extended
1680 * properties. Optional.
1681 * @opt_param string pageToken
1682 * Token specifying which result page to return. Optional.
1683 * @opt_param string timeMin
1684 * Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to
1685 * filter by end time.
1686 * @opt_param string timeZone
1687 * Time zone used in the response. Optional. The default is the time zone of the calendar.
1688 * @opt_param string privateExtendedProperty
1689 * Extended properties constraint specified as propertyName=value. Matches only private properties.
1690 * This parameter might be repeated multiple times to return events that match all given
1691 * constraints.
1692 * @opt_param string sharedExtendedProperty
1693 * Extended properties constraint specified as propertyName=value. Matches only shared properties.
1694 * This parameter might be repeated multiple times to return events that match all given
1695 * constraints.
1696 * @opt_param int maxAttendees
1697 * The maximum number of attendees to include in the response. If there are more than the specified
1698 * number of attendees, only the participant is returned. Optional.
1699 * @return Google_Service_Calendar_Channel
1700 */
1701 public function watch($calendarId, Google_Service_Calendar_Channel $postBody, $optParams = array())
1702 {
1703 $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
1704 $params = array_merge($params, $optParams);
1705 return $this->call('watch', array($params), "Google_Service_Calendar_Channel");
1706 }
1707 }
1708
1709 /**
1710 * The "freebusy" collection of methods.
1711 * Typical usage is:
1712 * <code>
1713 * $calendarService = new Google_Service_Calendar(...);
1714 * $freebusy = $calendarService->freebusy;
1715 * </code>
1716 */
1717 class Google_Service_Calendar_Freebusy_Resource extends Google_Service_Resource
1718 {
1719
1720 /**
1721 * Returns free/busy information for a set of calendars. (freebusy.query)
1722 *
1723 * @param Google_FreeBusyRequest $postBody
1724 * @param array $optParams Optional parameters.
1725 * @return Google_Service_Calendar_FreeBusyResponse
1726 */
1727 public function query(Google_Service_Calendar_FreeBusyRequest $postBody, $optParams = array())
1728 {
1729 $params = array('postBody' => $postBody);
1730 $params = array_merge($params, $optParams);
1731 return $this->call('query', array($params), "Google_Service_Calendar_FreeBusyResponse");
1732 }
1733 }
1734
1735 /**
1736 * The "settings" collection of methods.
1737 * Typical usage is:
1738 * <code>
1739 * $calendarService = new Google_Service_Calendar(...);
1740 * $settings = $calendarService->settings;
1741 * </code>
1742 */
1743 class Google_Service_Calendar_Settings_Resource extends Google_Service_Resource
1744 {
1745
1746 /**
1747 * Returns a single user setting. (settings.get)
1748 *
1749 * @param string $setting
1750 * The id of the user setting.
1751 * @param array $optParams Optional parameters.
1752 * @return Google_Service_Calendar_Setting
1753 */
1754 public function get($setting, $optParams = array())
1755 {
1756 $params = array('setting' => $setting);
1757 $params = array_merge($params, $optParams);
1758 return $this->call('get', array($params), "Google_Service_Calendar_Setting");
1759 }
1760 /**
1761 * Returns all user settings for the authenticated user. (settings.listSettings)
1762 *
1763 * @param array $optParams Optional parameters.
1764 *
1765 * @opt_param string pageToken
1766 * Token specifying which result page to return. Optional.
1767 * @opt_param int maxResults
1768 * Maximum number of entries returned on one result page. Optional.
1769 * @opt_param string syncToken
1770 * Token obtained from the 'nextSyncToken' field returned on the last result page of the previous
1771 * method's call. It makes the result of this call contain only entries that have changed since the
1772 * last call. Optional. The default is to return all entries.
1773 * @return Google_Service_Calendar_Settings
1774 */
1775 public function listSettings($optParams = array())
1776 {
1777 $params = array();
1778 $params = array_merge($params, $optParams);
1779 return $this->call('list', array($params), "Google_Service_Calendar_Settings");
1780 }
1781 /**
1782 * Watch for changes to Settings resources. (settings.watch)
1783 *
1784 * @param Google_Channel $postBody
1785 * @param array $optParams Optional parameters.
1786 *
1787 * @opt_param string pageToken
1788 * Token specifying which result page to return. Optional.
1789 * @opt_param int maxResults
1790 * Maximum number of entries returned on one result page. Optional.
1791 * @opt_param string syncToken
1792 * Token obtained from the 'nextSyncToken' field returned on the last result page of the previous
1793 * method's call. It makes the result of this call contain only entries that have changed since the
1794 * last call. Optional. The default is to return all entries.
1795 * @return Google_Service_Calendar_Channel
1796 */
1797 public function watch(Google_Service_Calendar_Channel $postBody, $optParams = array())
1798 {
1799 $params = array('postBody' => $postBody);
1800 $params = array_merge($params, $optParams);
1801 return $this->call('watch', array($params), "Google_Service_Calendar_Channel");
1802 }
1803 }
1804
1805
1806
1807
1808 class Google_Service_Calendar_Acl extends Google_Collection
1809 {
1810 public $etag;
1811 protected $itemsType = 'Google_Service_Calendar_AclRule';
1812 protected $itemsDataType = 'array';
1813 public $kind;
1814 public $nextPageToken;
1815 public $nextSyncToken;
1816
1817 public function setEtag($etag)
1818 {
1819 $this->etag = $etag;
1820 }
1821
1822 public function getEtag()
1823 {
1824 return $this->etag;
1825 }
1826
1827 public function setItems($items)
1828 {
1829 $this->items = $items;
1830 }
1831
1832 public function getItems()
1833 {
1834 return $this->items;
1835 }
1836
1837 public function setKind($kind)
1838 {
1839 $this->kind = $kind;
1840 }
1841
1842 public function getKind()
1843 {
1844 return $this->kind;
1845 }
1846
1847 public function setNextPageToken($nextPageToken)
1848 {
1849 $this->nextPageToken = $nextPageToken;
1850 }
1851
1852 public function getNextPageToken()
1853 {
1854 return $this->nextPageToken;
1855 }
1856
1857 public function setNextSyncToken($nextSyncToken)
1858 {
1859 $this->nextSyncToken = $nextSyncToken;
1860 }
1861
1862 public function getNextSyncToken()
1863 {
1864 return $this->nextSyncToken;
1865 }
1866 }
1867
1868 class Google_Service_Calendar_AclRule extends Google_Model
1869 {
1870 public $etag;
1871 public $id;
1872 public $kind;
1873 public $role;
1874 protected $scopeType = 'Google_Service_Calendar_AclRuleScope';
1875 protected $scopeDataType = '';
1876
1877 public function setEtag($etag)
1878 {
1879 $this->etag = $etag;
1880 }
1881
1882 public function getEtag()
1883 {
1884 return $this->etag;
1885 }
1886
1887 public function setId($id)
1888 {
1889 $this->id = $id;
1890 }
1891
1892 public function getId()
1893 {
1894 return $this->id;
1895 }
1896
1897 public function setKind($kind)
1898 {
1899 $this->kind = $kind;
1900 }
1901
1902 public function getKind()
1903 {
1904 return $this->kind;
1905 }
1906
1907 public function setRole($role)
1908 {
1909 $this->role = $role;
1910 }
1911
1912 public function getRole()
1913 {
1914 return $this->role;
1915 }
1916
1917 public function setScope(Google_Service_Calendar_AclRuleScope $scope)
1918 {
1919 $this->scope = $scope;
1920 }
1921
1922 public function getScope()
1923 {
1924 return $this->scope;
1925 }
1926 }
1927
1928 class Google_Service_Calendar_AclRuleScope extends Google_Model
1929 {
1930 public $type;
1931 public $value;
1932
1933 public function setType($type)
1934 {
1935 $this->type = $type;
1936 }
1937
1938 public function getType()
1939 {
1940 return $this->type;
1941 }
1942
1943 public function setValue($value)
1944 {
1945 $this->value = $value;
1946 }
1947
1948 public function getValue()
1949 {
1950 return $this->value;
1951 }
1952 }
1953
1954 class Google_Service_Calendar_Calendar extends Google_Model
1955 {
1956 public $description;
1957 public $etag;
1958 public $id;
1959 public $kind;
1960 public $location;
1961 public $summary;
1962 public $timeZone;
1963
1964 public function setDescription($description)
1965 {
1966 $this->description = $description;
1967 }
1968
1969 public function getDescription()
1970 {
1971 return $this->description;
1972 }
1973
1974 public function setEtag($etag)
1975 {
1976 $this->etag = $etag;
1977 }
1978
1979 public function getEtag()
1980 {
1981 return $this->etag;
1982 }
1983
1984 public function setId($id)
1985 {
1986 $this->id = $id;
1987 }
1988
1989 public function getId()
1990 {
1991 return $this->id;
1992 }
1993
1994 public function setKind($kind)
1995 {
1996 $this->kind = $kind;
1997 }
1998
1999 public function getKind()
2000 {
2001 return $this->kind;
2002 }
2003
2004 public function setLocation($location)
2005 {
2006 $this->location = $location;
2007 }
2008
2009 public function getLocation()
2010 {
2011 return $this->location;
2012 }
2013
2014 public function setSummary($summary)
2015 {
2016 $this->summary = $summary;
2017 }
2018
2019 public function getSummary()
2020 {
2021 return $this->summary;
2022 }
2023
2024 public function setTimeZone($timeZone)
2025 {
2026 $this->timeZone = $timeZone;
2027 }
2028
2029 public function getTimeZone()
2030 {
2031 return $this->timeZone;
2032 }
2033 }
2034
2035 class Google_Service_Calendar_CalendarList extends Google_Collection
2036 {
2037 public $etag;
2038 protected $itemsType = 'Google_Service_Calendar_CalendarListEntry';
2039 protected $itemsDataType = 'array';
2040 public $kind;
2041 public $nextPageToken;
2042 public $nextSyncToken;
2043
2044 public function setEtag($etag)
2045 {
2046 $this->etag = $etag;
2047 }
2048
2049 public function getEtag()
2050 {
2051 return $this->etag;
2052 }
2053
2054 public function setItems($items)
2055 {
2056 $this->items = $items;
2057 }
2058
2059 public function getItems()
2060 {
2061 return $this->items;
2062 }
2063
2064 public function setKind($kind)
2065 {
2066 $this->kind = $kind;
2067 }
2068
2069 public function getKind()
2070 {
2071 return $this->kind;
2072 }
2073
2074 public function setNextPageToken($nextPageToken)
2075 {
2076 $this->nextPageToken = $nextPageToken;
2077 }
2078
2079 public function getNextPageToken()
2080 {
2081 return $this->nextPageToken;
2082 }
2083
2084 public function setNextSyncToken($nextSyncToken)
2085 {
2086 $this->nextSyncToken = $nextSyncToken;
2087 }
2088
2089 public function getNextSyncToken()
2090 {
2091 return $this->nextSyncToken;
2092 }
2093 }
2094
2095 class Google_Service_Calendar_CalendarListEntry extends Google_Collection
2096 {
2097 public $accessRole;
2098 public $backgroundColor;
2099 public $colorId;
2100 protected $defaultRemindersType = 'Google_Service_Calendar_EventReminder';
2101 protected $defaultRemindersDataType = 'array';
2102 public $deleted;
2103 public $description;
2104 public $etag;
2105 public $foregroundColor;
2106 public $hidden;
2107 public $id;
2108 public $kind;
2109 public $location;
2110 protected $notificationSettingsType = 'Google_Service_Calendar_CalendarListEntryNotificationSettings';
2111 protected $notificationSettingsDataType = '';
2112 public $primary;
2113 public $selected;
2114 public $summary;
2115 public $summaryOverride;
2116 public $timeZone;
2117
2118 public function setAccessRole($accessRole)
2119 {
2120 $this->accessRole = $accessRole;
2121 }
2122
2123 public function getAccessRole()
2124 {
2125 return $this->accessRole;
2126 }
2127
2128 public function setBackgroundColor($backgroundColor)
2129 {
2130 $this->backgroundColor = $backgroundColor;
2131 }
2132
2133 public function getBackgroundColor()
2134 {
2135 return $this->backgroundColor;
2136 }
2137
2138 public function setColorId($colorId)
2139 {
2140 $this->colorId = $colorId;
2141 }
2142
2143 public function getColorId()
2144 {
2145 return $this->colorId;
2146 }
2147
2148 public function setDefaultReminders($defaultReminders)
2149 {
2150 $this->defaultReminders = $defaultReminders;
2151 }
2152
2153 public function getDefaultReminders()
2154 {
2155 return $this->defaultReminders;
2156 }
2157
2158 public function setDeleted($deleted)
2159 {
2160 $this->deleted = $deleted;
2161 }
2162
2163 public function getDeleted()
2164 {
2165 return $this->deleted;
2166 }
2167
2168 public function setDescription($description)
2169 {
2170 $this->description = $description;
2171 }
2172
2173 public function getDescription()
2174 {
2175 return $this->description;
2176 }
2177
2178 public function setEtag($etag)
2179 {
2180 $this->etag = $etag;
2181 }
2182
2183 public function getEtag()
2184 {
2185 return $this->etag;
2186 }
2187
2188 public function setForegroundColor($foregroundColor)
2189 {
2190 $this->foregroundColor = $foregroundColor;
2191 }
2192
2193 public function getForegroundColor()
2194 {
2195 return $this->foregroundColor;
2196 }
2197
2198 public function setHidden($hidden)
2199 {
2200 $this->hidden = $hidden;
2201 }
2202
2203 public function getHidden()
2204 {
2205 return $this->hidden;
2206 }
2207
2208 public function setId($id)
2209 {
2210 $this->id = $id;
2211 }
2212
2213 public function getId()
2214 {
2215 return $this->id;
2216 }
2217
2218 public function setKind($kind)
2219 {
2220 $this->kind = $kind;
2221 }
2222
2223 public function getKind()
2224 {
2225 return $this->kind;
2226 }
2227
2228 public function setLocation($location)
2229 {
2230 $this->location = $location;
2231 }
2232
2233 public function getLocation()
2234 {
2235 return $this->location;
2236 }
2237
2238 public function setNotificationSettings(Google_Service_Calendar_CalendarListEntryNotificationSettings $notificationSettings)
2239 {
2240 $this->notificationSettings = $notificationSettings;
2241 }
2242
2243 public function getNotificationSettings()
2244 {
2245 return $this->notificationSettings;
2246 }
2247
2248 public function setPrimary($primary)
2249 {
2250 $this->primary = $primary;
2251 }
2252
2253 public function getPrimary()
2254 {
2255 return $this->primary;
2256 }
2257
2258 public function setSelected($selected)
2259 {
2260 $this->selected = $selected;
2261 }
2262
2263 public function getSelected()
2264 {
2265 return $this->selected;
2266 }
2267
2268 public function setSummary($summary)
2269 {
2270 $this->summary = $summary;
2271 }
2272
2273 public function getSummary()
2274 {
2275 return $this->summary;
2276 }
2277
2278 public function setSummaryOverride($summaryOverride)
2279 {
2280 $this->summaryOverride = $summaryOverride;
2281 }
2282
2283 public function getSummaryOverride()
2284 {
2285 return $this->summaryOverride;
2286 }
2287
2288 public function setTimeZone($timeZone)
2289 {
2290 $this->timeZone = $timeZone;
2291 }
2292
2293 public function getTimeZone()
2294 {
2295 return $this->timeZone;
2296 }
2297 }
2298
2299 class Google_Service_Calendar_CalendarListEntryNotificationSettings extends Google_Collection
2300 {
2301 protected $notificationsType = 'Google_Service_Calendar_CalendarNotification';
2302 protected $notificationsDataType = 'array';
2303
2304 public function setNotifications($notifications)
2305 {
2306 $this->notifications = $notifications;
2307 }
2308
2309 public function getNotifications()
2310 {
2311 return $this->notifications;
2312 }
2313 }
2314
2315 class Google_Service_Calendar_CalendarNotification extends Google_Model
2316 {
2317 public $method;
2318 public $type;
2319
2320 public function setMethod($method)
2321 {
2322 $this->method = $method;
2323 }
2324
2325 public function getMethod()
2326 {
2327 return $this->method;
2328 }
2329
2330 public function setType($type)
2331 {
2332 $this->type = $type;
2333 }
2334
2335 public function getType()
2336 {
2337 return $this->type;
2338 }
2339 }
2340
2341 class Google_Service_Calendar_Channel extends Google_Model
2342 {
2343 public $address;
2344 public $expiration;
2345 public $id;
2346 public $kind;
2347 public $params;
2348 public $payload;
2349 public $resourceId;
2350 public $resourceUri;
2351 public $token;
2352 public $type;
2353
2354 public function setAddress($address)
2355 {
2356 $this->address = $address;
2357 }
2358
2359 public function getAddress()
2360 {
2361 return $this->address;
2362 }
2363
2364 public function setExpiration($expiration)
2365 {
2366 $this->expiration = $expiration;
2367 }
2368
2369 public function getExpiration()
2370 {
2371 return $this->expiration;
2372 }
2373
2374 public function setId($id)
2375 {
2376 $this->id = $id;
2377 }
2378
2379 public function getId()
2380 {
2381 return $this->id;
2382 }
2383
2384 public function setKind($kind)
2385 {
2386 $this->kind = $kind;
2387 }
2388
2389 public function getKind()
2390 {
2391 return $this->kind;
2392 }
2393
2394 public function setParams($params)
2395 {
2396 $this->params = $params;
2397 }
2398
2399 public function getParams()
2400 {
2401 return $this->params;
2402 }
2403
2404 public function setPayload($payload)
2405 {
2406 $this->payload = $payload;
2407 }
2408
2409 public function getPayload()
2410 {
2411 return $this->payload;
2412 }
2413
2414 public function setResourceId($resourceId)
2415 {
2416 $this->resourceId = $resourceId;
2417 }
2418
2419 public function getResourceId()
2420 {
2421 return $this->resourceId;
2422 }
2423
2424 public function setResourceUri($resourceUri)
2425 {
2426 $this->resourceUri = $resourceUri;
2427 }
2428
2429 public function getResourceUri()
2430 {
2431 return $this->resourceUri;
2432 }
2433
2434 public function setToken($token)
2435 {
2436 $this->token = $token;
2437 }
2438
2439 public function getToken()
2440 {
2441 return $this->token;
2442 }
2443
2444 public function setType($type)
2445 {
2446 $this->type = $type;
2447 }
2448
2449 public function getType()
2450 {
2451 return $this->type;
2452 }
2453 }
2454
2455 class Google_Service_Calendar_ColorDefinition extends Google_Model
2456 {
2457 public $background;
2458 public $foreground;
2459
2460 public function setBackground($background)
2461 {
2462 $this->background = $background;
2463 }
2464
2465 public function getBackground()
2466 {
2467 return $this->background;
2468 }
2469
2470 public function setForeground($foreground)
2471 {
2472 $this->foreground = $foreground;
2473 }
2474
2475 public function getForeground()
2476 {
2477 return $this->foreground;
2478 }
2479 }
2480
2481 class Google_Service_Calendar_Colors extends Google_Model
2482 {
2483 protected $calendarType = 'Google_Service_Calendar_ColorDefinition';
2484 protected $calendarDataType = 'map';
2485 protected $eventType = 'Google_Service_Calendar_ColorDefinition';
2486 protected $eventDataType = 'map';
2487 public $kind;
2488 public $updated;
2489
2490 public function setCalendar($calendar)
2491 {
2492 $this->calendar = $calendar;
2493 }
2494
2495 public function getCalendar()
2496 {
2497 return $this->calendar;
2498 }
2499
2500 public function setEvent($event)
2501 {
2502 $this->event = $event;
2503 }
2504
2505 public function getEvent()
2506 {
2507 return $this->event;
2508 }
2509
2510 public function setKind($kind)
2511 {
2512 $this->kind = $kind;
2513 }
2514
2515 public function getKind()
2516 {
2517 return $this->kind;
2518 }
2519
2520 public function setUpdated($updated)
2521 {
2522 $this->updated = $updated;
2523 }
2524
2525 public function getUpdated()
2526 {
2527 return $this->updated;
2528 }
2529 }
2530
2531 class Google_Service_Calendar_Error extends Google_Model
2532 {
2533 public $domain;
2534 public $reason;
2535
2536 public function setDomain($domain)
2537 {
2538 $this->domain = $domain;
2539 }
2540
2541 public function getDomain()
2542 {
2543 return $this->domain;
2544 }
2545
2546 public function setReason($reason)
2547 {
2548 $this->reason = $reason;
2549 }
2550
2551 public function getReason()
2552 {
2553 return $this->reason;
2554 }
2555 }
2556
2557 class Google_Service_Calendar_Event extends Google_Collection
2558 {
2559 public $anyoneCanAddSelf;
2560 protected $attendeesType = 'Google_Service_Calendar_EventAttendee';
2561 protected $attendeesDataType = 'array';
2562 public $attendeesOmitted;
2563 public $colorId;
2564 public $created;
2565 protected $creatorType = 'Google_Service_Calendar_EventCreator';
2566 protected $creatorDataType = '';
2567 public $description;
2568 protected $endType = 'Google_Service_Calendar_EventDateTime';
2569 protected $endDataType = '';
2570 public $endTimeUnspecified;
2571 public $etag;
2572 protected $extendedPropertiesType = 'Google_Service_Calendar_EventExtendedProperties';
2573 protected $extendedPropertiesDataType = '';
2574 protected $gadgetType = 'Google_Service_Calendar_EventGadget';
2575 protected $gadgetDataType = '';
2576 public $guestsCanInviteOthers;
2577 public $guestsCanModify;
2578 public $guestsCanSeeOtherGuests;
2579 public $hangoutLink;
2580 public $htmlLink;
2581 public $iCalUID;
2582 public $id;
2583 public $kind;
2584 public $location;
2585 public $locked;
2586 protected $organizerType = 'Google_Service_Calendar_EventOrganizer';
2587 protected $organizerDataType = '';
2588 protected $originalStartTimeType = 'Google_Service_Calendar_EventDateTime';
2589 protected $originalStartTimeDataType = '';
2590 public $privateCopy;
2591 public $recurrence;
2592 public $recurringEventId;
2593 protected $remindersType = 'Google_Service_Calendar_EventReminders';
2594 protected $remindersDataType = '';
2595 public $sequence;
2596 protected $sourceType = 'Google_Service_Calendar_EventSource';
2597 protected $sourceDataType = '';
2598 protected $startType = 'Google_Service_Calendar_EventDateTime';
2599 protected $startDataType = '';
2600 public $status;
2601 public $summary;
2602 public $transparency;
2603 public $updated;
2604 public $visibility;
2605
2606 public function setAnyoneCanAddSelf($anyoneCanAddSelf)
2607 {
2608 $this->anyoneCanAddSelf = $anyoneCanAddSelf;
2609 }
2610
2611 public function getAnyoneCanAddSelf()
2612 {
2613 return $this->anyoneCanAddSelf;
2614 }
2615
2616 public function setAttendees($attendees)
2617 {
2618 $this->attendees = $attendees;
2619 }
2620
2621 public function getAttendees()
2622 {
2623 return $this->attendees;
2624 }
2625
2626 public function setAttendeesOmitted($attendeesOmitted)
2627 {
2628 $this->attendeesOmitted = $attendeesOmitted;
2629 }
2630
2631 public function getAttendeesOmitted()
2632 {
2633 return $this->attendeesOmitted;
2634 }
2635
2636 public function setColorId($colorId)
2637 {
2638 $this->colorId = $colorId;
2639 }
2640
2641 public function getColorId()
2642 {
2643 return $this->colorId;
2644 }
2645
2646 public function setCreated($created)
2647 {
2648 $this->created = $created;
2649 }
2650
2651 public function getCreated()
2652 {
2653 return $this->created;
2654 }
2655
2656 public function setCreator(Google_Service_Calendar_EventCreator $creator)
2657 {
2658 $this->creator = $creator;
2659 }
2660
2661 public function getCreator()
2662 {
2663 return $this->creator;
2664 }
2665
2666 public function setDescription($description)
2667 {
2668 $this->description = $description;
2669 }
2670
2671 public function getDescription()
2672 {
2673 return $this->description;
2674 }
2675
2676 public function setEnd(Google_Service_Calendar_EventDateTime $end)
2677 {
2678 $this->end = $end;
2679 }
2680
2681 public function getEnd()
2682 {
2683 return $this->end;
2684 }
2685
2686 public function setEndTimeUnspecified($endTimeUnspecified)
2687 {
2688 $this->endTimeUnspecified = $endTimeUnspecified;
2689 }
2690
2691 public function getEndTimeUnspecified()
2692 {
2693 return $this->endTimeUnspecified;
2694 }
2695
2696 public function setEtag($etag)
2697 {
2698 $this->etag = $etag;
2699 }
2700
2701 public function getEtag()
2702 {
2703 return $this->etag;
2704 }
2705
2706 public function setExtendedProperties(Google_Service_Calendar_EventExtendedProperties $extendedProperties)
2707 {
2708 $this->extendedProperties = $extendedProperties;
2709 }
2710
2711 public function getExtendedProperties()
2712 {
2713 return $this->extendedProperties;
2714 }
2715
2716 public function setGadget(Google_Service_Calendar_EventGadget $gadget)
2717 {
2718 $this->gadget = $gadget;
2719 }
2720
2721 public function getGadget()
2722 {
2723 return $this->gadget;
2724 }
2725
2726 public function setGuestsCanInviteOthers($guestsCanInviteOthers)
2727 {
2728 $this->guestsCanInviteOthers = $guestsCanInviteOthers;
2729 }
2730
2731 public function getGuestsCanInviteOthers()
2732 {
2733 return $this->guestsCanInviteOthers;
2734 }
2735
2736 public function setGuestsCanModify($guestsCanModify)
2737 {
2738 $this->guestsCanModify = $guestsCanModify;
2739 }
2740
2741 public function getGuestsCanModify()
2742 {
2743 return $this->guestsCanModify;
2744 }
2745
2746 public function setGuestsCanSeeOtherGuests($guestsCanSeeOtherGuests)
2747 {
2748 $this->guestsCanSeeOtherGuests = $guestsCanSeeOtherGuests;
2749 }
2750
2751 public function getGuestsCanSeeOtherGuests()
2752 {
2753 return $this->guestsCanSeeOtherGuests;
2754 }
2755
2756 public function setHangoutLink($hangoutLink)
2757 {
2758 $this->hangoutLink = $hangoutLink;
2759 }
2760
2761 public function getHangoutLink()
2762 {
2763 return $this->hangoutLink;
2764 }
2765
2766 public function setHtmlLink($htmlLink)
2767 {
2768 $this->htmlLink = $htmlLink;
2769 }
2770
2771 public function getHtmlLink()
2772 {
2773 return $this->htmlLink;
2774 }
2775
2776 public function setICalUID($iCalUID)
2777 {
2778 $this->iCalUID = $iCalUID;
2779 }
2780
2781 public function getICalUID()
2782 {
2783 return $this->iCalUID;
2784 }
2785
2786 public function setId($id)
2787 {
2788 $this->id = $id;
2789 }
2790
2791 public function getId()
2792 {
2793 return $this->id;
2794 }
2795
2796 public function setKind($kind)
2797 {
2798 $this->kind = $kind;
2799 }
2800
2801 public function getKind()
2802 {
2803 return $this->kind;
2804 }
2805
2806 public function setLocation($location)
2807 {
2808 $this->location = $location;
2809 }
2810
2811 public function getLocation()
2812 {
2813 return $this->location;
2814 }
2815
2816 public function setLocked($locked)
2817 {
2818 $this->locked = $locked;
2819 }
2820
2821 public function getLocked()
2822 {
2823 return $this->locked;
2824 }
2825
2826 public function setOrganizer(Google_Service_Calendar_EventOrganizer $organizer)
2827 {
2828 $this->organizer = $organizer;
2829 }
2830
2831 public function getOrganizer()
2832 {
2833 return $this->organizer;
2834 }
2835
2836 public function setOriginalStartTime(Google_Service_Calendar_EventDateTime $originalStartTime)
2837 {
2838 $this->originalStartTime = $originalStartTime;
2839 }
2840
2841 public function getOriginalStartTime()
2842 {
2843 return $this->originalStartTime;
2844 }
2845
2846 public function setPrivateCopy($privateCopy)
2847 {
2848 $this->privateCopy = $privateCopy;
2849 }
2850
2851 public function getPrivateCopy()
2852 {
2853 return $this->privateCopy;
2854 }
2855
2856 public function setRecurrence($recurrence)
2857 {
2858 $this->recurrence = $recurrence;
2859 }
2860
2861 public function getRecurrence()
2862 {
2863 return $this->recurrence;
2864 }
2865
2866 public function setRecurringEventId($recurringEventId)
2867 {
2868 $this->recurringEventId = $recurringEventId;
2869 }
2870
2871 public function getRecurringEventId()
2872 {
2873 return $this->recurringEventId;
2874 }
2875
2876 public function setReminders(Google_Service_Calendar_EventReminders $reminders)
2877 {
2878 $this->reminders = $reminders;
2879 }
2880
2881 public function getReminders()
2882 {
2883 return $this->reminders;
2884 }
2885
2886 public function setSequence($sequence)
2887 {
2888 $this->sequence = $sequence;
2889 }
2890
2891 public function getSequence()
2892 {
2893 return $this->sequence;
2894 }
2895
2896 public function setSource(Google_Service_Calendar_EventSource $source)
2897 {
2898 $this->source = $source;
2899 }
2900
2901 public function getSource()
2902 {
2903 return $this->source;
2904 }
2905
2906 public function setStart(Google_Service_Calendar_EventDateTime $start)
2907 {
2908 $this->start = $start;
2909 }
2910
2911 public function getStart()
2912 {
2913 return $this->start;
2914 }
2915
2916 public function setStatus($status)
2917 {
2918 $this->status = $status;
2919 }
2920
2921 public function getStatus()
2922 {
2923 return $this->status;
2924 }
2925
2926 public function setSummary($summary)
2927 {
2928 $this->summary = $summary;
2929 }
2930
2931 public function getSummary()
2932 {
2933 return $this->summary;
2934 }
2935
2936 public function setTransparency($transparency)
2937 {
2938 $this->transparency = $transparency;
2939 }
2940
2941 public function getTransparency()
2942 {
2943 return $this->transparency;
2944 }
2945
2946 public function setUpdated($updated)
2947 {
2948 $this->updated = $updated;
2949 }
2950
2951 public function getUpdated()
2952 {
2953 return $this->updated;
2954 }
2955
2956 public function setVisibility($visibility)
2957 {
2958 $this->visibility = $visibility;
2959 }
2960
2961 public function getVisibility()
2962 {
2963 return $this->visibility;
2964 }
2965 }
2966
2967 class Google_Service_Calendar_EventAttendee extends Google_Model
2968 {
2969 public $additionalGuests;
2970 public $comment;
2971 public $displayName;
2972 public $email;
2973 public $id;
2974 public $optional;
2975 public $organizer;
2976 public $resource;
2977 public $responseStatus;
2978 public $self;
2979
2980 public function setAdditionalGuests($additionalGuests)
2981 {
2982 $this->additionalGuests = $additionalGuests;
2983 }
2984
2985 public function getAdditionalGuests()
2986 {
2987 return $this->additionalGuests;
2988 }
2989
2990 public function setComment($comment)
2991 {
2992 $this->comment = $comment;
2993 }
2994
2995 public function getComment()
2996 {
2997 return $this->comment;
2998 }
2999
3000 public function setDisplayName($displayName)
3001 {
3002 $this->displayName = $displayName;
3003 }
3004
3005 public function getDisplayName()
3006 {
3007 return $this->displayName;
3008 }
3009
3010 public function setEmail($email)
3011 {
3012 $this->email = $email;
3013 }
3014
3015 public function getEmail()
3016 {
3017 return $this->email;
3018 }
3019
3020 public function setId($id)
3021 {
3022 $this->id = $id;
3023 }
3024
3025 public function getId()
3026 {
3027 return $this->id;
3028 }
3029
3030 public function setOptional($optional)
3031 {
3032 $this->optional = $optional;
3033 }
3034
3035 public function getOptional()
3036 {
3037 return $this->optional;
3038 }
3039
3040 public function setOrganizer($organizer)
3041 {
3042 $this->organizer = $organizer;
3043 }
3044
3045 public function getOrganizer()
3046 {
3047 return $this->organizer;
3048 }
3049
3050 public function setResource($resource)
3051 {
3052 $this->resource = $resource;
3053 }
3054
3055 public function getResource()
3056 {
3057 return $this->resource;
3058 }
3059
3060 public function setResponseStatus($responseStatus)
3061 {
3062 $this->responseStatus = $responseStatus;
3063 }
3064
3065 public function getResponseStatus()
3066 {
3067 return $this->responseStatus;
3068 }
3069
3070 public function setSelf($self)
3071 {
3072 $this->self = $self;
3073 }
3074
3075 public function getSelf()
3076 {
3077 return $this->self;
3078 }
3079 }
3080
3081 class Google_Service_Calendar_EventCreator extends Google_Model
3082 {
3083 public $displayName;
3084 public $email;
3085 public $id;
3086 public $self;
3087
3088 public function setDisplayName($displayName)
3089 {
3090 $this->displayName = $displayName;
3091 }
3092
3093 public function getDisplayName()
3094 {
3095 return $this->displayName;
3096 }
3097
3098 public function setEmail($email)
3099 {
3100 $this->email = $email;
3101 }
3102
3103 public function getEmail()
3104 {
3105 return $this->email;
3106 }
3107
3108 public function setId($id)
3109 {
3110 $this->id = $id;
3111 }
3112
3113 public function getId()
3114 {
3115 return $this->id;
3116 }
3117
3118 public function setSelf($self)
3119 {
3120 $this->self = $self;
3121 }
3122
3123 public function getSelf()
3124 {
3125 return $this->self;
3126 }
3127 }
3128
3129 class Google_Service_Calendar_EventDateTime extends Google_Model
3130 {
3131 public $date;
3132 public $dateTime;
3133 public $timeZone;
3134
3135 public function setDate($date)
3136 {
3137 $this->date = $date;
3138 }
3139
3140 public function getDate()
3141 {
3142 return $this->date;
3143 }
3144
3145 public function setDateTime($dateTime)
3146 {
3147 $this->dateTime = $dateTime;
3148 }
3149
3150 public function getDateTime()
3151 {
3152 return $this->dateTime;
3153 }
3154
3155 public function setTimeZone($timeZone)
3156 {
3157 $this->timeZone = $timeZone;
3158 }
3159
3160 public function getTimeZone()
3161 {
3162 return $this->timeZone;
3163 }
3164 }
3165
3166 class Google_Service_Calendar_EventExtendedProperties extends Google_Model
3167 {
3168 public $private;
3169 public $shared;
3170
3171 public function setPrivate($private)
3172 {
3173 $this->private = $private;
3174 }
3175
3176 public function getPrivate()
3177 {
3178 return $this->private;
3179 }
3180
3181 public function setShared($shared)
3182 {
3183 $this->shared = $shared;
3184 }
3185
3186 public function getShared()
3187 {
3188 return $this->shared;
3189 }
3190 }
3191
3192 class Google_Service_Calendar_EventGadget extends Google_Model
3193 {
3194 public $display;
3195 public $height;
3196 public $iconLink;
3197 public $link;
3198 public $preferences;
3199 public $title;
3200 public $type;
3201 public $width;
3202
3203 public function setDisplay($display)
3204 {
3205 $this->display = $display;
3206 }
3207
3208 public function getDisplay()
3209 {
3210 return $this->display;
3211 }
3212
3213 public function setHeight($height)
3214 {
3215 $this->height = $height;
3216 }
3217
3218 public function getHeight()
3219 {
3220 return $this->height;
3221 }
3222
3223 public function setIconLink($iconLink)
3224 {
3225 $this->iconLink = $iconLink;
3226 }
3227
3228 public function getIconLink()
3229 {
3230 return $this->iconLink;
3231 }
3232
3233 public function setLink($link)
3234 {
3235 $this->link = $link;
3236 }
3237
3238 public function getLink()
3239 {
3240 return $this->link;
3241 }
3242
3243 public function setPreferences($preferences)
3244 {
3245 $this->preferences = $preferences;
3246 }
3247
3248 public function getPreferences()
3249 {
3250 return $this->preferences;
3251 }
3252
3253 public function setTitle($title)
3254 {
3255 $this->title = $title;
3256 }
3257
3258 public function getTitle()
3259 {
3260 return $this->title;
3261 }
3262
3263 public function setType($type)
3264 {
3265 $this->type = $type;
3266 }
3267
3268 public function getType()
3269 {
3270 return $this->type;
3271 }
3272
3273 public function setWidth($width)
3274 {
3275 $this->width = $width;
3276 }
3277
3278 public function getWidth()
3279 {
3280 return $this->width;
3281 }
3282 }
3283
3284 class Google_Service_Calendar_EventOrganizer extends Google_Model
3285 {
3286 public $displayName;
3287 public $email;
3288 public $id;
3289 public $self;
3290
3291 public function setDisplayName($displayName)
3292 {
3293 $this->displayName = $displayName;
3294 }
3295
3296 public function getDisplayName()
3297 {
3298 return $this->displayName;
3299 }
3300
3301 public function setEmail($email)
3302 {
3303 $this->email = $email;
3304 }
3305
3306 public function getEmail()
3307 {
3308 return $this->email;
3309 }
3310
3311 public function setId($id)
3312 {
3313 $this->id = $id;
3314 }
3315
3316 public function getId()
3317 {
3318 return $this->id;
3319 }
3320
3321 public function setSelf($self)
3322 {
3323 $this->self = $self;
3324 }
3325
3326 public function getSelf()
3327 {
3328 return $this->self;
3329 }
3330 }
3331
3332 class Google_Service_Calendar_EventReminder extends Google_Model
3333 {
3334 public $method;
3335 public $minutes;
3336
3337 public function setMethod($method)
3338 {
3339 $this->method = $method;
3340 }
3341
3342 public function getMethod()
3343 {
3344 return $this->method;
3345 }
3346
3347 public function setMinutes($minutes)
3348 {
3349 $this->minutes = $minutes;
3350 }
3351
3352 public function getMinutes()
3353 {
3354 return $this->minutes;
3355 }
3356 }
3357
3358 class Google_Service_Calendar_EventReminders extends Google_Collection
3359 {
3360 protected $overridesType = 'Google_Service_Calendar_EventReminder';
3361 protected $overridesDataType = 'array';
3362 public $useDefault;
3363
3364 public function setOverrides($overrides)
3365 {
3366 $this->overrides = $overrides;
3367 }
3368
3369 public function getOverrides()
3370 {
3371 return $this->overrides;
3372 }
3373
3374 public function setUseDefault($useDefault)
3375 {
3376 $this->useDefault = $useDefault;
3377 }
3378
3379 public function getUseDefault()
3380 {
3381 return $this->useDefault;
3382 }
3383 }
3384
3385 class Google_Service_Calendar_EventSource extends Google_Model
3386 {
3387 public $title;
3388 public $url;
3389
3390 public function setTitle($title)
3391 {
3392 $this->title = $title;
3393 }
3394
3395 public function getTitle()
3396 {
3397 return $this->title;
3398 }
3399
3400 public function setUrl($url)
3401 {
3402 $this->url = $url;
3403 }
3404
3405 public function getUrl()
3406 {
3407 return $this->url;
3408 }
3409 }
3410
3411 class Google_Service_Calendar_Events extends Google_Collection
3412 {
3413 public $accessRole;
3414 protected $defaultRemindersType = 'Google_Service_Calendar_EventReminder';
3415 protected $defaultRemindersDataType = 'array';
3416 public $description;
3417 public $etag;
3418 protected $itemsType = 'Google_Service_Calendar_Event';
3419 protected $itemsDataType = 'array';
3420 public $kind;
3421 public $nextPageToken;
3422 public $nextSyncToken;
3423 public $summary;
3424 public $timeZone;
3425 public $updated;
3426
3427 public function setAccessRole($accessRole)
3428 {
3429 $this->accessRole = $accessRole;
3430 }
3431
3432 public function getAccessRole()
3433 {
3434 return $this->accessRole;
3435 }
3436
3437 public function setDefaultReminders($defaultReminders)
3438 {
3439 $this->defaultReminders = $defaultReminders;
3440 }
3441
3442 public function getDefaultReminders()
3443 {
3444 return $this->defaultReminders;
3445 }
3446
3447 public function setDescription($description)
3448 {
3449 $this->description = $description;
3450 }
3451
3452 public function getDescription()
3453 {
3454 return $this->description;
3455 }
3456
3457 public function setEtag($etag)
3458 {
3459 $this->etag = $etag;
3460 }
3461
3462 public function getEtag()
3463 {
3464 return $this->etag;
3465 }
3466
3467 public function setItems($items)
3468 {
3469 $this->items = $items;
3470 }
3471
3472 public function getItems()
3473 {
3474 return $this->items;
3475 }
3476
3477 public function setKind($kind)
3478 {
3479 $this->kind = $kind;
3480 }
3481
3482 public function getKind()
3483 {
3484 return $this->kind;
3485 }
3486
3487 public function setNextPageToken($nextPageToken)
3488 {
3489 $this->nextPageToken = $nextPageToken;
3490 }
3491
3492 public function getNextPageToken()
3493 {
3494 return $this->nextPageToken;
3495 }
3496
3497 public function setNextSyncToken($nextSyncToken)
3498 {
3499 $this->nextSyncToken = $nextSyncToken;
3500 }
3501
3502 public function getNextSyncToken()
3503 {
3504 return $this->nextSyncToken;
3505 }
3506
3507 public function setSummary($summary)
3508 {
3509 $this->summary = $summary;
3510 }
3511
3512 public function getSummary()
3513 {
3514 return $this->summary;
3515 }
3516
3517 public function setTimeZone($timeZone)
3518 {
3519 $this->timeZone = $timeZone;
3520 }
3521
3522 public function getTimeZone()
3523 {
3524 return $this->timeZone;
3525 }
3526
3527 public function setUpdated($updated)
3528 {
3529 $this->updated = $updated;
3530 }
3531
3532 public function getUpdated()
3533 {
3534 return $this->updated;
3535 }
3536 }
3537
3538 class Google_Service_Calendar_FreeBusyCalendar extends Google_Collection
3539 {
3540 protected $busyType = 'Google_Service_Calendar_TimePeriod';
3541 protected $busyDataType = 'array';
3542 protected $errorsType = 'Google_Service_Calendar_Error';
3543 protected $errorsDataType = 'array';
3544
3545 public function setBusy($busy)
3546 {
3547 $this->busy = $busy;
3548 }
3549
3550 public function getBusy()
3551 {
3552 return $this->busy;
3553 }
3554
3555 public function setErrors($errors)
3556 {
3557 $this->errors = $errors;
3558 }
3559
3560 public function getErrors()
3561 {
3562 return $this->errors;
3563 }
3564 }
3565
3566 class Google_Service_Calendar_FreeBusyGroup extends Google_Collection
3567 {
3568 public $calendars;
3569 protected $errorsType = 'Google_Service_Calendar_Error';
3570 protected $errorsDataType = 'array';
3571
3572 public function setCalendars($calendars)
3573 {
3574 $this->calendars = $calendars;
3575 }
3576
3577 public function getCalendars()
3578 {
3579 return $this->calendars;
3580 }
3581
3582 public function setErrors($errors)
3583 {
3584 $this->errors = $errors;
3585 }
3586
3587 public function getErrors()
3588 {
3589 return $this->errors;
3590 }
3591 }
3592
3593 class Google_Service_Calendar_FreeBusyRequest extends Google_Collection
3594 {
3595 public $calendarExpansionMax;
3596 public $groupExpansionMax;
3597 protected $itemsType = 'Google_Service_Calendar_FreeBusyRequestItem';
3598 protected $itemsDataType = 'array';
3599 public $timeMax;
3600 public $timeMin;
3601 public $timeZone;
3602
3603 public function setCalendarExpansionMax($calendarExpansionMax)
3604 {
3605 $this->calendarExpansionMax = $calendarExpansionMax;
3606 }
3607
3608 public function getCalendarExpansionMax()
3609 {
3610 return $this->calendarExpansionMax;
3611 }
3612
3613 public function setGroupExpansionMax($groupExpansionMax)
3614 {
3615 $this->groupExpansionMax = $groupExpansionMax;
3616 }
3617
3618 public function getGroupExpansionMax()
3619 {
3620 return $this->groupExpansionMax;
3621 }
3622
3623 public function setItems($items)
3624 {
3625 $this->items = $items;
3626 }
3627
3628 public function getItems()
3629 {
3630 return $this->items;
3631 }
3632
3633 public function setTimeMax($timeMax)
3634 {
3635 $this->timeMax = $timeMax;
3636 }
3637
3638 public function getTimeMax()
3639 {
3640 return $this->timeMax;
3641 }
3642
3643 public function setTimeMin($timeMin)
3644 {
3645 $this->timeMin = $timeMin;
3646 }
3647
3648 public function getTimeMin()
3649 {
3650 return $this->timeMin;
3651 }
3652
3653 public function setTimeZone($timeZone)
3654 {
3655 $this->timeZone = $timeZone;
3656 }
3657
3658 public function getTimeZone()
3659 {
3660 return $this->timeZone;
3661 }
3662 }
3663
3664 class Google_Service_Calendar_FreeBusyRequestItem extends Google_Model
3665 {
3666 public $id;
3667
3668 public function setId($id)
3669 {
3670 $this->id = $id;
3671 }
3672
3673 public function getId()
3674 {
3675 return $this->id;
3676 }
3677 }
3678
3679 class Google_Service_Calendar_FreeBusyResponse extends Google_Model
3680 {
3681 protected $calendarsType = 'Google_Service_Calendar_FreeBusyCalendar';
3682 protected $calendarsDataType = 'map';
3683 protected $groupsType = 'Google_Service_Calendar_FreeBusyGroup';
3684 protected $groupsDataType = 'map';
3685 public $kind;
3686 public $timeMax;
3687 public $timeMin;
3688
3689 public function setCalendars($calendars)
3690 {
3691 $this->calendars = $calendars;
3692 }
3693
3694 public function getCalendars()
3695 {
3696 return $this->calendars;
3697 }
3698
3699 public function setGroups($groups)
3700 {
3701 $this->groups = $groups;
3702 }
3703
3704 public function getGroups()
3705 {
3706 return $this->groups;
3707 }
3708
3709 public function setKind($kind)
3710 {
3711 $this->kind = $kind;
3712 }
3713
3714 public function getKind()
3715 {
3716 return $this->kind;
3717 }
3718
3719 public function setTimeMax($timeMax)
3720 {
3721 $this->timeMax = $timeMax;
3722 }
3723
3724 public function getTimeMax()
3725 {
3726 return $this->timeMax;
3727 }
3728
3729 public function setTimeMin($timeMin)
3730 {
3731 $this->timeMin = $timeMin;
3732 }
3733
3734 public function getTimeMin()
3735 {
3736 return $this->timeMin;
3737 }
3738 }
3739
3740 class Google_Service_Calendar_Setting extends Google_Model
3741 {
3742 public $etag;
3743 public $id;
3744 public $kind;
3745 public $value;
3746
3747 public function setEtag($etag)
3748 {
3749 $this->etag = $etag;
3750 }
3751
3752 public function getEtag()
3753 {
3754 return $this->etag;
3755 }
3756
3757 public function setId($id)
3758 {
3759 $this->id = $id;
3760 }
3761
3762 public function getId()
3763 {
3764 return $this->id;
3765 }
3766
3767 public function setKind($kind)
3768 {
3769 $this->kind = $kind;
3770 }
3771
3772 public function getKind()
3773 {
3774 return $this->kind;
3775 }
3776
3777 public function setValue($value)
3778 {
3779 $this->value = $value;
3780 }
3781
3782 public function getValue()
3783 {
3784 return $this->value;
3785 }
3786 }
3787
3788 class Google_Service_Calendar_Settings extends Google_Collection
3789 {
3790 public $etag;
3791 protected $itemsType = 'Google_Service_Calendar_Setting';
3792 protected $itemsDataType = 'array';
3793 public $kind;
3794 public $nextPageToken;
3795 public $nextSyncToken;
3796
3797 public function setEtag($etag)
3798 {
3799 $this->etag = $etag;
3800 }
3801
3802 public function getEtag()
3803 {
3804 return $this->etag;
3805 }
3806
3807 public function setItems($items)
3808 {
3809 $this->items = $items;
3810 }
3811
3812 public function getItems()
3813 {
3814 return $this->items;
3815 }
3816
3817 public function setKind($kind)
3818 {
3819 $this->kind = $kind;
3820 }
3821
3822 public function getKind()
3823 {
3824 return $this->kind;
3825 }
3826
3827 public function setNextPageToken($nextPageToken)
3828 {
3829 $this->nextPageToken = $nextPageToken;
3830 }
3831
3832 public function getNextPageToken()
3833 {
3834 return $this->nextPageToken;
3835 }
3836
3837 public function setNextSyncToken($nextSyncToken)
3838 {
3839 $this->nextSyncToken = $nextSyncToken;
3840 }
3841
3842 public function getNextSyncToken()
3843 {
3844 return $this->nextSyncToken;
3845 }
3846 }
3847
3848 class Google_Service_Calendar_TimePeriod extends Google_Model
3849 {
3850 public $end;
3851 public $start;
3852
3853 public function setEnd($end)
3854 {
3855 $this->end = $end;
3856 }
3857
3858 public function getEnd()
3859 {
3860 return $this->end;
3861 }
3862
3863 public function setStart($start)
3864 {
3865 $this->start = $start;
3866 }
3867
3868 public function getStart()
3869 {
3870 return $this->start;
3871 }
3872 }
3873