PluginProbe
Authorizer / 2.6.10
Authorizer v2.6.10
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / vendor / google-api-php-client / src / Google / Service / Mirror.php

Mirror.php in Authorizer 2.6.10, at vendor/google-api-php-client/src/Google/Service/Mirror.php

1,931 lines 47.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16 /**
17 * Service definition for Mirror (v1).
18 *
19 * <p>
20 * API for interacting with Glass users via the timeline.</p>
21 *
22 * <p>
23 * For more information about this service, see the API
24 * <a href="https://developers.google.com/glass" target="_blank">Documentation</a>
25 * </p>
26 *
27 * @author Google, Inc.
28 */
29 class Google_Service_Mirror extends Google_Service
30 {
31 /** View your location. */
32 const GLASS_LOCATION =
33 "https://www.googleapis.com/auth/glass.location";
34 /** View and manage your Glass timeline. */
35 const GLASS_TIMELINE =
36 "https://www.googleapis.com/auth/glass.timeline";
37
38 public $accounts;
39 public $contacts;
40 public $locations;
41 public $settings;
42 public $subscriptions;
43 public $timeline;
44 public $timeline_attachments;
45
46
47 /**
48 * Constructs the internal representation of the Mirror service.
49 *
50 * @param Google_Client $client
51 */
52 public function __construct(Google_Client $client)
53 {
54 parent::__construct($client);
55 $this->rootUrl = 'https://www.googleapis.com/';
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 'bundleId' => 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 'orderBy' => array(
277 'location' => 'query',
278 'type' => 'string',
279 ),
280 'pageToken' => array(
281 'location' => 'query',
282 'type' => 'string',
283 ),
284 'pinnedOnly' => array(
285 'location' => 'query',
286 'type' => 'boolean',
287 ),
288 'sourceItemId' => 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 The ID for the user.
396 * @param string $accountType Account type to be passed to Android Account
397 * Manager.
398 * @param string $accountName The name of the account to be passed to the
399 * Android Account Manager.
400 * @param Google_Account $postBody
401 * @param array $optParams Optional parameters.
402 * @return Google_Service_Mirror_Account
403 */
404 public function insert($userToken, $accountType, $accountName, Google_Service_Mirror_Account $postBody, $optParams = array())
405 {
406 $params = array('userToken' => $userToken, 'accountType' => $accountType, 'accountName' => $accountName, 'postBody' => $postBody);
407 $params = array_merge($params, $optParams);
408 return $this->call('insert', array($params), "Google_Service_Mirror_Account");
409 }
410 }
411
412 /**
413 * The "contacts" collection of methods.
414 * Typical usage is:
415 * <code>
416 * $mirrorService = new Google_Service_Mirror(...);
417 * $contacts = $mirrorService->contacts;
418 * </code>
419 */
420 class Google_Service_Mirror_Contacts_Resource extends Google_Service_Resource
421 {
422
423 /**
424 * Deletes a contact. (contacts.delete)
425 *
426 * @param string $id The ID of the contact.
427 * @param array $optParams Optional parameters.
428 */
429 public function delete($id, $optParams = array())
430 {
431 $params = array('id' => $id);
432 $params = array_merge($params, $optParams);
433 return $this->call('delete', array($params));
434 }
435
436 /**
437 * Gets a single contact by ID. (contacts.get)
438 *
439 * @param string $id The ID of the contact.
440 * @param array $optParams Optional parameters.
441 * @return Google_Service_Mirror_Contact
442 */
443 public function get($id, $optParams = array())
444 {
445 $params = array('id' => $id);
446 $params = array_merge($params, $optParams);
447 return $this->call('get', array($params), "Google_Service_Mirror_Contact");
448 }
449
450 /**
451 * Inserts a new contact. (contacts.insert)
452 *
453 * @param Google_Contact $postBody
454 * @param array $optParams Optional parameters.
455 * @return Google_Service_Mirror_Contact
456 */
457 public function insert(Google_Service_Mirror_Contact $postBody, $optParams = array())
458 {
459 $params = array('postBody' => $postBody);
460 $params = array_merge($params, $optParams);
461 return $this->call('insert', array($params), "Google_Service_Mirror_Contact");
462 }
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 /**
479 * Updates a contact in place. This method supports patch semantics.
480 * (contacts.patch)
481 *
482 * @param string $id 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 /**
495 * Updates a contact in place. (contacts.update)
496 *
497 * @param string $id 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 The ID of the location or latest for the last known
525 * 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 /**
537 * Retrieves a list of locations for the user. (locations.listLocations)
538 *
539 * @param array $optParams Optional parameters.
540 * @return Google_Service_Mirror_LocationsListResponse
541 */
542 public function listLocations($optParams = array())
543 {
544 $params = array();
545 $params = array_merge($params, $optParams);
546 return $this->call('list', array($params), "Google_Service_Mirror_LocationsListResponse");
547 }
548 }
549
550 /**
551 * The "settings" collection of methods.
552 * Typical usage is:
553 * <code>
554 * $mirrorService = new Google_Service_Mirror(...);
555 * $settings = $mirrorService->settings;
556 * </code>
557 */
558 class Google_Service_Mirror_Settings_Resource extends Google_Service_Resource
559 {
560
561 /**
562 * Gets a single setting by ID. (settings.get)
563 *
564 * @param string $id The ID of the setting. The following IDs are valid: -
565 * locale - The key to the user’s language/locale (BCP 47 identifier) that
566 * Glassware should use to render localized content. - timezone - The key to
567 * the user’s current time zone region as defined in the tz database. Example:
568 * America/Los_Angeles.
569 * @param array $optParams Optional parameters.
570 * @return Google_Service_Mirror_Setting
571 */
572 public function get($id, $optParams = array())
573 {
574 $params = array('id' => $id);
575 $params = array_merge($params, $optParams);
576 return $this->call('get', array($params), "Google_Service_Mirror_Setting");
577 }
578 }
579
580 /**
581 * The "subscriptions" collection of methods.
582 * Typical usage is:
583 * <code>
584 * $mirrorService = new Google_Service_Mirror(...);
585 * $subscriptions = $mirrorService->subscriptions;
586 * </code>
587 */
588 class Google_Service_Mirror_Subscriptions_Resource extends Google_Service_Resource
589 {
590
591 /**
592 * Deletes a subscription. (subscriptions.delete)
593 *
594 * @param string $id The ID of the subscription.
595 * @param array $optParams Optional parameters.
596 */
597 public function delete($id, $optParams = array())
598 {
599 $params = array('id' => $id);
600 $params = array_merge($params, $optParams);
601 return $this->call('delete', array($params));
602 }
603
604 /**
605 * Creates a new subscription. (subscriptions.insert)
606 *
607 * @param Google_Subscription $postBody
608 * @param array $optParams Optional parameters.
609 * @return Google_Service_Mirror_Subscription
610 */
611 public function insert(Google_Service_Mirror_Subscription $postBody, $optParams = array())
612 {
613 $params = array('postBody' => $postBody);
614 $params = array_merge($params, $optParams);
615 return $this->call('insert', array($params), "Google_Service_Mirror_Subscription");
616 }
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 /**
633 * Updates an existing subscription in place. (subscriptions.update)
634 *
635 * @param string $id 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 The ID of the timeline item.
663 * @param array $optParams Optional parameters.
664 */
665 public function delete($id, $optParams = array())
666 {
667 $params = array('id' => $id);
668 $params = array_merge($params, $optParams);
669 return $this->call('delete', array($params));
670 }
671
672 /**
673 * Gets a single timeline item by ID. (timeline.get)
674 *
675 * @param string $id The ID of the timeline item.
676 * @param array $optParams Optional parameters.
677 * @return Google_Service_Mirror_TimelineItem
678 */
679 public function get($id, $optParams = array())
680 {
681 $params = array('id' => $id);
682 $params = array_merge($params, $optParams);
683 return $this->call('get', array($params), "Google_Service_Mirror_TimelineItem");
684 }
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 /**
701 * Retrieves a list of timeline items for the authenticated user.
702 * (timeline.listTimeline)
703 *
704 * @param array $optParams Optional parameters.
705 *
706 * @opt_param string bundleId If provided, only items with the given bundleId
707 * will be returned.
708 * @opt_param bool includeDeleted If true, tombstone records for deleted items
709 * will be returned.
710 * @opt_param string maxResults The maximum number of items to include in the
711 * response, used for paging.
712 * @opt_param string orderBy Controls the order in which timeline items are
713 * returned.
714 * @opt_param string pageToken Token for the page of results to return.
715 * @opt_param bool pinnedOnly If true, only pinned items will be returned.
716 * @opt_param string sourceItemId If provided, only items with the given
717 * sourceItemId will be returned.
718 * @return Google_Service_Mirror_TimelineListResponse
719 */
720 public function listTimeline($optParams = array())
721 {
722 $params = array();
723 $params = array_merge($params, $optParams);
724 return $this->call('list', array($params), "Google_Service_Mirror_TimelineListResponse");
725 }
726
727 /**
728 * Updates a timeline item in place. This method supports patch semantics.
729 * (timeline.patch)
730 *
731 * @param string $id The ID of the timeline item.
732 * @param Google_TimelineItem $postBody
733 * @param array $optParams Optional parameters.
734 * @return Google_Service_Mirror_TimelineItem
735 */
736 public function patch($id, Google_Service_Mirror_TimelineItem $postBody, $optParams = array())
737 {
738 $params = array('id' => $id, 'postBody' => $postBody);
739 $params = array_merge($params, $optParams);
740 return $this->call('patch', array($params), "Google_Service_Mirror_TimelineItem");
741 }
742
743 /**
744 * Updates a timeline item in place. (timeline.update)
745 *
746 * @param string $id The ID of the timeline item.
747 * @param Google_TimelineItem $postBody
748 * @param array $optParams Optional parameters.
749 * @return Google_Service_Mirror_TimelineItem
750 */
751 public function update($id, Google_Service_Mirror_TimelineItem $postBody, $optParams = array())
752 {
753 $params = array('id' => $id, 'postBody' => $postBody);
754 $params = array_merge($params, $optParams);
755 return $this->call('update', array($params), "Google_Service_Mirror_TimelineItem");
756 }
757 }
758
759 /**
760 * The "attachments" collection of methods.
761 * Typical usage is:
762 * <code>
763 * $mirrorService = new Google_Service_Mirror(...);
764 * $attachments = $mirrorService->attachments;
765 * </code>
766 */
767 class Google_Service_Mirror_TimelineAttachments_Resource extends Google_Service_Resource
768 {
769
770 /**
771 * Deletes an attachment from a timeline item. (attachments.delete)
772 *
773 * @param string $itemId The ID of the timeline item the attachment belongs to.
774 * @param string $attachmentId The ID of the attachment.
775 * @param array $optParams Optional parameters.
776 */
777 public function delete($itemId, $attachmentId, $optParams = array())
778 {
779 $params = array('itemId' => $itemId, 'attachmentId' => $attachmentId);
780 $params = array_merge($params, $optParams);
781 return $this->call('delete', array($params));
782 }
783
784 /**
785 * Retrieves an attachment on a timeline item by item ID and attachment ID.
786 * (attachments.get)
787 *
788 * @param string $itemId The ID of the timeline item the attachment belongs to.
789 * @param string $attachmentId The ID of the attachment.
790 * @param array $optParams Optional parameters.
791 * @return Google_Service_Mirror_Attachment
792 */
793 public function get($itemId, $attachmentId, $optParams = array())
794 {
795 $params = array('itemId' => $itemId, 'attachmentId' => $attachmentId);
796 $params = array_merge($params, $optParams);
797 return $this->call('get', array($params), "Google_Service_Mirror_Attachment");
798 }
799
800 /**
801 * Adds a new attachment to a timeline item. (attachments.insert)
802 *
803 * @param string $itemId The ID of the timeline item the attachment belongs to.
804 * @param array $optParams Optional parameters.
805 * @return Google_Service_Mirror_Attachment
806 */
807 public function insert($itemId, $optParams = array())
808 {
809 $params = array('itemId' => $itemId);
810 $params = array_merge($params, $optParams);
811 return $this->call('insert', array($params), "Google_Service_Mirror_Attachment");
812 }
813
814 /**
815 * Returns a list of attachments for a timeline item.
816 * (attachments.listTimelineAttachments)
817 *
818 * @param string $itemId The ID of the timeline item whose attachments should be
819 * listed.
820 * @param array $optParams Optional parameters.
821 * @return Google_Service_Mirror_AttachmentsListResponse
822 */
823 public function listTimelineAttachments($itemId, $optParams = array())
824 {
825 $params = array('itemId' => $itemId);
826 $params = array_merge($params, $optParams);
827 return $this->call('list', array($params), "Google_Service_Mirror_AttachmentsListResponse");
828 }
829 }
830
831
832
833
834 class Google_Service_Mirror_Account extends Google_Collection
835 {
836 protected $collection_key = 'userData';
837 protected $internal_gapi_mappings = array(
838 );
839 protected $authTokensType = 'Google_Service_Mirror_AuthToken';
840 protected $authTokensDataType = 'array';
841 public $features;
842 public $password;
843 protected $userDataType = 'Google_Service_Mirror_UserData';
844 protected $userDataDataType = 'array';
845
846
847 public function setAuthTokens($authTokens)
848 {
849 $this->authTokens = $authTokens;
850 }
851 public function getAuthTokens()
852 {
853 return $this->authTokens;
854 }
855 public function setFeatures($features)
856 {
857 $this->features = $features;
858 }
859 public function getFeatures()
860 {
861 return $this->features;
862 }
863 public function setPassword($password)
864 {
865 $this->password = $password;
866 }
867 public function getPassword()
868 {
869 return $this->password;
870 }
871 public function setUserData($userData)
872 {
873 $this->userData = $userData;
874 }
875 public function getUserData()
876 {
877 return $this->userData;
878 }
879 }
880
881 class Google_Service_Mirror_Attachment extends Google_Model
882 {
883 protected $internal_gapi_mappings = array(
884 );
885 public $contentType;
886 public $contentUrl;
887 public $id;
888 public $isProcessingContent;
889
890
891 public function setContentType($contentType)
892 {
893 $this->contentType = $contentType;
894 }
895 public function getContentType()
896 {
897 return $this->contentType;
898 }
899 public function setContentUrl($contentUrl)
900 {
901 $this->contentUrl = $contentUrl;
902 }
903 public function getContentUrl()
904 {
905 return $this->contentUrl;
906 }
907 public function setId($id)
908 {
909 $this->id = $id;
910 }
911 public function getId()
912 {
913 return $this->id;
914 }
915 public function setIsProcessingContent($isProcessingContent)
916 {
917 $this->isProcessingContent = $isProcessingContent;
918 }
919 public function getIsProcessingContent()
920 {
921 return $this->isProcessingContent;
922 }
923 }
924
925 class Google_Service_Mirror_AttachmentsListResponse extends Google_Collection
926 {
927 protected $collection_key = 'items';
928 protected $internal_gapi_mappings = array(
929 );
930 protected $itemsType = 'Google_Service_Mirror_Attachment';
931 protected $itemsDataType = 'array';
932 public $kind;
933
934
935 public function setItems($items)
936 {
937 $this->items = $items;
938 }
939 public function getItems()
940 {
941 return $this->items;
942 }
943 public function setKind($kind)
944 {
945 $this->kind = $kind;
946 }
947 public function getKind()
948 {
949 return $this->kind;
950 }
951 }
952
953 class Google_Service_Mirror_AuthToken extends Google_Model
954 {
955 protected $internal_gapi_mappings = array(
956 );
957 public $authToken;
958 public $type;
959
960
961 public function setAuthToken($authToken)
962 {
963 $this->authToken = $authToken;
964 }
965 public function getAuthToken()
966 {
967 return $this->authToken;
968 }
969 public function setType($type)
970 {
971 $this->type = $type;
972 }
973 public function getType()
974 {
975 return $this->type;
976 }
977 }
978
979 class Google_Service_Mirror_Command extends Google_Model
980 {
981 protected $internal_gapi_mappings = array(
982 );
983 public $type;
984
985
986 public function setType($type)
987 {
988 $this->type = $type;
989 }
990 public function getType()
991 {
992 return $this->type;
993 }
994 }
995
996 class Google_Service_Mirror_Contact extends Google_Collection
997 {
998 protected $collection_key = 'sharingFeatures';
999 protected $internal_gapi_mappings = array(
1000 );
1001 protected $acceptCommandsType = 'Google_Service_Mirror_Command';
1002 protected $acceptCommandsDataType = 'array';
1003 public $acceptTypes;
1004 public $displayName;
1005 public $id;
1006 public $imageUrls;
1007 public $kind;
1008 public $phoneNumber;
1009 public $priority;
1010 public $sharingFeatures;
1011 public $source;
1012 public $speakableName;
1013 public $type;
1014
1015
1016 public function setAcceptCommands($acceptCommands)
1017 {
1018 $this->acceptCommands = $acceptCommands;
1019 }
1020 public function getAcceptCommands()
1021 {
1022 return $this->acceptCommands;
1023 }
1024 public function setAcceptTypes($acceptTypes)
1025 {
1026 $this->acceptTypes = $acceptTypes;
1027 }
1028 public function getAcceptTypes()
1029 {
1030 return $this->acceptTypes;
1031 }
1032 public function setDisplayName($displayName)
1033 {
1034 $this->displayName = $displayName;
1035 }
1036 public function getDisplayName()
1037 {
1038 return $this->displayName;
1039 }
1040 public function setId($id)
1041 {
1042 $this->id = $id;
1043 }
1044 public function getId()
1045 {
1046 return $this->id;
1047 }
1048 public function setImageUrls($imageUrls)
1049 {
1050 $this->imageUrls = $imageUrls;
1051 }
1052 public function getImageUrls()
1053 {
1054 return $this->imageUrls;
1055 }
1056 public function setKind($kind)
1057 {
1058 $this->kind = $kind;
1059 }
1060 public function getKind()
1061 {
1062 return $this->kind;
1063 }
1064 public function setPhoneNumber($phoneNumber)
1065 {
1066 $this->phoneNumber = $phoneNumber;
1067 }
1068 public function getPhoneNumber()
1069 {
1070 return $this->phoneNumber;
1071 }
1072 public function setPriority($priority)
1073 {
1074 $this->priority = $priority;
1075 }
1076 public function getPriority()
1077 {
1078 return $this->priority;
1079 }
1080 public function setSharingFeatures($sharingFeatures)
1081 {
1082 $this->sharingFeatures = $sharingFeatures;
1083 }
1084 public function getSharingFeatures()
1085 {
1086 return $this->sharingFeatures;
1087 }
1088 public function setSource($source)
1089 {
1090 $this->source = $source;
1091 }
1092 public function getSource()
1093 {
1094 return $this->source;
1095 }
1096 public function setSpeakableName($speakableName)
1097 {
1098 $this->speakableName = $speakableName;
1099 }
1100 public function getSpeakableName()
1101 {
1102 return $this->speakableName;
1103 }
1104 public function setType($type)
1105 {
1106 $this->type = $type;
1107 }
1108 public function getType()
1109 {
1110 return $this->type;
1111 }
1112 }
1113
1114 class Google_Service_Mirror_ContactsListResponse extends Google_Collection
1115 {
1116 protected $collection_key = 'items';
1117 protected $internal_gapi_mappings = array(
1118 );
1119 protected $itemsType = 'Google_Service_Mirror_Contact';
1120 protected $itemsDataType = 'array';
1121 public $kind;
1122
1123
1124 public function setItems($items)
1125 {
1126 $this->items = $items;
1127 }
1128 public function getItems()
1129 {
1130 return $this->items;
1131 }
1132 public function setKind($kind)
1133 {
1134 $this->kind = $kind;
1135 }
1136 public function getKind()
1137 {
1138 return $this->kind;
1139 }
1140 }
1141
1142 class Google_Service_Mirror_Location extends Google_Model
1143 {
1144 protected $internal_gapi_mappings = array(
1145 );
1146 public $accuracy;
1147 public $address;
1148 public $displayName;
1149 public $id;
1150 public $kind;
1151 public $latitude;
1152 public $longitude;
1153 public $timestamp;
1154
1155
1156 public function setAccuracy($accuracy)
1157 {
1158 $this->accuracy = $accuracy;
1159 }
1160 public function getAccuracy()
1161 {
1162 return $this->accuracy;
1163 }
1164 public function setAddress($address)
1165 {
1166 $this->address = $address;
1167 }
1168 public function getAddress()
1169 {
1170 return $this->address;
1171 }
1172 public function setDisplayName($displayName)
1173 {
1174 $this->displayName = $displayName;
1175 }
1176 public function getDisplayName()
1177 {
1178 return $this->displayName;
1179 }
1180 public function setId($id)
1181 {
1182 $this->id = $id;
1183 }
1184 public function getId()
1185 {
1186 return $this->id;
1187 }
1188 public function setKind($kind)
1189 {
1190 $this->kind = $kind;
1191 }
1192 public function getKind()
1193 {
1194 return $this->kind;
1195 }
1196 public function setLatitude($latitude)
1197 {
1198 $this->latitude = $latitude;
1199 }
1200 public function getLatitude()
1201 {
1202 return $this->latitude;
1203 }
1204 public function setLongitude($longitude)
1205 {
1206 $this->longitude = $longitude;
1207 }
1208 public function getLongitude()
1209 {
1210 return $this->longitude;
1211 }
1212 public function setTimestamp($timestamp)
1213 {
1214 $this->timestamp = $timestamp;
1215 }
1216 public function getTimestamp()
1217 {
1218 return $this->timestamp;
1219 }
1220 }
1221
1222 class Google_Service_Mirror_LocationsListResponse extends Google_Collection
1223 {
1224 protected $collection_key = 'items';
1225 protected $internal_gapi_mappings = array(
1226 );
1227 protected $itemsType = 'Google_Service_Mirror_Location';
1228 protected $itemsDataType = 'array';
1229 public $kind;
1230
1231
1232 public function setItems($items)
1233 {
1234 $this->items = $items;
1235 }
1236 public function getItems()
1237 {
1238 return $this->items;
1239 }
1240 public function setKind($kind)
1241 {
1242 $this->kind = $kind;
1243 }
1244 public function getKind()
1245 {
1246 return $this->kind;
1247 }
1248 }
1249
1250 class Google_Service_Mirror_MenuItem extends Google_Collection
1251 {
1252 protected $collection_key = 'values';
1253 protected $internal_gapi_mappings = array(
1254 "contextualCommand" => "contextual_command",
1255 );
1256 public $action;
1257 public $contextualCommand;
1258 public $id;
1259 public $payload;
1260 public $removeWhenSelected;
1261 protected $valuesType = 'Google_Service_Mirror_MenuValue';
1262 protected $valuesDataType = 'array';
1263
1264
1265 public function setAction($action)
1266 {
1267 $this->action = $action;
1268 }
1269 public function getAction()
1270 {
1271 return $this->action;
1272 }
1273 public function setContextualCommand($contextualCommand)
1274 {
1275 $this->contextualCommand = $contextualCommand;
1276 }
1277 public function getContextualCommand()
1278 {
1279 return $this->contextualCommand;
1280 }
1281 public function setId($id)
1282 {
1283 $this->id = $id;
1284 }
1285 public function getId()
1286 {
1287 return $this->id;
1288 }
1289 public function setPayload($payload)
1290 {
1291 $this->payload = $payload;
1292 }
1293 public function getPayload()
1294 {
1295 return $this->payload;
1296 }
1297 public function setRemoveWhenSelected($removeWhenSelected)
1298 {
1299 $this->removeWhenSelected = $removeWhenSelected;
1300 }
1301 public function getRemoveWhenSelected()
1302 {
1303 return $this->removeWhenSelected;
1304 }
1305 public function setValues($values)
1306 {
1307 $this->values = $values;
1308 }
1309 public function getValues()
1310 {
1311 return $this->values;
1312 }
1313 }
1314
1315 class Google_Service_Mirror_MenuValue extends Google_Model
1316 {
1317 protected $internal_gapi_mappings = array(
1318 );
1319 public $displayName;
1320 public $iconUrl;
1321 public $state;
1322
1323
1324 public function setDisplayName($displayName)
1325 {
1326 $this->displayName = $displayName;
1327 }
1328 public function getDisplayName()
1329 {
1330 return $this->displayName;
1331 }
1332 public function setIconUrl($iconUrl)
1333 {
1334 $this->iconUrl = $iconUrl;
1335 }
1336 public function getIconUrl()
1337 {
1338 return $this->iconUrl;
1339 }
1340 public function setState($state)
1341 {
1342 $this->state = $state;
1343 }
1344 public function getState()
1345 {
1346 return $this->state;
1347 }
1348 }
1349
1350 class Google_Service_Mirror_Notification extends Google_Collection
1351 {
1352 protected $collection_key = 'userActions';
1353 protected $internal_gapi_mappings = array(
1354 );
1355 public $collection;
1356 public $itemId;
1357 public $operation;
1358 protected $userActionsType = 'Google_Service_Mirror_UserAction';
1359 protected $userActionsDataType = 'array';
1360 public $userToken;
1361 public $verifyToken;
1362
1363
1364 public function setCollection($collection)
1365 {
1366 $this->collection = $collection;
1367 }
1368 public function getCollection()
1369 {
1370 return $this->collection;
1371 }
1372 public function setItemId($itemId)
1373 {
1374 $this->itemId = $itemId;
1375 }
1376 public function getItemId()
1377 {
1378 return $this->itemId;
1379 }
1380 public function setOperation($operation)
1381 {
1382 $this->operation = $operation;
1383 }
1384 public function getOperation()
1385 {
1386 return $this->operation;
1387 }
1388 public function setUserActions($userActions)
1389 {
1390 $this->userActions = $userActions;
1391 }
1392 public function getUserActions()
1393 {
1394 return $this->userActions;
1395 }
1396 public function setUserToken($userToken)
1397 {
1398 $this->userToken = $userToken;
1399 }
1400 public function getUserToken()
1401 {
1402 return $this->userToken;
1403 }
1404 public function setVerifyToken($verifyToken)
1405 {
1406 $this->verifyToken = $verifyToken;
1407 }
1408 public function getVerifyToken()
1409 {
1410 return $this->verifyToken;
1411 }
1412 }
1413
1414 class Google_Service_Mirror_NotificationConfig extends Google_Model
1415 {
1416 protected $internal_gapi_mappings = array(
1417 );
1418 public $deliveryTime;
1419 public $level;
1420
1421
1422 public function setDeliveryTime($deliveryTime)
1423 {
1424 $this->deliveryTime = $deliveryTime;
1425 }
1426 public function getDeliveryTime()
1427 {
1428 return $this->deliveryTime;
1429 }
1430 public function setLevel($level)
1431 {
1432 $this->level = $level;
1433 }
1434 public function getLevel()
1435 {
1436 return $this->level;
1437 }
1438 }
1439
1440 class Google_Service_Mirror_Setting extends Google_Model
1441 {
1442 protected $internal_gapi_mappings = array(
1443 );
1444 public $id;
1445 public $kind;
1446 public $value;
1447
1448
1449 public function setId($id)
1450 {
1451 $this->id = $id;
1452 }
1453 public function getId()
1454 {
1455 return $this->id;
1456 }
1457 public function setKind($kind)
1458 {
1459 $this->kind = $kind;
1460 }
1461 public function getKind()
1462 {
1463 return $this->kind;
1464 }
1465 public function setValue($value)
1466 {
1467 $this->value = $value;
1468 }
1469 public function getValue()
1470 {
1471 return $this->value;
1472 }
1473 }
1474
1475 class Google_Service_Mirror_Subscription extends Google_Collection
1476 {
1477 protected $collection_key = 'operation';
1478 protected $internal_gapi_mappings = array(
1479 );
1480 public $callbackUrl;
1481 public $collection;
1482 public $id;
1483 public $kind;
1484 protected $notificationType = 'Google_Service_Mirror_Notification';
1485 protected $notificationDataType = '';
1486 public $operation;
1487 public $updated;
1488 public $userToken;
1489 public $verifyToken;
1490
1491
1492 public function setCallbackUrl($callbackUrl)
1493 {
1494 $this->callbackUrl = $callbackUrl;
1495 }
1496 public function getCallbackUrl()
1497 {
1498 return $this->callbackUrl;
1499 }
1500 public function setCollection($collection)
1501 {
1502 $this->collection = $collection;
1503 }
1504 public function getCollection()
1505 {
1506 return $this->collection;
1507 }
1508 public function setId($id)
1509 {
1510 $this->id = $id;
1511 }
1512 public function getId()
1513 {
1514 return $this->id;
1515 }
1516 public function setKind($kind)
1517 {
1518 $this->kind = $kind;
1519 }
1520 public function getKind()
1521 {
1522 return $this->kind;
1523 }
1524 public function setNotification(Google_Service_Mirror_Notification $notification)
1525 {
1526 $this->notification = $notification;
1527 }
1528 public function getNotification()
1529 {
1530 return $this->notification;
1531 }
1532 public function setOperation($operation)
1533 {
1534 $this->operation = $operation;
1535 }
1536 public function getOperation()
1537 {
1538 return $this->operation;
1539 }
1540 public function setUpdated($updated)
1541 {
1542 $this->updated = $updated;
1543 }
1544 public function getUpdated()
1545 {
1546 return $this->updated;
1547 }
1548 public function setUserToken($userToken)
1549 {
1550 $this->userToken = $userToken;
1551 }
1552 public function getUserToken()
1553 {
1554 return $this->userToken;
1555 }
1556 public function setVerifyToken($verifyToken)
1557 {
1558 $this->verifyToken = $verifyToken;
1559 }
1560 public function getVerifyToken()
1561 {
1562 return $this->verifyToken;
1563 }
1564 }
1565
1566 class Google_Service_Mirror_SubscriptionsListResponse extends Google_Collection
1567 {
1568 protected $collection_key = 'items';
1569 protected $internal_gapi_mappings = array(
1570 );
1571 protected $itemsType = 'Google_Service_Mirror_Subscription';
1572 protected $itemsDataType = 'array';
1573 public $kind;
1574
1575
1576 public function setItems($items)
1577 {
1578 $this->items = $items;
1579 }
1580 public function getItems()
1581 {
1582 return $this->items;
1583 }
1584 public function setKind($kind)
1585 {
1586 $this->kind = $kind;
1587 }
1588 public function getKind()
1589 {
1590 return $this->kind;
1591 }
1592 }
1593
1594 class Google_Service_Mirror_TimelineItem extends Google_Collection
1595 {
1596 protected $collection_key = 'recipients';
1597 protected $internal_gapi_mappings = array(
1598 );
1599 protected $attachmentsType = 'Google_Service_Mirror_Attachment';
1600 protected $attachmentsDataType = 'array';
1601 public $bundleId;
1602 public $canonicalUrl;
1603 public $created;
1604 protected $creatorType = 'Google_Service_Mirror_Contact';
1605 protected $creatorDataType = '';
1606 public $displayTime;
1607 public $etag;
1608 public $html;
1609 public $id;
1610 public $inReplyTo;
1611 public $isBundleCover;
1612 public $isDeleted;
1613 public $isPinned;
1614 public $kind;
1615 protected $locationType = 'Google_Service_Mirror_Location';
1616 protected $locationDataType = '';
1617 protected $menuItemsType = 'Google_Service_Mirror_MenuItem';
1618 protected $menuItemsDataType = 'array';
1619 protected $notificationType = 'Google_Service_Mirror_NotificationConfig';
1620 protected $notificationDataType = '';
1621 public $pinScore;
1622 protected $recipientsType = 'Google_Service_Mirror_Contact';
1623 protected $recipientsDataType = 'array';
1624 public $selfLink;
1625 public $sourceItemId;
1626 public $speakableText;
1627 public $speakableType;
1628 public $text;
1629 public $title;
1630 public $updated;
1631
1632
1633 public function setAttachments($attachments)
1634 {
1635 $this->attachments = $attachments;
1636 }
1637 public function getAttachments()
1638 {
1639 return $this->attachments;
1640 }
1641 public function setBundleId($bundleId)
1642 {
1643 $this->bundleId = $bundleId;
1644 }
1645 public function getBundleId()
1646 {
1647 return $this->bundleId;
1648 }
1649 public function setCanonicalUrl($canonicalUrl)
1650 {
1651 $this->canonicalUrl = $canonicalUrl;
1652 }
1653 public function getCanonicalUrl()
1654 {
1655 return $this->canonicalUrl;
1656 }
1657 public function setCreated($created)
1658 {
1659 $this->created = $created;
1660 }
1661 public function getCreated()
1662 {
1663 return $this->created;
1664 }
1665 public function setCreator(Google_Service_Mirror_Contact $creator)
1666 {
1667 $this->creator = $creator;
1668 }
1669 public function getCreator()
1670 {
1671 return $this->creator;
1672 }
1673 public function setDisplayTime($displayTime)
1674 {
1675 $this->displayTime = $displayTime;
1676 }
1677 public function getDisplayTime()
1678 {
1679 return $this->displayTime;
1680 }
1681 public function setEtag($etag)
1682 {
1683 $this->etag = $etag;
1684 }
1685 public function getEtag()
1686 {
1687 return $this->etag;
1688 }
1689 public function setHtml($html)
1690 {
1691 $this->html = $html;
1692 }
1693 public function getHtml()
1694 {
1695 return $this->html;
1696 }
1697 public function setId($id)
1698 {
1699 $this->id = $id;
1700 }
1701 public function getId()
1702 {
1703 return $this->id;
1704 }
1705 public function setInReplyTo($inReplyTo)
1706 {
1707 $this->inReplyTo = $inReplyTo;
1708 }
1709 public function getInReplyTo()
1710 {
1711 return $this->inReplyTo;
1712 }
1713 public function setIsBundleCover($isBundleCover)
1714 {
1715 $this->isBundleCover = $isBundleCover;
1716 }
1717 public function getIsBundleCover()
1718 {
1719 return $this->isBundleCover;
1720 }
1721 public function setIsDeleted($isDeleted)
1722 {
1723 $this->isDeleted = $isDeleted;
1724 }
1725 public function getIsDeleted()
1726 {
1727 return $this->isDeleted;
1728 }
1729 public function setIsPinned($isPinned)
1730 {
1731 $this->isPinned = $isPinned;
1732 }
1733 public function getIsPinned()
1734 {
1735 return $this->isPinned;
1736 }
1737 public function setKind($kind)
1738 {
1739 $this->kind = $kind;
1740 }
1741 public function getKind()
1742 {
1743 return $this->kind;
1744 }
1745 public function setLocation(Google_Service_Mirror_Location $location)
1746 {
1747 $this->location = $location;
1748 }
1749 public function getLocation()
1750 {
1751 return $this->location;
1752 }
1753 public function setMenuItems($menuItems)
1754 {
1755 $this->menuItems = $menuItems;
1756 }
1757 public function getMenuItems()
1758 {
1759 return $this->menuItems;
1760 }
1761 public function setNotification(Google_Service_Mirror_NotificationConfig $notification)
1762 {
1763 $this->notification = $notification;
1764 }
1765 public function getNotification()
1766 {
1767 return $this->notification;
1768 }
1769 public function setPinScore($pinScore)
1770 {
1771 $this->pinScore = $pinScore;
1772 }
1773 public function getPinScore()
1774 {
1775 return $this->pinScore;
1776 }
1777 public function setRecipients($recipients)
1778 {
1779 $this->recipients = $recipients;
1780 }
1781 public function getRecipients()
1782 {
1783 return $this->recipients;
1784 }
1785 public function setSelfLink($selfLink)
1786 {
1787 $this->selfLink = $selfLink;
1788 }
1789 public function getSelfLink()
1790 {
1791 return $this->selfLink;
1792 }
1793 public function setSourceItemId($sourceItemId)
1794 {
1795 $this->sourceItemId = $sourceItemId;
1796 }
1797 public function getSourceItemId()
1798 {
1799 return $this->sourceItemId;
1800 }
1801 public function setSpeakableText($speakableText)
1802 {
1803 $this->speakableText = $speakableText;
1804 }
1805 public function getSpeakableText()
1806 {
1807 return $this->speakableText;
1808 }
1809 public function setSpeakableType($speakableType)
1810 {
1811 $this->speakableType = $speakableType;
1812 }
1813 public function getSpeakableType()
1814 {
1815 return $this->speakableType;
1816 }
1817 public function setText($text)
1818 {
1819 $this->text = $text;
1820 }
1821 public function getText()
1822 {
1823 return $this->text;
1824 }
1825 public function setTitle($title)
1826 {
1827 $this->title = $title;
1828 }
1829 public function getTitle()
1830 {
1831 return $this->title;
1832 }
1833 public function setUpdated($updated)
1834 {
1835 $this->updated = $updated;
1836 }
1837 public function getUpdated()
1838 {
1839 return $this->updated;
1840 }
1841 }
1842
1843 class Google_Service_Mirror_TimelineListResponse extends Google_Collection
1844 {
1845 protected $collection_key = 'items';
1846 protected $internal_gapi_mappings = array(
1847 );
1848 protected $itemsType = 'Google_Service_Mirror_TimelineItem';
1849 protected $itemsDataType = 'array';
1850 public $kind;
1851 public $nextPageToken;
1852
1853
1854 public function setItems($items)
1855 {
1856 $this->items = $items;
1857 }
1858 public function getItems()
1859 {
1860 return $this->items;
1861 }
1862 public function setKind($kind)
1863 {
1864 $this->kind = $kind;
1865 }
1866 public function getKind()
1867 {
1868 return $this->kind;
1869 }
1870 public function setNextPageToken($nextPageToken)
1871 {
1872 $this->nextPageToken = $nextPageToken;
1873 }
1874 public function getNextPageToken()
1875 {
1876 return $this->nextPageToken;
1877 }
1878 }
1879
1880 class Google_Service_Mirror_UserAction extends Google_Model
1881 {
1882 protected $internal_gapi_mappings = array(
1883 );
1884 public $payload;
1885 public $type;
1886
1887
1888 public function setPayload($payload)
1889 {
1890 $this->payload = $payload;
1891 }
1892 public function getPayload()
1893 {
1894 return $this->payload;
1895 }
1896 public function setType($type)
1897 {
1898 $this->type = $type;
1899 }
1900 public function getType()
1901 {
1902 return $this->type;
1903 }
1904 }
1905
1906 class Google_Service_Mirror_UserData extends Google_Model
1907 {
1908 protected $internal_gapi_mappings = array(
1909 );
1910 public $key;
1911 public $value;
1912
1913
1914 public function setKey($key)
1915 {
1916 $this->key = $key;
1917 }
1918 public function getKey()
1919 {
1920 return $this->key;
1921 }
1922 public function setValue($value)
1923 {
1924 $this->value = $value;
1925 }
1926 public function getValue()
1927 {
1928 return $this->value;
1929 }
1930 }
1931