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