PluginProbe
Authorizer / 2.6.10
Authorizer v2.6.10
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 / vendor / google-api-php-client / src / Google / Service / Calendar.php

Calendar.php in Authorizer 2.6.10, at vendor/google-api-php-client/src/Google/Service/Calendar.php

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