Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

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