Search moodle.org's
Developer Documentation

See Release Notes

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

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

   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 Mirror (v1).
  20   *
  21   * <p>
  22   * API for interacting with Glass users via the timeline.</p>
  23   *
  24   * <p>
  25   * For more information about this service, see the API
  26   * <a href="https://developers.google.com/glass" target="_blank">Documentation</a>
  27   * </p>
  28   *
  29   * @author Google, Inc.
  30   */
  31  #[AllowDynamicProperties]
  32  class Google_Service_Mirror extends Google_Service
  33  {
  34    /** View your location. */
  35    const GLASS_LOCATION =
  36        "https://www.googleapis.com/auth/glass.location";
  37    /** View and manage your Glass timeline. */
  38    const GLASS_TIMELINE =
  39        "https://www.googleapis.com/auth/glass.timeline";
  40  
  41    public $accounts;
  42    public $contacts;
  43    public $locations;
  44    public $settings;
  45    public $subscriptions;
  46    public $timeline;
  47    public $timeline_attachments;
  48    
  49  
  50    /**
  51     * Constructs the internal representation of the Mirror service.
  52     *
  53     * @param Google_Client $client
  54     */
  55    public function __construct(Google_Client $client)
  56    {
  57      parent::__construct($client);
  58      $this->rootUrl = 'https://www.googleapis.com/';
  59      $this->servicePath = 'mirror/v1/';
  60      $this->version = 'v1';
  61      $this->serviceName = 'mirror';
  62  
  63      $this->accounts = new Google_Service_Mirror_Accounts_Resource(
  64          $this,
  65          $this->serviceName,
  66          'accounts',
  67          array(
  68            'methods' => array(
  69              'insert' => array(
  70                'path' => 'accounts/{userToken}/{accountType}/{accountName}',
  71                'httpMethod' => 'POST',
  72                'parameters' => array(
  73                  'userToken' => array(
  74                    'location' => 'path',
  75                    'type' => 'string',
  76                    'required' => true,
  77                  ),
  78                  'accountType' => array(
  79                    'location' => 'path',
  80                    'type' => 'string',
  81                    'required' => true,
  82                  ),
  83                  'accountName' => array(
  84                    'location' => 'path',
  85                    'type' => 'string',
  86                    'required' => true,
  87                  ),
  88                ),
  89              ),
  90            )
  91          )
  92      );
  93      $this->contacts = new Google_Service_Mirror_Contacts_Resource(
  94          $this,
  95          $this->serviceName,
  96          'contacts',
  97          array(
  98            'methods' => array(
  99              'delete' => array(
 100                'path' => 'contacts/{id}',
 101                'httpMethod' => 'DELETE',
 102                'parameters' => array(
 103                  'id' => array(
 104                    'location' => 'path',
 105                    'type' => 'string',
 106                    'required' => true,
 107                  ),
 108                ),
 109              ),'get' => array(
 110                'path' => 'contacts/{id}',
 111                'httpMethod' => 'GET',
 112                'parameters' => array(
 113                  'id' => array(
 114                    'location' => 'path',
 115                    'type' => 'string',
 116                    'required' => true,
 117                  ),
 118                ),
 119              ),'insert' => array(
 120                'path' => 'contacts',
 121                'httpMethod' => 'POST',
 122                'parameters' => array(),
 123              ),'list' => array(
 124                'path' => 'contacts',
 125                'httpMethod' => 'GET',
 126                'parameters' => array(),
 127              ),'patch' => array(
 128                'path' => 'contacts/{id}',
 129                'httpMethod' => 'PATCH',
 130                'parameters' => array(
 131                  'id' => array(
 132                    'location' => 'path',
 133                    'type' => 'string',
 134                    'required' => true,
 135                  ),
 136                ),
 137              ),'update' => array(
 138                'path' => 'contacts/{id}',
 139                'httpMethod' => 'PUT',
 140                'parameters' => array(
 141                  'id' => array(
 142                    'location' => 'path',
 143                    'type' => 'string',
 144                    'required' => true,
 145                  ),
 146                ),
 147              ),
 148            )
 149          )
 150      );
 151      $this->locations = new Google_Service_Mirror_Locations_Resource(
 152          $this,
 153          $this->serviceName,
 154          'locations',
 155          array(
 156            'methods' => array(
 157              'get' => array(
 158                'path' => 'locations/{id}',
 159                'httpMethod' => 'GET',
 160                'parameters' => array(
 161                  'id' => array(
 162                    'location' => 'path',
 163                    'type' => 'string',
 164                    'required' => true,
 165                  ),
 166                ),
 167              ),'list' => array(
 168                'path' => 'locations',
 169                'httpMethod' => 'GET',
 170                'parameters' => array(),
 171              ),
 172            )
 173          )
 174      );
 175      $this->settings = new Google_Service_Mirror_Settings_Resource(
 176          $this,
 177          $this->serviceName,
 178          'settings',
 179          array(
 180            'methods' => array(
 181              'get' => array(
 182                'path' => 'settings/{id}',
 183                'httpMethod' => 'GET',
 184                'parameters' => array(
 185                  'id' => array(
 186                    'location' => 'path',
 187                    'type' => 'string',
 188                    'required' => true,
 189                  ),
 190                ),
 191              ),
 192            )
 193          )
 194      );
 195      $this->subscriptions = new Google_Service_Mirror_Subscriptions_Resource(
 196          $this,
 197          $this->serviceName,
 198          'subscriptions',
 199          array(
 200            'methods' => array(
 201              'delete' => array(
 202                'path' => 'subscriptions/{id}',
 203                'httpMethod' => 'DELETE',
 204                'parameters' => array(
 205                  'id' => array(
 206                    'location' => 'path',
 207                    'type' => 'string',
 208                    'required' => true,
 209                  ),
 210                ),
 211              ),'insert' => array(
 212                'path' => 'subscriptions',
 213                'httpMethod' => 'POST',
 214                'parameters' => array(),
 215              ),'list' => array(
 216                'path' => 'subscriptions',
 217                'httpMethod' => 'GET',
 218                'parameters' => array(),
 219              ),'update' => array(
 220                'path' => 'subscriptions/{id}',
 221                'httpMethod' => 'PUT',
 222                'parameters' => array(
 223                  'id' => array(
 224                    'location' => 'path',
 225                    'type' => 'string',
 226                    'required' => true,
 227                  ),
 228                ),
 229              ),
 230            )
 231          )
 232      );
 233      $this->timeline = new Google_Service_Mirror_Timeline_Resource(
 234          $this,
 235          $this->serviceName,
 236          'timeline',
 237          array(
 238            'methods' => array(
 239              'delete' => array(
 240                'path' => 'timeline/{id}',
 241                'httpMethod' => 'DELETE',
 242                'parameters' => array(
 243                  'id' => array(
 244                    'location' => 'path',
 245                    'type' => 'string',
 246                    'required' => true,
 247                  ),
 248                ),
 249              ),'get' => array(
 250                'path' => 'timeline/{id}',
 251                'httpMethod' => 'GET',
 252                'parameters' => array(
 253                  'id' => array(
 254                    'location' => 'path',
 255                    'type' => 'string',
 256                    'required' => true,
 257                  ),
 258                ),
 259              ),'insert' => array(
 260                'path' => 'timeline',
 261                'httpMethod' => 'POST',
 262                'parameters' => array(),
 263              ),'list' => array(
 264                'path' => 'timeline',
 265                'httpMethod' => 'GET',
 266                'parameters' => array(
 267                  'orderBy' => array(
 268                    'location' => 'query',
 269                    'type' => 'string',
 270                  ),
 271                  'includeDeleted' => array(
 272                    'location' => 'query',
 273                    'type' => 'boolean',
 274                  ),
 275                  'maxResults' => array(
 276                    'location' => 'query',
 277                    'type' => 'integer',
 278                  ),
 279                  'pageToken' => array(
 280                    'location' => 'query',
 281                    'type' => 'string',
 282                  ),
 283                  'sourceItemId' => array(
 284                    'location' => 'query',
 285                    'type' => 'string',
 286                  ),
 287                  'pinnedOnly' => array(
 288                    'location' => 'query',
 289                    'type' => 'boolean',
 290                  ),
 291                  'bundleId' => array(
 292                    'location' => 'query',
 293                    'type' => 'string',
 294                  ),
 295                ),
 296              ),'patch' => array(
 297                'path' => 'timeline/{id}',
 298                'httpMethod' => 'PATCH',
 299                'parameters' => array(
 300                  'id' => array(
 301                    'location' => 'path',
 302                    'type' => 'string',
 303                    'required' => true,
 304                  ),
 305                ),
 306              ),'update' => array(
 307                'path' => 'timeline/{id}',
 308                'httpMethod' => 'PUT',
 309                'parameters' => array(
 310                  'id' => array(
 311                    'location' => 'path',
 312                    'type' => 'string',
 313                    'required' => true,
 314                  ),
 315                ),
 316              ),
 317            )
 318          )
 319      );
 320      $this->timeline_attachments = new Google_Service_Mirror_TimelineAttachments_Resource(
 321          $this,
 322          $this->serviceName,
 323          'attachments',
 324          array(
 325            'methods' => array(
 326              'delete' => array(
 327                'path' => 'timeline/{itemId}/attachments/{attachmentId}',
 328                'httpMethod' => 'DELETE',
 329                'parameters' => array(
 330                  'itemId' => array(
 331                    'location' => 'path',
 332                    'type' => 'string',
 333                    'required' => true,
 334                  ),
 335                  'attachmentId' => array(
 336                    'location' => 'path',
 337                    'type' => 'string',
 338                    'required' => true,
 339                  ),
 340                ),
 341              ),'get' => array(
 342                'path' => 'timeline/{itemId}/attachments/{attachmentId}',
 343                'httpMethod' => 'GET',
 344                'parameters' => array(
 345                  'itemId' => array(
 346                    'location' => 'path',
 347                    'type' => 'string',
 348                    'required' => true,
 349                  ),
 350                  'attachmentId' => array(
 351                    'location' => 'path',
 352                    'type' => 'string',
 353                    'required' => true,
 354                  ),
 355                ),
 356              ),'insert' => array(
 357                'path' => 'timeline/{itemId}/attachments',
 358                'httpMethod' => 'POST',
 359                'parameters' => array(
 360                  'itemId' => array(
 361                    'location' => 'path',
 362                    'type' => 'string',
 363                    'required' => true,
 364                  ),
 365                ),
 366              ),'list' => array(
 367                'path' => 'timeline/{itemId}/attachments',
 368                'httpMethod' => 'GET',
 369                'parameters' => array(
 370                  'itemId' => array(
 371                    'location' => 'path',
 372                    'type' => 'string',
 373                    'required' => true,
 374                  ),
 375                ),
 376              ),
 377            )
 378          )
 379      );
 380    }
 381  }
 382  
 383  
 384  /**
 385   * The "accounts" collection of methods.
 386   * Typical usage is:
 387   *  <code>
 388   *   $mirrorService = new Google_Service_Mirror(...);
 389   *   $accounts = $mirrorService->accounts;
 390   *  </code>
 391   */
 392  #[AllowDynamicProperties]
 393  class Google_Service_Mirror_Accounts_Resource extends Google_Service_Resource
 394  {
 395  
 396    /**
 397     * Inserts a new account for a user (accounts.insert)
 398     *
 399     * @param string $userToken The ID for the user.
 400     * @param string $accountType Account type to be passed to Android Account
 401     * Manager.
 402     * @param string $accountName The name of the account to be passed to the
 403     * Android Account Manager.
 404     * @param Google_Account $postBody
 405     * @param array $optParams Optional parameters.
 406     * @return Google_Service_Mirror_Account
 407     */
 408    public function insert($userToken, $accountType, $accountName, Google_Service_Mirror_Account $postBody, $optParams = array())
 409    {
 410      $params = array('userToken' => $userToken, 'accountType' => $accountType, 'accountName' => $accountName, 'postBody' => $postBody);
 411      $params = array_merge($params, $optParams);
 412      return $this->call('insert', array($params), "Google_Service_Mirror_Account");
 413    }
 414  }
 415  
 416  /**
 417   * The "contacts" collection of methods.
 418   * Typical usage is:
 419   *  <code>
 420   *   $mirrorService = new Google_Service_Mirror(...);
 421   *   $contacts = $mirrorService->contacts;
 422   *  </code>
 423   */
 424  #[AllowDynamicProperties]
 425  class Google_Service_Mirror_Contacts_Resource extends Google_Service_Resource
 426  {
 427  
 428    /**
 429     * Deletes a contact. (contacts.delete)
 430     *
 431     * @param string $id The ID of the contact.
 432     * @param array $optParams Optional parameters.
 433     */
 434    public function delete($id, $optParams = array())
 435    {
 436      $params = array('id' => $id);
 437      $params = array_merge($params, $optParams);
 438      return $this->call('delete', array($params));
 439    }
 440  
 441    /**
 442     * Gets a single contact by ID. (contacts.get)
 443     *
 444     * @param string $id The ID of the contact.
 445     * @param array $optParams Optional parameters.
 446     * @return Google_Service_Mirror_Contact
 447     */
 448    public function get($id, $optParams = array())
 449    {
 450      $params = array('id' => $id);
 451      $params = array_merge($params, $optParams);
 452      return $this->call('get', array($params), "Google_Service_Mirror_Contact");
 453    }
 454  
 455    /**
 456     * Inserts a new contact. (contacts.insert)
 457     *
 458     * @param Google_Contact $postBody
 459     * @param array $optParams Optional parameters.
 460     * @return Google_Service_Mirror_Contact
 461     */
 462    public function insert(Google_Service_Mirror_Contact $postBody, $optParams = array())
 463    {
 464      $params = array('postBody' => $postBody);
 465      $params = array_merge($params, $optParams);
 466      return $this->call('insert', array($params), "Google_Service_Mirror_Contact");
 467    }
 468  
 469    /**
 470     * Retrieves a list of contacts for the authenticated user.
 471     * (contacts.listContacts)
 472     *
 473     * @param array $optParams Optional parameters.
 474     * @return Google_Service_Mirror_ContactsListResponse
 475     */
 476    public function listContacts($optParams = array())
 477    {
 478      $params = array();
 479      $params = array_merge($params, $optParams);
 480      return $this->call('list', array($params), "Google_Service_Mirror_ContactsListResponse");
 481    }
 482  
 483    /**
 484     * Updates a contact in place. This method supports patch semantics.
 485     * (contacts.patch)
 486     *
 487     * @param string $id The ID of the contact.
 488     * @param Google_Contact $postBody
 489     * @param array $optParams Optional parameters.
 490     * @return Google_Service_Mirror_Contact
 491     */
 492    public function patch($id, Google_Service_Mirror_Contact $postBody, $optParams = array())
 493    {
 494      $params = array('id' => $id, 'postBody' => $postBody);
 495      $params = array_merge($params, $optParams);
 496      return $this->call('patch', array($params), "Google_Service_Mirror_Contact");
 497    }
 498  
 499    /**
 500     * Updates a contact in place. (contacts.update)
 501     *
 502     * @param string $id The ID of the contact.
 503     * @param Google_Contact $postBody
 504     * @param array $optParams Optional parameters.
 505     * @return Google_Service_Mirror_Contact
 506     */
 507    public function update($id, Google_Service_Mirror_Contact $postBody, $optParams = array())
 508    {
 509      $params = array('id' => $id, 'postBody' => $postBody);
 510      $params = array_merge($params, $optParams);
 511      return $this->call('update', array($params), "Google_Service_Mirror_Contact");
 512    }
 513  }
 514  
 515  /**
 516   * The "locations" collection of methods.
 517   * Typical usage is:
 518   *  <code>
 519   *   $mirrorService = new Google_Service_Mirror(...);
 520   *   $locations = $mirrorService->locations;
 521   *  </code>
 522   */
 523  #[AllowDynamicProperties]
 524  class Google_Service_Mirror_Locations_Resource extends Google_Service_Resource
 525  {
 526  
 527    /**
 528     * Gets a single location by ID. (locations.get)
 529     *
 530     * @param string $id The ID of the location or latest for the last known
 531     * location.
 532     * @param array $optParams Optional parameters.
 533     * @return Google_Service_Mirror_Location
 534     */
 535    public function get($id, $optParams = array())
 536    {
 537      $params = array('id' => $id);
 538      $params = array_merge($params, $optParams);
 539      return $this->call('get', array($params), "Google_Service_Mirror_Location");
 540    }
 541  
 542    /**
 543     * Retrieves a list of locations for the user. (locations.listLocations)
 544     *
 545     * @param array $optParams Optional parameters.
 546     * @return Google_Service_Mirror_LocationsListResponse
 547     */
 548    public function listLocations($optParams = array())
 549    {
 550      $params = array();
 551      $params = array_merge($params, $optParams);
 552      return $this->call('list', array($params), "Google_Service_Mirror_LocationsListResponse");
 553    }
 554  }
 555  
 556  /**
 557   * The "settings" collection of methods.
 558   * Typical usage is:
 559   *  <code>
 560   *   $mirrorService = new Google_Service_Mirror(...);
 561   *   $settings = $mirrorService->settings;
 562   *  </code>
 563   */
 564  #[AllowDynamicProperties]
 565  class Google_Service_Mirror_Settings_Resource extends Google_Service_Resource
 566  {
 567  
 568    /**
 569     * Gets a single setting by ID. (settings.get)
 570     *
 571     * @param string $id The ID of the setting. The following IDs are valid: -
 572     * locale - The key to the user’s language/locale (BCP 47 identifier) that
 573     * Glassware should use to render localized content.  - timezone - The key to
 574     * the user’s current time zone region as defined in the tz database. Example:
 575     * America/Los_Angeles.
 576     * @param array $optParams Optional parameters.
 577     * @return Google_Service_Mirror_Setting
 578     */
 579    public function get($id, $optParams = array())
 580    {
 581      $params = array('id' => $id);
 582      $params = array_merge($params, $optParams);
 583      return $this->call('get', array($params), "Google_Service_Mirror_Setting");
 584    }
 585  }
 586  
 587  /**
 588   * The "subscriptions" collection of methods.
 589   * Typical usage is:
 590   *  <code>
 591   *   $mirrorService = new Google_Service_Mirror(...);
 592   *   $subscriptions = $mirrorService->subscriptions;
 593   *  </code>
 594   */
 595  #[AllowDynamicProperties]
 596  class Google_Service_Mirror_Subscriptions_Resource extends Google_Service_Resource
 597  {
 598  
 599    /**
 600     * Deletes a subscription. (subscriptions.delete)
 601     *
 602     * @param string $id The ID of the subscription.
 603     * @param array $optParams Optional parameters.
 604     */
 605    public function delete($id, $optParams = array())
 606    {
 607      $params = array('id' => $id);
 608      $params = array_merge($params, $optParams);
 609      return $this->call('delete', array($params));
 610    }
 611  
 612    /**
 613     * Creates a new subscription. (subscriptions.insert)
 614     *
 615     * @param Google_Subscription $postBody
 616     * @param array $optParams Optional parameters.
 617     * @return Google_Service_Mirror_Subscription
 618     */
 619    public function insert(Google_Service_Mirror_Subscription $postBody, $optParams = array())
 620    {
 621      $params = array('postBody' => $postBody);
 622      $params = array_merge($params, $optParams);
 623      return $this->call('insert', array($params), "Google_Service_Mirror_Subscription");
 624    }
 625  
 626    /**
 627     * Retrieves a list of subscriptions for the authenticated user and service.
 628     * (subscriptions.listSubscriptions)
 629     *
 630     * @param array $optParams Optional parameters.
 631     * @return Google_Service_Mirror_SubscriptionsListResponse
 632     */
 633    public function listSubscriptions($optParams = array())
 634    {
 635      $params = array();
 636      $params = array_merge($params, $optParams);
 637      return $this->call('list', array($params), "Google_Service_Mirror_SubscriptionsListResponse");
 638    }
 639  
 640    /**
 641     * Updates an existing subscription in place. (subscriptions.update)
 642     *
 643     * @param string $id The ID of the subscription.
 644     * @param Google_Subscription $postBody
 645     * @param array $optParams Optional parameters.
 646     * @return Google_Service_Mirror_Subscription
 647     */
 648    public function update($id, Google_Service_Mirror_Subscription $postBody, $optParams = array())
 649    {
 650      $params = array('id' => $id, 'postBody' => $postBody);
 651      $params = array_merge($params, $optParams);
 652      return $this->call('update', array($params), "Google_Service_Mirror_Subscription");
 653    }
 654  }
 655  
 656  /**
 657   * The "timeline" collection of methods.
 658   * Typical usage is:
 659   *  <code>
 660   *   $mirrorService = new Google_Service_Mirror(...);
 661   *   $timeline = $mirrorService->timeline;
 662   *  </code>
 663   */
 664  #[AllowDynamicProperties]
 665  class Google_Service_Mirror_Timeline_Resource extends Google_Service_Resource
 666  {
 667  
 668    /**
 669     * Deletes a timeline item. (timeline.delete)
 670     *
 671     * @param string $id The ID of the timeline item.
 672     * @param array $optParams Optional parameters.
 673     */
 674    public function delete($id, $optParams = array())
 675    {
 676      $params = array('id' => $id);
 677      $params = array_merge($params, $optParams);
 678      return $this->call('delete', array($params));
 679    }
 680  
 681    /**
 682     * Gets a single timeline item by ID. (timeline.get)
 683     *
 684     * @param string $id The ID of the timeline item.
 685     * @param array $optParams Optional parameters.
 686     * @return Google_Service_Mirror_TimelineItem
 687     */
 688    public function get($id, $optParams = array())
 689    {
 690      $params = array('id' => $id);
 691      $params = array_merge($params, $optParams);
 692      return $this->call('get', array($params), "Google_Service_Mirror_TimelineItem");
 693    }
 694  
 695    /**
 696     * Inserts a new item into the timeline. (timeline.insert)
 697     *
 698     * @param Google_TimelineItem $postBody
 699     * @param array $optParams Optional parameters.
 700     * @return Google_Service_Mirror_TimelineItem
 701     */
 702    public function insert(Google_Service_Mirror_TimelineItem $postBody, $optParams = array())
 703    {
 704      $params = array('postBody' => $postBody);
 705      $params = array_merge($params, $optParams);
 706      return $this->call('insert', array($params), "Google_Service_Mirror_TimelineItem");
 707    }
 708  
 709    /**
 710     * Retrieves a list of timeline items for the authenticated user.
 711     * (timeline.listTimeline)
 712     *
 713     * @param array $optParams Optional parameters.
 714     *
 715     * @opt_param string orderBy Controls the order in which timeline items are
 716     * returned.
 717     * @opt_param bool includeDeleted If true, tombstone records for deleted items
 718     * will be returned.
 719     * @opt_param string maxResults The maximum number of items to include in the
 720     * response, used for paging.
 721     * @opt_param string pageToken Token for the page of results to return.
 722     * @opt_param string sourceItemId If provided, only items with the given
 723     * sourceItemId will be returned.
 724     * @opt_param bool pinnedOnly If true, only pinned items will be returned.
 725     * @opt_param string bundleId If provided, only items with the given bundleId
 726     * will be returned.
 727     * @return Google_Service_Mirror_TimelineListResponse
 728     */
 729    public function listTimeline($optParams = array())
 730    {
 731      $params = array();
 732      $params = array_merge($params, $optParams);
 733      return $this->call('list', array($params), "Google_Service_Mirror_TimelineListResponse");
 734    }
 735  
 736    /**
 737     * Updates a timeline item in place. This method supports patch semantics.
 738     * (timeline.patch)
 739     *
 740     * @param string $id The ID of the timeline item.
 741     * @param Google_TimelineItem $postBody
 742     * @param array $optParams Optional parameters.
 743     * @return Google_Service_Mirror_TimelineItem
 744     */
 745    public function patch($id, Google_Service_Mirror_TimelineItem $postBody, $optParams = array())
 746    {
 747      $params = array('id' => $id, 'postBody' => $postBody);
 748      $params = array_merge($params, $optParams);
 749      return $this->call('patch', array($params), "Google_Service_Mirror_TimelineItem");
 750    }
 751  
 752    /**
 753     * Updates a timeline item in place. (timeline.update)
 754     *
 755     * @param string $id The ID of the timeline item.
 756     * @param Google_TimelineItem $postBody
 757     * @param array $optParams Optional parameters.
 758     * @return Google_Service_Mirror_TimelineItem
 759     */
 760    public function update($id, Google_Service_Mirror_TimelineItem $postBody, $optParams = array())
 761    {
 762      $params = array('id' => $id, 'postBody' => $postBody);
 763      $params = array_merge($params, $optParams);
 764      return $this->call('update', array($params), "Google_Service_Mirror_TimelineItem");
 765    }
 766  }
 767  
 768  /**
 769   * The "attachments" collection of methods.
 770   * Typical usage is:
 771   *  <code>
 772   *   $mirrorService = new Google_Service_Mirror(...);
 773   *   $attachments = $mirrorService->attachments;
 774   *  </code>
 775   */
 776  #[AllowDynamicProperties]
 777  class Google_Service_Mirror_TimelineAttachments_Resource extends Google_Service_Resource
 778  {
 779  
 780    /**
 781     * Deletes an attachment from a timeline item. (attachments.delete)
 782     *
 783     * @param string $itemId The ID of the timeline item the attachment belongs to.
 784     * @param string $attachmentId The ID of the attachment.
 785     * @param array $optParams Optional parameters.
 786     */
 787    public function delete($itemId, $attachmentId, $optParams = array())
 788    {
 789      $params = array('itemId' => $itemId, 'attachmentId' => $attachmentId);
 790      $params = array_merge($params, $optParams);
 791      return $this->call('delete', array($params));
 792    }
 793  
 794    /**
 795     * Retrieves an attachment on a timeline item by item ID and attachment ID.
 796     * (attachments.get)
 797     *
 798     * @param string $itemId The ID of the timeline item the attachment belongs to.
 799     * @param string $attachmentId The ID of the attachment.
 800     * @param array $optParams Optional parameters.
 801     * @return Google_Service_Mirror_Attachment
 802     */
 803    public function get($itemId, $attachmentId, $optParams = array())
 804    {
 805      $params = array('itemId' => $itemId, 'attachmentId' => $attachmentId);
 806      $params = array_merge($params, $optParams);
 807      return $this->call('get', array($params), "Google_Service_Mirror_Attachment");
 808    }
 809  
 810    /**
 811     * Adds a new attachment to a timeline item. (attachments.insert)
 812     *
 813     * @param string $itemId The ID of the timeline item the attachment belongs to.
 814     * @param array $optParams Optional parameters.
 815     * @return Google_Service_Mirror_Attachment
 816     */
 817    public function insert($itemId, $optParams = array())
 818    {
 819      $params = array('itemId' => $itemId);
 820      $params = array_merge($params, $optParams);
 821      return $this->call('insert', array($params), "Google_Service_Mirror_Attachment");
 822    }
 823  
 824    /**
 825     * Returns a list of attachments for a timeline item.
 826     * (attachments.listTimelineAttachments)
 827     *
 828     * @param string $itemId The ID of the timeline item whose attachments should be
 829     * listed.
 830     * @param array $optParams Optional parameters.
 831     * @return Google_Service_Mirror_AttachmentsListResponse
 832     */
 833    public function listTimelineAttachments($itemId, $optParams = array())
 834    {
 835      $params = array('itemId' => $itemId);
 836      $params = array_merge($params, $optParams);
 837      return $this->call('list', array($params), "Google_Service_Mirror_AttachmentsListResponse");
 838    }
 839  }
 840  
 841  
 842  
 843  
 844  #[AllowDynamicProperties]
 845  class Google_Service_Mirror_Account extends Google_Collection
 846  {
 847    protected $collection_key = 'userData';
 848    protected $internal_gapi_mappings = array(
 849    );
 850    protected $authTokensType = 'Google_Service_Mirror_AuthToken';
 851    protected $authTokensDataType = 'array';
 852    public $features;
 853    public $password;
 854    protected $userDataType = 'Google_Service_Mirror_UserData';
 855    protected $userDataDataType = 'array';
 856  
 857  
 858    public function setAuthTokens($authTokens)
 859    {
 860      $this->authTokens = $authTokens;
 861    }
 862    public function getAuthTokens()
 863    {
 864      return $this->authTokens;
 865    }
 866    public function setFeatures($features)
 867    {
 868      $this->features = $features;
 869    }
 870    public function getFeatures()
 871    {
 872      return $this->features;
 873    }
 874    public function setPassword($password)
 875    {
 876      $this->password = $password;
 877    }
 878    public function getPassword()
 879    {
 880      return $this->password;
 881    }
 882    public function setUserData($userData)
 883    {
 884      $this->userData = $userData;
 885    }
 886    public function getUserData()
 887    {
 888      return $this->userData;
 889    }
 890  }
 891  
 892  #[AllowDynamicProperties]
 893  class Google_Service_Mirror_Attachment extends Google_Model
 894  {
 895    protected $internal_gapi_mappings = array(
 896    );
 897    public $contentType;
 898    public $contentUrl;
 899    public $id;
 900    public $isProcessingContent;
 901  
 902  
 903    public function setContentType($contentType)
 904    {
 905      $this->contentType = $contentType;
 906    }
 907    public function getContentType()
 908    {
 909      return $this->contentType;
 910    }
 911    public function setContentUrl($contentUrl)
 912    {
 913      $this->contentUrl = $contentUrl;
 914    }
 915    public function getContentUrl()
 916    {
 917      return $this->contentUrl;
 918    }
 919    public function setId($id)
 920    {
 921      $this->id = $id;
 922    }
 923    public function getId()
 924    {
 925      return $this->id;
 926    }
 927    public function setIsProcessingContent($isProcessingContent)
 928    {
 929      $this->isProcessingContent = $isProcessingContent;
 930    }
 931    public function getIsProcessingContent()
 932    {
 933      return $this->isProcessingContent;
 934    }
 935  }
 936  
 937  #[AllowDynamicProperties]
 938  class Google_Service_Mirror_AttachmentsListResponse extends Google_Collection
 939  {
 940    protected $collection_key = 'items';
 941    protected $internal_gapi_mappings = array(
 942    );
 943    protected $itemsType = 'Google_Service_Mirror_Attachment';
 944    protected $itemsDataType = 'array';
 945    public $kind;
 946  
 947  
 948    public function setItems($items)
 949    {
 950      $this->items = $items;
 951    }
 952    public function getItems()
 953    {
 954      return $this->items;
 955    }
 956    public function setKind($kind)
 957    {
 958      $this->kind = $kind;
 959    }
 960    public function getKind()
 961    {
 962      return $this->kind;
 963    }
 964  }
 965  
 966  #[AllowDynamicProperties]
 967  class Google_Service_Mirror_AuthToken extends Google_Model
 968  {
 969    protected $internal_gapi_mappings = array(
 970    );
 971    public $authToken;
 972    public $type;
 973  
 974  
 975    public function setAuthToken($authToken)
 976    {
 977      $this->authToken = $authToken;
 978    }
 979    public function getAuthToken()
 980    {
 981      return $this->authToken;
 982    }
 983    public function setType($type)
 984    {
 985      $this->type = $type;
 986    }
 987    public function getType()
 988    {
 989      return $this->type;
 990    }
 991  }
 992  
 993  #[AllowDynamicProperties]
 994  class Google_Service_Mirror_Command extends Google_Model
 995  {
 996    protected $internal_gapi_mappings = array(
 997    );
 998    public $type;
 999  
1000  
1001    public function setType($type)
1002    {
1003      $this->type = $type;
1004    }
1005    public function getType()
1006    {
1007      return $this->type;
1008    }
1009  }
1010  
1011  #[AllowDynamicProperties]
1012  class Google_Service_Mirror_Contact extends Google_Collection
1013  {
1014    protected $collection_key = 'sharingFeatures';
1015    protected $internal_gapi_mappings = array(
1016    );
1017    protected $acceptCommandsType = 'Google_Service_Mirror_Command';
1018    protected $acceptCommandsDataType = 'array';
1019    public $acceptTypes;
1020    public $displayName;
1021    public $id;
1022    public $imageUrls;
1023    public $kind;
1024    public $phoneNumber;
1025    public $priority;
1026    public $sharingFeatures;
1027    public $source;
1028    public $speakableName;
1029    public $type;
1030  
1031  
1032    public function setAcceptCommands($acceptCommands)
1033    {
1034      $this->acceptCommands = $acceptCommands;
1035    }
1036    public function getAcceptCommands()
1037    {
1038      return $this->acceptCommands;
1039    }
1040    public function setAcceptTypes($acceptTypes)
1041    {
1042      $this->acceptTypes = $acceptTypes;
1043    }
1044    public function getAcceptTypes()
1045    {
1046      return $this->acceptTypes;
1047    }
1048    public function setDisplayName($displayName)
1049    {
1050      $this->displayName = $displayName;
1051    }
1052    public function getDisplayName()
1053    {
1054      return $this->displayName;
1055    }
1056    public function setId($id)
1057    {
1058      $this->id = $id;
1059    }
1060    public function getId()
1061    {
1062      return $this->id;
1063    }
1064    public function setImageUrls($imageUrls)
1065    {
1066      $this->imageUrls = $imageUrls;
1067    }
1068    public function getImageUrls()
1069    {
1070      return $this->imageUrls;
1071    }
1072    public function setKind($kind)
1073    {
1074      $this->kind = $kind;
1075    }
1076    public function getKind()
1077    {
1078      return $this->kind;
1079    }
1080    public function setPhoneNumber($phoneNumber)
1081    {
1082      $this->phoneNumber = $phoneNumber;
1083    }
1084    public function getPhoneNumber()
1085    {
1086      return $this->phoneNumber;
1087    }
1088    public function setPriority($priority)
1089    {
1090      $this->priority = $priority;
1091    }
1092    public function getPriority()
1093    {
1094      return $this->priority;
1095    }
1096    public function setSharingFeatures($sharingFeatures)
1097    {
1098      $this->sharingFeatures = $sharingFeatures;
1099    }
1100    public function getSharingFeatures()
1101    {
1102      return $this->sharingFeatures;
1103    }
1104    public function setSource($source)
1105    {
1106      $this->source = $source;
1107    }
1108    public function getSource()
1109    {
1110      return $this->source;
1111    }
1112    public function setSpeakableName($speakableName)
1113    {
1114      $this->speakableName = $speakableName;
1115    }
1116    public function getSpeakableName()
1117    {
1118      return $this->speakableName;
1119    }
1120    public function setType($type)
1121    {
1122      $this->type = $type;
1123    }
1124    public function getType()
1125    {
1126      return $this->type;
1127    }
1128  }
1129  
1130  #[AllowDynamicProperties]
1131  class Google_Service_Mirror_ContactsListResponse extends Google_Collection
1132  {
1133    protected $collection_key = 'items';
1134    protected $internal_gapi_mappings = array(
1135    );
1136    protected $itemsType = 'Google_Service_Mirror_Contact';
1137    protected $itemsDataType = 'array';
1138    public $kind;
1139  
1140  
1141    public function setItems($items)
1142    {
1143      $this->items = $items;
1144    }
1145    public function getItems()
1146    {
1147      return $this->items;
1148    }
1149    public function setKind($kind)
1150    {
1151      $this->kind = $kind;
1152    }
1153    public function getKind()
1154    {
1155      return $this->kind;
1156    }
1157  }
1158  
1159  #[AllowDynamicProperties]
1160  class Google_Service_Mirror_Location extends Google_Model
1161  {
1162    protected $internal_gapi_mappings = array(
1163    );
1164    public $accuracy;
1165    public $address;
1166    public $displayName;
1167    public $id;
1168    public $kind;
1169    public $latitude;
1170    public $longitude;
1171    public $timestamp;
1172  
1173  
1174    public function setAccuracy($accuracy)
1175    {
1176      $this->accuracy = $accuracy;
1177    }
1178    public function getAccuracy()
1179    {
1180      return $this->accuracy;
1181    }
1182    public function setAddress($address)
1183    {
1184      $this->address = $address;
1185    }
1186    public function getAddress()
1187    {
1188      return $this->address;
1189    }
1190    public function setDisplayName($displayName)
1191    {
1192      $this->displayName = $displayName;
1193    }
1194    public function getDisplayName()
1195    {
1196      return $this->displayName;
1197    }
1198    public function setId($id)
1199    {
1200      $this->id = $id;
1201    }
1202    public function getId()
1203    {
1204      return $this->id;
1205    }
1206    public function setKind($kind)
1207    {
1208      $this->kind = $kind;
1209    }
1210    public function getKind()
1211    {
1212      return $this->kind;
1213    }
1214    public function setLatitude($latitude)
1215    {
1216      $this->latitude = $latitude;
1217    }
1218    public function getLatitude()
1219    {
1220      return $this->latitude;
1221    }
1222    public function setLongitude($longitude)
1223    {
1224      $this->longitude = $longitude;
1225    }
1226    public function getLongitude()
1227    {
1228      return $this->longitude;
1229    }
1230    public function setTimestamp($timestamp)
1231    {
1232      $this->timestamp = $timestamp;
1233    }
1234    public function getTimestamp()
1235    {
1236      return $this->timestamp;
1237    }
1238  }
1239  
1240  #[AllowDynamicProperties]
1241  class Google_Service_Mirror_LocationsListResponse extends Google_Collection
1242  {
1243    protected $collection_key = 'items';
1244    protected $internal_gapi_mappings = array(
1245    );
1246    protected $itemsType = 'Google_Service_Mirror_Location';
1247    protected $itemsDataType = 'array';
1248    public $kind;
1249  
1250  
1251    public function setItems($items)
1252    {
1253      $this->items = $items;
1254    }
1255    public function getItems()
1256    {
1257      return $this->items;
1258    }
1259    public function setKind($kind)
1260    {
1261      $this->kind = $kind;
1262    }
1263    public function getKind()
1264    {
1265      return $this->kind;
1266    }
1267  }
1268  
1269  #[AllowDynamicProperties]
1270  class Google_Service_Mirror_MenuItem extends Google_Collection
1271  {
1272    protected $collection_key = 'values';
1273    protected $internal_gapi_mappings = array(
1274          "contextualCommand" => "contextual_command",
1275    );
1276    public $action;
1277    public $contextualCommand;
1278    public $id;
1279    public $payload;
1280    public $removeWhenSelected;
1281    protected $valuesType = 'Google_Service_Mirror_MenuValue';
1282    protected $valuesDataType = 'array';
1283  
1284  
1285    public function setAction($action)
1286    {
1287      $this->action = $action;
1288    }
1289    public function getAction()
1290    {
1291      return $this->action;
1292    }
1293    public function setContextualCommand($contextualCommand)
1294    {
1295      $this->contextualCommand = $contextualCommand;
1296    }
1297    public function getContextualCommand()
1298    {
1299      return $this->contextualCommand;
1300    }
1301    public function setId($id)
1302    {
1303      $this->id = $id;
1304    }
1305    public function getId()
1306    {
1307      return $this->id;
1308    }
1309    public function setPayload($payload)
1310    {
1311      $this->payload = $payload;
1312    }
1313    public function getPayload()
1314    {
1315      return $this->payload;
1316    }
1317    public function setRemoveWhenSelected($removeWhenSelected)
1318    {
1319      $this->removeWhenSelected = $removeWhenSelected;
1320    }
1321    public function getRemoveWhenSelected()
1322    {
1323      return $this->removeWhenSelected;
1324    }
1325    public function setValues($values)
1326    {
1327      $this->values = $values;
1328    }
1329    public function getValues()
1330    {
1331      return $this->values;
1332    }
1333  }
1334  
1335  #[AllowDynamicProperties]
1336  class Google_Service_Mirror_MenuValue extends Google_Model
1337  {
1338    protected $internal_gapi_mappings = array(
1339    );
1340    public $displayName;
1341    public $iconUrl;
1342    public $state;
1343  
1344  
1345    public function setDisplayName($displayName)
1346    {
1347      $this->displayName = $displayName;
1348    }
1349    public function getDisplayName()
1350    {
1351      return $this->displayName;
1352    }
1353    public function setIconUrl($iconUrl)
1354    {
1355      $this->iconUrl = $iconUrl;
1356    }
1357    public function getIconUrl()
1358    {
1359      return $this->iconUrl;
1360    }
1361    public function setState($state)
1362    {
1363      $this->state = $state;
1364    }
1365    public function getState()
1366    {
1367      return $this->state;
1368    }
1369  }
1370  
1371  #[AllowDynamicProperties]
1372  class Google_Service_Mirror_Notification extends Google_Collection
1373  {
1374    protected $collection_key = 'userActions';
1375    protected $internal_gapi_mappings = array(
1376    );
1377    public $collection;
1378    public $itemId;
1379    public $operation;
1380    protected $userActionsType = 'Google_Service_Mirror_UserAction';
1381    protected $userActionsDataType = 'array';
1382    public $userToken;
1383    public $verifyToken;
1384  
1385  
1386    public function setCollection($collection)
1387    {
1388      $this->collection = $collection;
1389    }
1390    public function getCollection()
1391    {
1392      return $this->collection;
1393    }
1394    public function setItemId($itemId)
1395    {
1396      $this->itemId = $itemId;
1397    }
1398    public function getItemId()
1399    {
1400      return $this->itemId;
1401    }
1402    public function setOperation($operation)
1403    {
1404      $this->operation = $operation;
1405    }
1406    public function getOperation()
1407    {
1408      return $this->operation;
1409    }
1410    public function setUserActions($userActions)
1411    {
1412      $this->userActions = $userActions;
1413    }
1414    public function getUserActions()
1415    {
1416      return $this->userActions;
1417    }
1418    public function setUserToken($userToken)
1419    {
1420      $this->userToken = $userToken;
1421    }
1422    public function getUserToken()
1423    {
1424      return $this->userToken;
1425    }
1426    public function setVerifyToken($verifyToken)
1427    {
1428      $this->verifyToken = $verifyToken;
1429    }
1430    public function getVerifyToken()
1431    {
1432      return $this->verifyToken;
1433    }
1434  }
1435  
1436  #[AllowDynamicProperties]
1437  class Google_Service_Mirror_NotificationConfig extends Google_Model
1438  {
1439    protected $internal_gapi_mappings = array(
1440    );
1441    public $deliveryTime;
1442    public $level;
1443  
1444  
1445    public function setDeliveryTime($deliveryTime)
1446    {
1447      $this->deliveryTime = $deliveryTime;
1448    }
1449    public function getDeliveryTime()
1450    {
1451      return $this->deliveryTime;
1452    }
1453    public function setLevel($level)
1454    {
1455      $this->level = $level;
1456    }
1457    public function getLevel()
1458    {
1459      return $this->level;
1460    }
1461  }
1462  
1463  #[AllowDynamicProperties]
1464  class Google_Service_Mirror_Setting extends Google_Model
1465  {
1466    protected $internal_gapi_mappings = array(
1467    );
1468    public $id;
1469    public $kind;
1470    public $value;
1471  
1472  
1473    public function setId($id)
1474    {
1475      $this->id = $id;
1476    }
1477    public function getId()
1478    {
1479      return $this->id;
1480    }
1481    public function setKind($kind)
1482    {
1483      $this->kind = $kind;
1484    }
1485    public function getKind()
1486    {
1487      return $this->kind;
1488    }
1489    public function setValue($value)
1490    {
1491      $this->value = $value;
1492    }
1493    public function getValue()
1494    {
1495      return $this->value;
1496    }
1497  }
1498  
1499  #[AllowDynamicProperties]
1500  class Google_Service_Mirror_Subscription extends Google_Collection
1501  {
1502    protected $collection_key = 'operation';
1503    protected $internal_gapi_mappings = array(
1504    );
1505    public $callbackUrl;
1506    public $collection;
1507    public $id;
1508    public $kind;
1509    protected $notificationType = 'Google_Service_Mirror_Notification';
1510    protected $notificationDataType = '';
1511    public $operation;
1512    public $updated;
1513    public $userToken;
1514    public $verifyToken;
1515  
1516  
1517    public function setCallbackUrl($callbackUrl)
1518    {
1519      $this->callbackUrl = $callbackUrl;
1520    }
1521    public function getCallbackUrl()
1522    {
1523      return $this->callbackUrl;
1524    }
1525    public function setCollection($collection)
1526    {
1527      $this->collection = $collection;
1528    }
1529    public function getCollection()
1530    {
1531      return $this->collection;
1532    }
1533    public function setId($id)
1534    {
1535      $this->id = $id;
1536    }
1537    public function getId()
1538    {
1539      return $this->id;
1540    }
1541    public function setKind($kind)
1542    {
1543      $this->kind = $kind;
1544    }
1545    public function getKind()
1546    {
1547      return $this->kind;
1548    }
1549    public function setNotification(Google_Service_Mirror_Notification $notification)
1550    {
1551      $this->notification = $notification;
1552    }
1553    public function getNotification()
1554    {
1555      return $this->notification;
1556    }
1557    public function setOperation($operation)
1558    {
1559      $this->operation = $operation;
1560    }
1561    public function getOperation()
1562    {
1563      return $this->operation;
1564    }
1565    public function setUpdated($updated)
1566    {
1567      $this->updated = $updated;
1568    }
1569    public function getUpdated()
1570    {
1571      return $this->updated;
1572    }
1573    public function setUserToken($userToken)
1574    {
1575      $this->userToken = $userToken;
1576    }
1577    public function getUserToken()
1578    {
1579      return $this->userToken;
1580    }
1581    public function setVerifyToken($verifyToken)
1582    {
1583      $this->verifyToken = $verifyToken;
1584    }
1585    public function getVerifyToken()
1586    {
1587      return $this->verifyToken;
1588    }
1589  }
1590  
1591  #[AllowDynamicProperties]
1592  class Google_Service_Mirror_SubscriptionsListResponse extends Google_Collection
1593  {
1594    protected $collection_key = 'items';
1595    protected $internal_gapi_mappings = array(
1596    );
1597    protected $itemsType = 'Google_Service_Mirror_Subscription';
1598    protected $itemsDataType = 'array';
1599    public $kind;
1600  
1601  
1602    public function setItems($items)
1603    {
1604      $this->items = $items;
1605    }
1606    public function getItems()
1607    {
1608      return $this->items;
1609    }
1610    public function setKind($kind)
1611    {
1612      $this->kind = $kind;
1613    }
1614    public function getKind()
1615    {
1616      return $this->kind;
1617    }
1618  }
1619  
1620  #[AllowDynamicProperties]
1621  class Google_Service_Mirror_TimelineItem extends Google_Collection
1622  {
1623    protected $collection_key = 'recipients';
1624    protected $internal_gapi_mappings = array(
1625    );
1626    protected $attachmentsType = 'Google_Service_Mirror_Attachment';
1627    protected $attachmentsDataType = 'array';
1628    public $bundleId;
1629    public $canonicalUrl;
1630    public $created;
1631    protected $creatorType = 'Google_Service_Mirror_Contact';
1632    protected $creatorDataType = '';
1633    public $displayTime;
1634    public $etag;
1635    public $html;
1636    public $id;
1637    public $inReplyTo;
1638    public $isBundleCover;
1639    public $isDeleted;
1640    public $isPinned;
1641    public $kind;
1642    protected $locationType = 'Google_Service_Mirror_Location';
1643    protected $locationDataType = '';
1644    protected $menuItemsType = 'Google_Service_Mirror_MenuItem';
1645    protected $menuItemsDataType = 'array';
1646    protected $notificationType = 'Google_Service_Mirror_NotificationConfig';
1647    protected $notificationDataType = '';
1648    public $pinScore;
1649    protected $recipientsType = 'Google_Service_Mirror_Contact';
1650    protected $recipientsDataType = 'array';
1651    public $selfLink;
1652    public $sourceItemId;
1653    public $speakableText;
1654    public $speakableType;
1655    public $text;
1656    public $title;
1657    public $updated;
1658  
1659  
1660    public function setAttachments($attachments)
1661    {
1662      $this->attachments = $attachments;
1663    }
1664    public function getAttachments()
1665    {
1666      return $this->attachments;
1667    }
1668    public function setBundleId($bundleId)
1669    {
1670      $this->bundleId = $bundleId;
1671    }
1672    public function getBundleId()
1673    {
1674      return $this->bundleId;
1675    }
1676    public function setCanonicalUrl($canonicalUrl)
1677    {
1678      $this->canonicalUrl = $canonicalUrl;
1679    }
1680    public function getCanonicalUrl()
1681    {
1682      return $this->canonicalUrl;
1683    }
1684    public function setCreated($created)
1685    {
1686      $this->created = $created;
1687    }
1688    public function getCreated()
1689    {
1690      return $this->created;
1691    }
1692    public function setCreator(Google_Service_Mirror_Contact $creator)
1693    {
1694      $this->creator = $creator;
1695    }
1696    public function getCreator()
1697    {
1698      return $this->creator;
1699    }
1700    public function setDisplayTime($displayTime)
1701    {
1702      $this->displayTime = $displayTime;
1703    }
1704    public function getDisplayTime()
1705    {
1706      return $this->displayTime;
1707    }
1708    public function setEtag($etag)
1709    {
1710      $this->etag = $etag;
1711    }
1712    public function getEtag()
1713    {
1714      return $this->etag;
1715    }
1716    public function setHtml($html)
1717    {
1718      $this->html = $html;
1719    }
1720    public function getHtml()
1721    {
1722      return $this->html;
1723    }
1724    public function setId($id)
1725    {
1726      $this->id = $id;
1727    }
1728    public function getId()
1729    {
1730      return $this->id;
1731    }
1732    public function setInReplyTo($inReplyTo)
1733    {
1734      $this->inReplyTo = $inReplyTo;
1735    }
1736    public function getInReplyTo()
1737    {
1738      return $this->inReplyTo;
1739    }
1740    public function setIsBundleCover($isBundleCover)
1741    {
1742      $this->isBundleCover = $isBundleCover;
1743    }
1744    public function getIsBundleCover()
1745    {
1746      return $this->isBundleCover;
1747    }
1748    public function setIsDeleted($isDeleted)
1749    {
1750      $this->isDeleted = $isDeleted;
1751    }
1752    public function getIsDeleted()
1753    {
1754      return $this->isDeleted;
1755    }
1756    public function setIsPinned($isPinned)
1757    {
1758      $this->isPinned = $isPinned;
1759    }
1760    public function getIsPinned()
1761    {
1762      return $this->isPinned;
1763    }
1764    public function setKind($kind)
1765    {
1766      $this->kind = $kind;
1767    }
1768    public function getKind()
1769    {
1770      return $this->kind;
1771    }
1772    public function setLocation(Google_Service_Mirror_Location $location)
1773    {
1774      $this->location = $location;
1775    }
1776    public function getLocation()
1777    {
1778      return $this->location;
1779    }
1780    public function setMenuItems($menuItems)
1781    {
1782      $this->menuItems = $menuItems;
1783    }
1784    public function getMenuItems()
1785    {
1786      return $this->menuItems;
1787    }
1788    public function setNotification(Google_Service_Mirror_NotificationConfig $notification)
1789    {
1790      $this->notification = $notification;
1791    }
1792    public function getNotification()
1793    {
1794      return $this->notification;
1795    }
1796    public function setPinScore($pinScore)
1797    {
1798      $this->pinScore = $pinScore;
1799    }
1800    public function getPinScore()
1801    {
1802      return $this->pinScore;
1803    }
1804    public function setRecipients($recipients)
1805    {
1806      $this->recipients = $recipients;
1807    }
1808    public function getRecipients()
1809    {
1810      return $this->recipients;
1811    }
1812    public function setSelfLink($selfLink)
1813    {
1814      $this->selfLink = $selfLink;
1815    }
1816    public function getSelfLink()
1817    {
1818      return $this->selfLink;
1819    }
1820    public function setSourceItemId($sourceItemId)
1821    {
1822      $this->sourceItemId = $sourceItemId;
1823    }
1824    public function getSourceItemId()
1825    {
1826      return $this->sourceItemId;
1827    }
1828    public function setSpeakableText($speakableText)
1829    {
1830      $this->speakableText = $speakableText;
1831    }
1832    public function getSpeakableText()
1833    {
1834      return $this->speakableText;
1835    }
1836    public function setSpeakableType($speakableType)
1837    {
1838      $this->speakableType = $speakableType;
1839    }
1840    public function getSpeakableType()
1841    {
1842      return $this->speakableType;
1843    }
1844    public function setText($text)
1845    {
1846      $this->text = $text;
1847    }
1848    public function getText()
1849    {
1850      return $this->text;
1851    }
1852    public function setTitle($title)
1853    {
1854      $this->title = $title;
1855    }
1856    public function getTitle()
1857    {
1858      return $this->title;
1859    }
1860    public function setUpdated($updated)
1861    {
1862      $this->updated = $updated;
1863    }
1864    public function getUpdated()
1865    {
1866      return $this->updated;
1867    }
1868  }
1869  
1870  #[AllowDynamicProperties]
1871  class Google_Service_Mirror_TimelineListResponse extends Google_Collection
1872  {
1873    protected $collection_key = 'items';
1874    protected $internal_gapi_mappings = array(
1875    );
1876    protected $itemsType = 'Google_Service_Mirror_TimelineItem';
1877    protected $itemsDataType = 'array';
1878    public $kind;
1879    public $nextPageToken;
1880  
1881  
1882    public function setItems($items)
1883    {
1884      $this->items = $items;
1885    }
1886    public function getItems()
1887    {
1888      return $this->items;
1889    }
1890    public function setKind($kind)
1891    {
1892      $this->kind = $kind;
1893    }
1894    public function getKind()
1895    {
1896      return $this->kind;
1897    }
1898    public function setNextPageToken($nextPageToken)
1899    {
1900      $this->nextPageToken = $nextPageToken;
1901    }
1902    public function getNextPageToken()
1903    {
1904      return $this->nextPageToken;
1905    }
1906  }
1907  
1908  #[AllowDynamicProperties]
1909  class Google_Service_Mirror_UserAction extends Google_Model
1910  {
1911    protected $internal_gapi_mappings = array(
1912    );
1913    public $payload;
1914    public $type;
1915  
1916  
1917    public function setPayload($payload)
1918    {
1919      $this->payload = $payload;
1920    }
1921    public function getPayload()
1922    {
1923      return $this->payload;
1924    }
1925    public function setType($type)
1926    {
1927      $this->type = $type;
1928    }
1929    public function getType()
1930    {
1931      return $this->type;
1932    }
1933  }
1934  
1935  #[AllowDynamicProperties]
1936  class Google_Service_Mirror_UserData extends Google_Model
1937  {
1938    protected $internal_gapi_mappings = array(
1939    );
1940    public $key;
1941    public $value;
1942  
1943  
1944    public function setKey($key)
1945    {
1946      $this->key = $key;
1947    }
1948    public function getKey()
1949    {
1950      return $this->key;
1951    }
1952    public function setValue($value)
1953    {
1954      $this->value = $value;
1955    }
1956    public function getValue()
1957    {
1958      return $this->value;
1959    }
1960  }