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