Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403]

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