[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> Tasks.php (source)

   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 Tasks (v1).
  20   *
  21   * <p>
  22   * Lets you manage your tasks and task lists.
  23   * </p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://developers.google.com/google-apps/tasks/firstapp" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_Tasks extends Google_Service
  33  {
  34    /** Manage your tasks. */
  35    const TASKS = "https://www.googleapis.com/auth/tasks";
  36    /** View your tasks. */
  37    const TASKS_READONLY = "https://www.googleapis.com/auth/tasks.readonly";
  38  
  39    public $tasklists;
  40    public $tasks;
  41    
  42  
  43    /**
  44     * Constructs the internal representation of the Tasks service.
  45     *
  46     * @param Google_Client $client
  47     */
  48    public function __construct(Google_Client $client)
  49    {
  50      parent::__construct($client);
  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                  'pageToken' => array(
  90                    'location' => 'query',
  91                    'type' => 'string',
  92                  ),
  93                  'maxResults' => 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                  'dueMax' => array(
 196                    'location' => 'query',
 197                    'type' => 'string',
 198                  ),
 199                  'showDeleted' => array(
 200                    'location' => 'query',
 201                    'type' => 'boolean',
 202                  ),
 203                  'updatedMin' => array(
 204                    'location' => 'query',
 205                    'type' => 'string',
 206                  ),
 207                  'completedMin' => array(
 208                    'location' => 'query',
 209                    'type' => 'string',
 210                  ),
 211                  'maxResults' => array(
 212                    'location' => 'query',
 213                    'type' => 'string',
 214                  ),
 215                  'showCompleted' => array(
 216                    'location' => 'query',
 217                    'type' => 'boolean',
 218                  ),
 219                  'pageToken' => array(
 220                    'location' => 'query',
 221                    'type' => 'string',
 222                  ),
 223                  'completedMax' => array(
 224                    'location' => 'query',
 225                    'type' => 'string',
 226                  ),
 227                  'showHidden' => array(
 228                    'location' => 'query',
 229                    'type' => 'boolean',
 230                  ),
 231                  'dueMin' => 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
 312     * Task list identifier.
 313     * @param array $optParams Optional parameters.
 314     */
 315    public function delete($tasklist, $optParams = array())
 316    {
 317      $params = array('tasklist' => $tasklist);
 318      $params = array_merge($params, $optParams);
 319      return $this->call('delete', array($params));
 320    }
 321    /**
 322     * Returns the authenticated user's specified task list. (tasklists.get)
 323     *
 324     * @param string $tasklist
 325     * Task list identifier.
 326     * @param array $optParams Optional parameters.
 327     * @return Google_Service_Tasks_TaskList
 328     */
 329    public function get($tasklist, $optParams = array())
 330    {
 331      $params = array('tasklist' => $tasklist);
 332      $params = array_merge($params, $optParams);
 333      return $this->call('get', array($params), "Google_Service_Tasks_TaskList");
 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     * Returns all the authenticated user's task lists. (tasklists.listTasklists)
 351     *
 352     * @param array $optParams Optional parameters.
 353     *
 354     * @opt_param string pageToken
 355     * Token specifying the result page to return. Optional.
 356     * @opt_param string maxResults
 357     * Maximum number of task lists returned on one page. Optional. The default is 100.
 358     * @return Google_Service_Tasks_TaskLists
 359     */
 360    public function listTasklists($optParams = array())
 361    {
 362      $params = array();
 363      $params = array_merge($params, $optParams);
 364      return $this->call('list', array($params), "Google_Service_Tasks_TaskLists");
 365    }
 366    /**
 367     * Updates the authenticated user's specified task list. This method supports
 368     * patch semantics. (tasklists.patch)
 369     *
 370     * @param string $tasklist
 371     * Task list identifier.
 372     * @param Google_TaskList $postBody
 373     * @param array $optParams Optional parameters.
 374     * @return Google_Service_Tasks_TaskList
 375     */
 376    public function patch($tasklist, Google_Service_Tasks_TaskList $postBody, $optParams = array())
 377    {
 378      $params = array('tasklist' => $tasklist, 'postBody' => $postBody);
 379      $params = array_merge($params, $optParams);
 380      return $this->call('patch', array($params), "Google_Service_Tasks_TaskList");
 381    }
 382    /**
 383     * Updates the authenticated user's specified task list. (tasklists.update)
 384     *
 385     * @param string $tasklist
 386     * Task list identifier.
 387     * @param Google_TaskList $postBody
 388     * @param array $optParams Optional parameters.
 389     * @return Google_Service_Tasks_TaskList
 390     */
 391    public function update($tasklist, Google_Service_Tasks_TaskList $postBody, $optParams = array())
 392    {
 393      $params = array('tasklist' => $tasklist, 'postBody' => $postBody);
 394      $params = array_merge($params, $optParams);
 395      return $this->call('update', array($params), "Google_Service_Tasks_TaskList");
 396    }
 397  }
 398  
 399  /**
 400   * The "tasks" collection of methods.
 401   * Typical usage is:
 402   *  <code>
 403   *   $tasksService = new Google_Service_Tasks(...);
 404   *   $tasks = $tasksService->tasks;
 405   *  </code>
 406   */
 407  class Google_Service_Tasks_Tasks_Resource extends Google_Service_Resource
 408  {
 409  
 410    /**
 411     * Clears all completed tasks from the specified task list. The affected tasks
 412     * will be marked as 'hidden' and no longer be returned by default when
 413     * retrieving all tasks for a task list. (tasks.clear)
 414     *
 415     * @param string $tasklist
 416     * 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     * Deletes the specified task from the task list. (tasks.delete)
 427     *
 428     * @param string $tasklist
 429     * Task list identifier.
 430     * @param string $task
 431     * Task identifier.
 432     * @param array $optParams Optional parameters.
 433     */
 434    public function delete($tasklist, $task, $optParams = array())
 435    {
 436      $params = array('tasklist' => $tasklist, 'task' => $task);
 437      $params = array_merge($params, $optParams);
 438      return $this->call('delete', array($params));
 439    }
 440    /**
 441     * Returns the specified task. (tasks.get)
 442     *
 443     * @param string $tasklist
 444     * Task list identifier.
 445     * @param string $task
 446     * Task identifier.
 447     * @param array $optParams Optional parameters.
 448     * @return Google_Service_Tasks_Task
 449     */
 450    public function get($tasklist, $task, $optParams = array())
 451    {
 452      $params = array('tasklist' => $tasklist, 'task' => $task);
 453      $params = array_merge($params, $optParams);
 454      return $this->call('get', array($params), "Google_Service_Tasks_Task");
 455    }
 456    /**
 457     * Creates a new task on the specified task list. (tasks.insert)
 458     *
 459     * @param string $tasklist
 460     * Task list identifier.
 461     * @param Google_Task $postBody
 462     * @param array $optParams Optional parameters.
 463     *
 464     * @opt_param string parent
 465     * Parent task identifier. If the task is created at the top level, this parameter is omitted.
 466      * Optional.
 467     * @opt_param string previous
 468     * Previous sibling task identifier. If the task is created at the first position among its
 469      * siblings, this parameter is omitted. Optional.
 470     * @return Google_Service_Tasks_Task
 471     */
 472    public function insert($tasklist, Google_Service_Tasks_Task $postBody, $optParams = array())
 473    {
 474      $params = array('tasklist' => $tasklist, 'postBody' => $postBody);
 475      $params = array_merge($params, $optParams);
 476      return $this->call('insert', array($params), "Google_Service_Tasks_Task");
 477    }
 478    /**
 479     * Returns all tasks in the specified task list. (tasks.listTasks)
 480     *
 481     * @param string $tasklist
 482     * Task list identifier.
 483     * @param array $optParams Optional parameters.
 484     *
 485     * @opt_param string dueMax
 486     * Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default
 487      * is not to filter by due date.
 488     * @opt_param bool showDeleted
 489     * Flag indicating whether deleted tasks are returned in the result. Optional. The default is
 490      * False.
 491     * @opt_param string updatedMin
 492     * Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by.
 493      * Optional. The default is not to filter by last modification time.
 494     * @opt_param string completedMin
 495     * Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The
 496      * default is not to filter by completion date.
 497     * @opt_param string maxResults
 498     * Maximum number of task lists returned on one page. Optional. The default is 100.
 499     * @opt_param bool showCompleted
 500     * Flag indicating whether completed tasks are returned in the result. Optional. The default is
 501      * True.
 502     * @opt_param string pageToken
 503     * Token specifying the result page to return. Optional.
 504     * @opt_param string completedMax
 505     * Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The
 506      * default is not to filter by completion date.
 507     * @opt_param bool showHidden
 508     * Flag indicating whether hidden tasks are returned in the result. Optional. The default is False.
 509     * @opt_param string dueMin
 510     * Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default
 511      * is not to filter by due date.
 512     * @return Google_Service_Tasks_Tasks
 513     */
 514    public function listTasks($tasklist, $optParams = array())
 515    {
 516      $params = array('tasklist' => $tasklist);
 517      $params = array_merge($params, $optParams);
 518      return $this->call('list', array($params), "Google_Service_Tasks_Tasks");
 519    }
 520    /**
 521     * Moves the specified task to another position in the task list. This can
 522     * include putting it as a child task under a new parent and/or move it to a
 523     * different position among its sibling tasks. (tasks.move)
 524     *
 525     * @param string $tasklist
 526     * Task list identifier.
 527     * @param string $task
 528     * Task identifier.
 529     * @param array $optParams Optional parameters.
 530     *
 531     * @opt_param string parent
 532     * New parent task identifier. If the task is moved to the top level, this parameter is omitted.
 533      * Optional.
 534     * @opt_param string previous
 535     * New previous sibling task identifier. If the task is moved to the first position among its
 536      * siblings, this parameter is omitted. Optional.
 537     * @return Google_Service_Tasks_Task
 538     */
 539    public function move($tasklist, $task, $optParams = array())
 540    {
 541      $params = array('tasklist' => $tasklist, 'task' => $task);
 542      $params = array_merge($params, $optParams);
 543      return $this->call('move', array($params), "Google_Service_Tasks_Task");
 544    }
 545    /**
 546     * Updates the specified task. This method supports patch semantics.
 547     * (tasks.patch)
 548     *
 549     * @param string $tasklist
 550     * Task list identifier.
 551     * @param string $task
 552     * Task identifier.
 553     * @param Google_Task $postBody
 554     * @param array $optParams Optional parameters.
 555     * @return Google_Service_Tasks_Task
 556     */
 557    public function patch($tasklist, $task, Google_Service_Tasks_Task $postBody, $optParams = array())
 558    {
 559      $params = array('tasklist' => $tasklist, 'task' => $task, 'postBody' => $postBody);
 560      $params = array_merge($params, $optParams);
 561      return $this->call('patch', array($params), "Google_Service_Tasks_Task");
 562    }
 563    /**
 564     * Updates the specified task. (tasks.update)
 565     *
 566     * @param string $tasklist
 567     * Task list identifier.
 568     * @param string $task
 569     * Task identifier.
 570     * @param Google_Task $postBody
 571     * @param array $optParams Optional parameters.
 572     * @return Google_Service_Tasks_Task
 573     */
 574    public function update($tasklist, $task, Google_Service_Tasks_Task $postBody, $optParams = array())
 575    {
 576      $params = array('tasklist' => $tasklist, 'task' => $task, 'postBody' => $postBody);
 577      $params = array_merge($params, $optParams);
 578      return $this->call('update', array($params), "Google_Service_Tasks_Task");
 579    }
 580  }
 581  
 582  
 583  
 584  
 585  class Google_Service_Tasks_Task extends Google_Collection
 586  {
 587    protected $collection_key = 'links';
 588    public $completed;
 589    public $deleted;
 590    public $due;
 591    public $etag;
 592    public $hidden;
 593    public $id;
 594    public $kind;
 595    protected $linksType = 'Google_Service_Tasks_TaskLinks';
 596    protected $linksDataType = 'array';
 597    public $notes;
 598    public $parent;
 599    public $position;
 600    public $selfLink;
 601    public $status;
 602    public $title;
 603    public $updated;
 604  
 605    public function setCompleted($completed)
 606    {
 607      $this->completed = $completed;
 608    }
 609  
 610    public function getCompleted()
 611    {
 612      return $this->completed;
 613    }
 614  
 615    public function setDeleted($deleted)
 616    {
 617      $this->deleted = $deleted;
 618    }
 619  
 620    public function getDeleted()
 621    {
 622      return $this->deleted;
 623    }
 624  
 625    public function setDue($due)
 626    {
 627      $this->due = $due;
 628    }
 629  
 630    public function getDue()
 631    {
 632      return $this->due;
 633    }
 634  
 635    public function setEtag($etag)
 636    {
 637      $this->etag = $etag;
 638    }
 639  
 640    public function getEtag()
 641    {
 642      return $this->etag;
 643    }
 644  
 645    public function setHidden($hidden)
 646    {
 647      $this->hidden = $hidden;
 648    }
 649  
 650    public function getHidden()
 651    {
 652      return $this->hidden;
 653    }
 654  
 655    public function setId($id)
 656    {
 657      $this->id = $id;
 658    }
 659  
 660    public function getId()
 661    {
 662      return $this->id;
 663    }
 664  
 665    public function setKind($kind)
 666    {
 667      $this->kind = $kind;
 668    }
 669  
 670    public function getKind()
 671    {
 672      return $this->kind;
 673    }
 674  
 675    public function setLinks($links)
 676    {
 677      $this->links = $links;
 678    }
 679  
 680    public function getLinks()
 681    {
 682      return $this->links;
 683    }
 684  
 685    public function setNotes($notes)
 686    {
 687      $this->notes = $notes;
 688    }
 689  
 690    public function getNotes()
 691    {
 692      return $this->notes;
 693    }
 694  
 695    public function setParent($parent)
 696    {
 697      $this->parent = $parent;
 698    }
 699  
 700    public function getParent()
 701    {
 702      return $this->parent;
 703    }
 704  
 705    public function setPosition($position)
 706    {
 707      $this->position = $position;
 708    }
 709  
 710    public function getPosition()
 711    {
 712      return $this->position;
 713    }
 714  
 715    public function setSelfLink($selfLink)
 716    {
 717      $this->selfLink = $selfLink;
 718    }
 719  
 720    public function getSelfLink()
 721    {
 722      return $this->selfLink;
 723    }
 724  
 725    public function setStatus($status)
 726    {
 727      $this->status = $status;
 728    }
 729  
 730    public function getStatus()
 731    {
 732      return $this->status;
 733    }
 734  
 735    public function setTitle($title)
 736    {
 737      $this->title = $title;
 738    }
 739  
 740    public function getTitle()
 741    {
 742      return $this->title;
 743    }
 744  
 745    public function setUpdated($updated)
 746    {
 747      $this->updated = $updated;
 748    }
 749  
 750    public function getUpdated()
 751    {
 752      return $this->updated;
 753    }
 754  }
 755  
 756  class Google_Service_Tasks_TaskLinks extends Google_Model
 757  {
 758    public $description;
 759    public $link;
 760    public $type;
 761  
 762    public function setDescription($description)
 763    {
 764      $this->description = $description;
 765    }
 766  
 767    public function getDescription()
 768    {
 769      return $this->description;
 770    }
 771  
 772    public function setLink($link)
 773    {
 774      $this->link = $link;
 775    }
 776  
 777    public function getLink()
 778    {
 779      return $this->link;
 780    }
 781  
 782    public function setType($type)
 783    {
 784      $this->type = $type;
 785    }
 786  
 787    public function getType()
 788    {
 789      return $this->type;
 790    }
 791  }
 792  
 793  class Google_Service_Tasks_TaskList extends Google_Model
 794  {
 795    public $etag;
 796    public $id;
 797    public $kind;
 798    public $selfLink;
 799    public $title;
 800    public $updated;
 801  
 802    public function setEtag($etag)
 803    {
 804      $this->etag = $etag;
 805    }
 806  
 807    public function getEtag()
 808    {
 809      return $this->etag;
 810    }
 811  
 812    public function setId($id)
 813    {
 814      $this->id = $id;
 815    }
 816  
 817    public function getId()
 818    {
 819      return $this->id;
 820    }
 821  
 822    public function setKind($kind)
 823    {
 824      $this->kind = $kind;
 825    }
 826  
 827    public function getKind()
 828    {
 829      return $this->kind;
 830    }
 831  
 832    public function setSelfLink($selfLink)
 833    {
 834      $this->selfLink = $selfLink;
 835    }
 836  
 837    public function getSelfLink()
 838    {
 839      return $this->selfLink;
 840    }
 841  
 842    public function setTitle($title)
 843    {
 844      $this->title = $title;
 845    }
 846  
 847    public function getTitle()
 848    {
 849      return $this->title;
 850    }
 851  
 852    public function setUpdated($updated)
 853    {
 854      $this->updated = $updated;
 855    }
 856  
 857    public function getUpdated()
 858    {
 859      return $this->updated;
 860    }
 861  }
 862  
 863  class Google_Service_Tasks_TaskLists extends Google_Collection
 864  {
 865    protected $collection_key = 'items';
 866    public $etag;
 867    protected $itemsType = 'Google_Service_Tasks_TaskList';
 868    protected $itemsDataType = 'array';
 869    public $kind;
 870    public $nextPageToken;
 871  
 872    public function setEtag($etag)
 873    {
 874      $this->etag = $etag;
 875    }
 876  
 877    public function getEtag()
 878    {
 879      return $this->etag;
 880    }
 881  
 882    public function setItems($items)
 883    {
 884      $this->items = $items;
 885    }
 886  
 887    public function getItems()
 888    {
 889      return $this->items;
 890    }
 891  
 892    public function setKind($kind)
 893    {
 894      $this->kind = $kind;
 895    }
 896  
 897    public function getKind()
 898    {
 899      return $this->kind;
 900    }
 901  
 902    public function setNextPageToken($nextPageToken)
 903    {
 904      $this->nextPageToken = $nextPageToken;
 905    }
 906  
 907    public function getNextPageToken()
 908    {
 909      return $this->nextPageToken;
 910    }
 911  }
 912  
 913  class Google_Service_Tasks_Tasks extends Google_Collection
 914  {
 915    protected $collection_key = 'items';
 916    public $etag;
 917    protected $itemsType = 'Google_Service_Tasks_Task';
 918    protected $itemsDataType = 'array';
 919    public $kind;
 920    public $nextPageToken;
 921  
 922    public function setEtag($etag)
 923    {
 924      $this->etag = $etag;
 925    }
 926  
 927    public function getEtag()
 928    {
 929      return $this->etag;
 930    }
 931  
 932    public function setItems($items)
 933    {
 934      $this->items = $items;
 935    }
 936  
 937    public function getItems()
 938    {
 939      return $this->items;
 940    }
 941  
 942    public function setKind($kind)
 943    {
 944      $this->kind = $kind;
 945    }
 946  
 947    public function getKind()
 948    {
 949      return $this->kind;
 950    }
 951  
 952    public function setNextPageToken($nextPageToken)
 953    {
 954      $this->nextPageToken = $nextPageToken;
 955    }
 956  
 957    public function getNextPageToken()
 958    {
 959      return $this->nextPageToken;
 960    }
 961  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1