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 / Tasks.php

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

907 lines 25.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 Tasks (v1).
18 *
19 * <p>
20 * Lets you manage your tasks and task lists.</p>
21 *
22 * <p>
23 * For more information about this service, see the API
24 * <a href="https://developers.google.com/google-apps/tasks/firstapp" target="_blank">Documentation</a>
25 * </p>
26 *
27 * @author Google, Inc.
28 */
29 class Google_Service_Tasks extends Google_Service
30 {
31 /** Manage your tasks. */
32 const TASKS =
33 "https://www.googleapis.com/auth/tasks";
34 /** View your tasks. */
35 const TASKS_READONLY =
36 "https://www.googleapis.com/auth/tasks.readonly";
37
38 public $tasklists;
39 public $tasks;
40
41
42 /**
43 * Constructs the internal representation of the Tasks service.
44 *
45 * @param Google_Client $client
46 */
47 public function __construct(Google_Client $client)
48 {
49 parent::__construct($client);
50 $this->rootUrl = 'https://www.googleapis.com/';
51 $this->servicePath = 'tasks/v1/';
52 $this->version = 'v1';
53 $this->serviceName = 'tasks';
54
55 $this->tasklists = new Google_Service_Tasks_Tasklists_Resource(
56 $this,
57 $this->serviceName,
58 'tasklists',
59 array(
60 'methods' => array(
61 'delete' => array(
62 'path' => 'users/@me/lists/{tasklist}',
63 'httpMethod' => 'DELETE',
64 'parameters' => array(
65 'tasklist' => array(
66 'location' => 'path',
67 'type' => 'string',
68 'required' => true,
69 ),
70 ),
71 ),'get' => array(
72 'path' => 'users/@me/lists/{tasklist}',
73 'httpMethod' => 'GET',
74 'parameters' => array(
75 'tasklist' => array(
76 'location' => 'path',
77 'type' => 'string',
78 'required' => true,
79 ),
80 ),
81 ),'insert' => array(
82 'path' => 'users/@me/lists',
83 'httpMethod' => 'POST',
84 'parameters' => array(),
85 ),'list' => array(
86 'path' => 'users/@me/lists',
87 'httpMethod' => 'GET',
88 'parameters' => array(
89 'maxResults' => array(
90 'location' => 'query',
91 'type' => 'string',
92 ),
93 'pageToken' => array(
94 'location' => 'query',
95 'type' => 'string',
96 ),
97 ),
98 ),'patch' => array(
99 'path' => 'users/@me/lists/{tasklist}',
100 'httpMethod' => 'PATCH',
101 'parameters' => array(
102 'tasklist' => array(
103 'location' => 'path',
104 'type' => 'string',
105 'required' => true,
106 ),
107 ),
108 ),'update' => array(
109 'path' => 'users/@me/lists/{tasklist}',
110 'httpMethod' => 'PUT',
111 'parameters' => array(
112 'tasklist' => array(
113 'location' => 'path',
114 'type' => 'string',
115 'required' => true,
116 ),
117 ),
118 ),
119 )
120 )
121 );
122 $this->tasks = new Google_Service_Tasks_Tasks_Resource(
123 $this,
124 $this->serviceName,
125 'tasks',
126 array(
127 'methods' => array(
128 'clear' => array(
129 'path' => 'lists/{tasklist}/clear',
130 'httpMethod' => 'POST',
131 'parameters' => array(
132 'tasklist' => array(
133 'location' => 'path',
134 'type' => 'string',
135 'required' => true,
136 ),
137 ),
138 ),'delete' => array(
139 'path' => 'lists/{tasklist}/tasks/{task}',
140 'httpMethod' => 'DELETE',
141 'parameters' => array(
142 'tasklist' => array(
143 'location' => 'path',
144 'type' => 'string',
145 'required' => true,
146 ),
147 'task' => array(
148 'location' => 'path',
149 'type' => 'string',
150 'required' => true,
151 ),
152 ),
153 ),'get' => array(
154 'path' => 'lists/{tasklist}/tasks/{task}',
155 'httpMethod' => 'GET',
156 'parameters' => array(
157 'tasklist' => array(
158 'location' => 'path',
159 'type' => 'string',
160 'required' => true,
161 ),
162 'task' => array(
163 'location' => 'path',
164 'type' => 'string',
165 'required' => true,
166 ),
167 ),
168 ),'insert' => array(
169 'path' => 'lists/{tasklist}/tasks',
170 'httpMethod' => 'POST',
171 'parameters' => array(
172 'tasklist' => array(
173 'location' => 'path',
174 'type' => 'string',
175 'required' => true,
176 ),
177 'parent' => array(
178 'location' => 'query',
179 'type' => 'string',
180 ),
181 'previous' => array(
182 'location' => 'query',
183 'type' => 'string',
184 ),
185 ),
186 ),'list' => array(
187 'path' => 'lists/{tasklist}/tasks',
188 'httpMethod' => 'GET',
189 'parameters' => array(
190 'tasklist' => array(
191 'location' => 'path',
192 'type' => 'string',
193 'required' => true,
194 ),
195 'completedMax' => array(
196 'location' => 'query',
197 'type' => 'string',
198 ),
199 'completedMin' => array(
200 'location' => 'query',
201 'type' => 'string',
202 ),
203 'dueMax' => array(
204 'location' => 'query',
205 'type' => 'string',
206 ),
207 'dueMin' => array(
208 'location' => 'query',
209 'type' => 'string',
210 ),
211 'maxResults' => array(
212 'location' => 'query',
213 'type' => 'string',
214 ),
215 'pageToken' => array(
216 'location' => 'query',
217 'type' => 'string',
218 ),
219 'showCompleted' => array(
220 'location' => 'query',
221 'type' => 'boolean',
222 ),
223 'showDeleted' => array(
224 'location' => 'query',
225 'type' => 'boolean',
226 ),
227 'showHidden' => array(
228 'location' => 'query',
229 'type' => 'boolean',
230 ),
231 'updatedMin' => array(
232 'location' => 'query',
233 'type' => 'string',
234 ),
235 ),
236 ),'move' => array(
237 'path' => 'lists/{tasklist}/tasks/{task}/move',
238 'httpMethod' => 'POST',
239 'parameters' => array(
240 'tasklist' => array(
241 'location' => 'path',
242 'type' => 'string',
243 'required' => true,
244 ),
245 'task' => array(
246 'location' => 'path',
247 'type' => 'string',
248 'required' => true,
249 ),
250 'parent' => array(
251 'location' => 'query',
252 'type' => 'string',
253 ),
254 'previous' => array(
255 'location' => 'query',
256 'type' => 'string',
257 ),
258 ),
259 ),'patch' => array(
260 'path' => 'lists/{tasklist}/tasks/{task}',
261 'httpMethod' => 'PATCH',
262 'parameters' => array(
263 'tasklist' => array(
264 'location' => 'path',
265 'type' => 'string',
266 'required' => true,
267 ),
268 'task' => array(
269 'location' => 'path',
270 'type' => 'string',
271 'required' => true,
272 ),
273 ),
274 ),'update' => array(
275 'path' => 'lists/{tasklist}/tasks/{task}',
276 'httpMethod' => 'PUT',
277 'parameters' => array(
278 'tasklist' => array(
279 'location' => 'path',
280 'type' => 'string',
281 'required' => true,
282 ),
283 'task' => array(
284 'location' => 'path',
285 'type' => 'string',
286 'required' => true,
287 ),
288 ),
289 ),
290 )
291 )
292 );
293 }
294 }
295
296
297 /**
298 * The "tasklists" collection of methods.
299 * Typical usage is:
300 * <code>
301 * $tasksService = new Google_Service_Tasks(...);
302 * $tasklists = $tasksService->tasklists;
303 * </code>
304 */
305 class Google_Service_Tasks_Tasklists_Resource extends Google_Service_Resource
306 {
307
308 /**
309 * Deletes the authenticated user's specified task list. (tasklists.delete)
310 *
311 * @param string $tasklist Task list identifier.
312 * @param array $optParams Optional parameters.
313 */
314 public function delete($tasklist, $optParams = array())
315 {
316 $params = array('tasklist' => $tasklist);
317 $params = array_merge($params, $optParams);
318 return $this->call('delete', array($params));
319 }
320
321 /**
322 * Returns the authenticated user's specified task list. (tasklists.get)
323 *
324 * @param string $tasklist Task list identifier.
325 * @param array $optParams Optional parameters.
326 * @return Google_Service_Tasks_TaskList
327 */
328 public function get($tasklist, $optParams = array())
329 {
330 $params = array('tasklist' => $tasklist);
331 $params = array_merge($params, $optParams);
332 return $this->call('get', array($params), "Google_Service_Tasks_TaskList");
333 }
334
335 /**
336 * Creates a new task list and adds it to the authenticated user's task lists.
337 * (tasklists.insert)
338 *
339 * @param Google_TaskList $postBody
340 * @param array $optParams Optional parameters.
341 * @return Google_Service_Tasks_TaskList
342 */
343 public function insert(Google_Service_Tasks_TaskList $postBody, $optParams = array())
344 {
345 $params = array('postBody' => $postBody);
346 $params = array_merge($params, $optParams);
347 return $this->call('insert', array($params), "Google_Service_Tasks_TaskList");
348 }
349
350 /**
351 * Returns all the authenticated user's task lists. (tasklists.listTasklists)
352 *
353 * @param array $optParams Optional parameters.
354 *
355 * @opt_param string maxResults Maximum number of task lists returned on one
356 * page. Optional. The default is 100.
357 * @opt_param string pageToken Token specifying the result page to return.
358 * Optional.
359 * @return Google_Service_Tasks_TaskLists
360 */
361 public function listTasklists($optParams = array())
362 {
363 $params = array();
364 $params = array_merge($params, $optParams);
365 return $this->call('list', array($params), "Google_Service_Tasks_TaskLists");
366 }
367
368 /**
369 * Updates the authenticated user's specified task list. This method supports
370 * patch semantics. (tasklists.patch)
371 *
372 * @param string $tasklist Task list identifier.
373 * @param Google_TaskList $postBody
374 * @param array $optParams Optional parameters.
375 * @return Google_Service_Tasks_TaskList
376 */
377 public function patch($tasklist, Google_Service_Tasks_TaskList $postBody, $optParams = array())
378 {
379 $params = array('tasklist' => $tasklist, 'postBody' => $postBody);
380 $params = array_merge($params, $optParams);
381 return $this->call('patch', array($params), "Google_Service_Tasks_TaskList");
382 }
383
384 /**
385 * Updates the authenticated user's specified task list. (tasklists.update)
386 *
387 * @param string $tasklist Task list identifier.
388 * @param Google_TaskList $postBody
389 * @param array $optParams Optional parameters.
390 * @return Google_Service_Tasks_TaskList
391 */
392 public function update($tasklist, Google_Service_Tasks_TaskList $postBody, $optParams = array())
393 {
394 $params = array('tasklist' => $tasklist, 'postBody' => $postBody);
395 $params = array_merge($params, $optParams);
396 return $this->call('update', array($params), "Google_Service_Tasks_TaskList");
397 }
398 }
399
400 /**
401 * The "tasks" collection of methods.
402 * Typical usage is:
403 * <code>
404 * $tasksService = new Google_Service_Tasks(...);
405 * $tasks = $tasksService->tasks;
406 * </code>
407 */
408 class Google_Service_Tasks_Tasks_Resource extends Google_Service_Resource
409 {
410
411 /**
412 * Clears all completed tasks from the specified task list. The affected tasks
413 * will be marked as 'hidden' and no longer be returned by default when
414 * retrieving all tasks for a task list. (tasks.clear)
415 *
416 * @param string $tasklist Task list identifier.
417 * @param array $optParams Optional parameters.
418 */
419 public function clear($tasklist, $optParams = array())
420 {
421 $params = array('tasklist' => $tasklist);
422 $params = array_merge($params, $optParams);
423 return $this->call('clear', array($params));
424 }
425
426 /**
427 * Deletes the specified task from the task list. (tasks.delete)
428 *
429 * @param string $tasklist Task list identifier.
430 * @param string $task Task identifier.
431 * @param array $optParams Optional parameters.
432 */
433 public function delete($tasklist, $task, $optParams = array())
434 {
435 $params = array('tasklist' => $tasklist, 'task' => $task);
436 $params = array_merge($params, $optParams);
437 return $this->call('delete', array($params));
438 }
439
440 /**
441 * Returns the specified task. (tasks.get)
442 *
443 * @param string $tasklist Task list identifier.
444 * @param string $task Task identifier.
445 * @param array $optParams Optional parameters.
446 * @return Google_Service_Tasks_Task
447 */
448 public function get($tasklist, $task, $optParams = array())
449 {
450 $params = array('tasklist' => $tasklist, 'task' => $task);
451 $params = array_merge($params, $optParams);
452 return $this->call('get', array($params), "Google_Service_Tasks_Task");
453 }
454
455 /**
456 * Creates a new task on the specified task list. (tasks.insert)
457 *
458 * @param string $tasklist Task list identifier.
459 * @param Google_Task $postBody
460 * @param array $optParams Optional parameters.
461 *
462 * @opt_param string parent Parent task identifier. If the task is created at
463 * the top level, this parameter is omitted. Optional.
464 * @opt_param string previous Previous sibling task identifier. If the task is
465 * created at the first position among its siblings, this parameter is omitted.
466 * Optional.
467 * @return Google_Service_Tasks_Task
468 */
469 public function insert($tasklist, Google_Service_Tasks_Task $postBody, $optParams = array())
470 {
471 $params = array('tasklist' => $tasklist, 'postBody' => $postBody);
472 $params = array_merge($params, $optParams);
473 return $this->call('insert', array($params), "Google_Service_Tasks_Task");
474 }
475
476 /**
477 * Returns all tasks in the specified task list. (tasks.listTasks)
478 *
479 * @param string $tasklist Task list identifier.
480 * @param array $optParams Optional parameters.
481 *
482 * @opt_param string completedMax Upper bound for a task's completion date (as a
483 * RFC 3339 timestamp) to filter by. Optional. The default is not to filter by
484 * completion date.
485 * @opt_param string completedMin Lower bound for a task's completion date (as a
486 * RFC 3339 timestamp) to filter by. Optional. The default is not to filter by
487 * completion date.
488 * @opt_param string dueMax Upper bound for a task's due date (as a RFC 3339
489 * timestamp) to filter by. Optional. The default is not to filter by due date.
490 * @opt_param string dueMin Lower bound for a task's due date (as a RFC 3339
491 * timestamp) to filter by. Optional. The default is not to filter by due date.
492 * @opt_param string maxResults Maximum number of task lists returned on one
493 * page. Optional. The default is 100.
494 * @opt_param string pageToken Token specifying the result page to return.
495 * Optional.
496 * @opt_param bool showCompleted Flag indicating whether completed tasks are
497 * returned in the result. Optional. The default is True.
498 * @opt_param bool showDeleted Flag indicating whether deleted tasks are
499 * returned in the result. Optional. The default is False.
500 * @opt_param bool showHidden Flag indicating whether hidden tasks are returned
501 * in the result. Optional. The default is False.
502 * @opt_param string updatedMin Lower bound for a task's last modification time
503 * (as a RFC 3339 timestamp) to filter by. Optional. The default is not to
504 * filter by last modification time.
505 * @return Google_Service_Tasks_Tasks
506 */
507 public function listTasks($tasklist, $optParams = array())
508 {
509 $params = array('tasklist' => $tasklist);
510 $params = array_merge($params, $optParams);
511 return $this->call('list', array($params), "Google_Service_Tasks_Tasks");
512 }
513
514 /**
515 * Moves the specified task to another position in the task list. This can
516 * include putting it as a child task under a new parent and/or move it to a
517 * different position among its sibling tasks. (tasks.move)
518 *
519 * @param string $tasklist Task list identifier.
520 * @param string $task Task identifier.
521 * @param array $optParams Optional parameters.
522 *
523 * @opt_param string parent New parent task identifier. If the task is moved to
524 * the top level, this parameter is omitted. Optional.
525 * @opt_param string previous New previous sibling task identifier. If the task
526 * is moved to the first position among its siblings, this parameter is omitted.
527 * Optional.
528 * @return Google_Service_Tasks_Task
529 */
530 public function move($tasklist, $task, $optParams = array())
531 {
532 $params = array('tasklist' => $tasklist, 'task' => $task);
533 $params = array_merge($params, $optParams);
534 return $this->call('move', array($params), "Google_Service_Tasks_Task");
535 }
536
537 /**
538 * Updates the specified task. This method supports patch semantics.
539 * (tasks.patch)
540 *
541 * @param string $tasklist Task list identifier.
542 * @param string $task Task identifier.
543 * @param Google_Task $postBody
544 * @param array $optParams Optional parameters.
545 * @return Google_Service_Tasks_Task
546 */
547 public function patch($tasklist, $task, Google_Service_Tasks_Task $postBody, $optParams = array())
548 {
549 $params = array('tasklist' => $tasklist, 'task' => $task, 'postBody' => $postBody);
550 $params = array_merge($params, $optParams);
551 return $this->call('patch', array($params), "Google_Service_Tasks_Task");
552 }
553
554 /**
555 * Updates the specified task. (tasks.update)
556 *
557 * @param string $tasklist Task list identifier.
558 * @param string $task Task identifier.
559 * @param Google_Task $postBody
560 * @param array $optParams Optional parameters.
561 * @return Google_Service_Tasks_Task
562 */
563 public function update($tasklist, $task, Google_Service_Tasks_Task $postBody, $optParams = array())
564 {
565 $params = array('tasklist' => $tasklist, 'task' => $task, 'postBody' => $postBody);
566 $params = array_merge($params, $optParams);
567 return $this->call('update', array($params), "Google_Service_Tasks_Task");
568 }
569 }
570
571
572
573
574 class Google_Service_Tasks_Task extends Google_Collection
575 {
576 protected $collection_key = 'links';
577 protected $internal_gapi_mappings = array(
578 );
579 public $completed;
580 public $deleted;
581 public $due;
582 public $etag;
583 public $hidden;
584 public $id;
585 public $kind;
586 protected $linksType = 'Google_Service_Tasks_TaskLinks';
587 protected $linksDataType = 'array';
588 public $notes;
589 public $parent;
590 public $position;
591 public $selfLink;
592 public $status;
593 public $title;
594 public $updated;
595
596
597 public function setCompleted($completed)
598 {
599 $this->completed = $completed;
600 }
601 public function getCompleted()
602 {
603 return $this->completed;
604 }
605 public function setDeleted($deleted)
606 {
607 $this->deleted = $deleted;
608 }
609 public function getDeleted()
610 {
611 return $this->deleted;
612 }
613 public function setDue($due)
614 {
615 $this->due = $due;
616 }
617 public function getDue()
618 {
619 return $this->due;
620 }
621 public function setEtag($etag)
622 {
623 $this->etag = $etag;
624 }
625 public function getEtag()
626 {
627 return $this->etag;
628 }
629 public function setHidden($hidden)
630 {
631 $this->hidden = $hidden;
632 }
633 public function getHidden()
634 {
635 return $this->hidden;
636 }
637 public function setId($id)
638 {
639 $this->id = $id;
640 }
641 public function getId()
642 {
643 return $this->id;
644 }
645 public function setKind($kind)
646 {
647 $this->kind = $kind;
648 }
649 public function getKind()
650 {
651 return $this->kind;
652 }
653 public function setLinks($links)
654 {
655 $this->links = $links;
656 }
657 public function getLinks()
658 {
659 return $this->links;
660 }
661 public function setNotes($notes)
662 {
663 $this->notes = $notes;
664 }
665 public function getNotes()
666 {
667 return $this->notes;
668 }
669 public function setParent($parent)
670 {
671 $this->parent = $parent;
672 }
673 public function getParent()
674 {
675 return $this->parent;
676 }
677 public function setPosition($position)
678 {
679 $this->position = $position;
680 }
681 public function getPosition()
682 {
683 return $this->position;
684 }
685 public function setSelfLink($selfLink)
686 {
687 $this->selfLink = $selfLink;
688 }
689 public function getSelfLink()
690 {
691 return $this->selfLink;
692 }
693 public function setStatus($status)
694 {
695 $this->status = $status;
696 }
697 public function getStatus()
698 {
699 return $this->status;
700 }
701 public function setTitle($title)
702 {
703 $this->title = $title;
704 }
705 public function getTitle()
706 {
707 return $this->title;
708 }
709 public function setUpdated($updated)
710 {
711 $this->updated = $updated;
712 }
713 public function getUpdated()
714 {
715 return $this->updated;
716 }
717 }
718
719 class Google_Service_Tasks_TaskLinks extends Google_Model
720 {
721 protected $internal_gapi_mappings = array(
722 );
723 public $description;
724 public $link;
725 public $type;
726
727
728 public function setDescription($description)
729 {
730 $this->description = $description;
731 }
732 public function getDescription()
733 {
734 return $this->description;
735 }
736 public function setLink($link)
737 {
738 $this->link = $link;
739 }
740 public function getLink()
741 {
742 return $this->link;
743 }
744 public function setType($type)
745 {
746 $this->type = $type;
747 }
748 public function getType()
749 {
750 return $this->type;
751 }
752 }
753
754 class Google_Service_Tasks_TaskList extends Google_Model
755 {
756 protected $internal_gapi_mappings = array(
757 );
758 public $etag;
759 public $id;
760 public $kind;
761 public $selfLink;
762 public $title;
763 public $updated;
764
765
766 public function setEtag($etag)
767 {
768 $this->etag = $etag;
769 }
770 public function getEtag()
771 {
772 return $this->etag;
773 }
774 public function setId($id)
775 {
776 $this->id = $id;
777 }
778 public function getId()
779 {
780 return $this->id;
781 }
782 public function setKind($kind)
783 {
784 $this->kind = $kind;
785 }
786 public function getKind()
787 {
788 return $this->kind;
789 }
790 public function setSelfLink($selfLink)
791 {
792 $this->selfLink = $selfLink;
793 }
794 public function getSelfLink()
795 {
796 return $this->selfLink;
797 }
798 public function setTitle($title)
799 {
800 $this->title = $title;
801 }
802 public function getTitle()
803 {
804 return $this->title;
805 }
806 public function setUpdated($updated)
807 {
808 $this->updated = $updated;
809 }
810 public function getUpdated()
811 {
812 return $this->updated;
813 }
814 }
815
816 class Google_Service_Tasks_TaskLists extends Google_Collection
817 {
818 protected $collection_key = 'items';
819 protected $internal_gapi_mappings = array(
820 );
821 public $etag;
822 protected $itemsType = 'Google_Service_Tasks_TaskList';
823 protected $itemsDataType = 'array';
824 public $kind;
825 public $nextPageToken;
826
827
828 public function setEtag($etag)
829 {
830 $this->etag = $etag;
831 }
832 public function getEtag()
833 {
834 return $this->etag;
835 }
836 public function setItems($items)
837 {
838 $this->items = $items;
839 }
840 public function getItems()
841 {
842 return $this->items;
843 }
844 public function setKind($kind)
845 {
846 $this->kind = $kind;
847 }
848 public function getKind()
849 {
850 return $this->kind;
851 }
852 public function setNextPageToken($nextPageToken)
853 {
854 $this->nextPageToken = $nextPageToken;
855 }
856 public function getNextPageToken()
857 {
858 return $this->nextPageToken;
859 }
860 }
861
862 class Google_Service_Tasks_Tasks extends Google_Collection
863 {
864 protected $collection_key = 'items';
865 protected $internal_gapi_mappings = array(
866 );
867 public $etag;
868 protected $itemsType = 'Google_Service_Tasks_Task';
869 protected $itemsDataType = 'array';
870 public $kind;
871 public $nextPageToken;
872
873
874 public function setEtag($etag)
875 {
876 $this->etag = $etag;
877 }
878 public function getEtag()
879 {
880 return $this->etag;
881 }
882 public function setItems($items)
883 {
884 $this->items = $items;
885 }
886 public function getItems()
887 {
888 return $this->items;
889 }
890 public function setKind($kind)
891 {
892 $this->kind = $kind;
893 }
894 public function getKind()
895 {
896 return $this->kind;
897 }
898 public function setNextPageToken($nextPageToken)
899 {
900 $this->nextPageToken = $nextPageToken;
901 }
902 public function getNextPageToken()
903 {
904 return $this->nextPageToken;
905 }
906 }
907