[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> Calendar.php (source)

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


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1