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