暫無描述

Task.php 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <?php
  2. /*
  3. * Copyright 2014 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. class Google_Service_Tasks_Task extends Google_Collection
  18. {
  19. protected $collection_key = 'links';
  20. public $completed;
  21. public $deleted;
  22. public $due;
  23. public $etag;
  24. public $hidden;
  25. public $id;
  26. public $kind;
  27. protected $linksType = 'Google_Service_Tasks_TaskLinks';
  28. protected $linksDataType = 'array';
  29. public $notes;
  30. public $parent;
  31. public $position;
  32. public $selfLink;
  33. public $status;
  34. public $title;
  35. public $updated;
  36. public function setCompleted($completed)
  37. {
  38. $this->completed = $completed;
  39. }
  40. public function getCompleted()
  41. {
  42. return $this->completed;
  43. }
  44. public function setDeleted($deleted)
  45. {
  46. $this->deleted = $deleted;
  47. }
  48. public function getDeleted()
  49. {
  50. return $this->deleted;
  51. }
  52. public function setDue($due)
  53. {
  54. $this->due = $due;
  55. }
  56. public function getDue()
  57. {
  58. return $this->due;
  59. }
  60. public function setEtag($etag)
  61. {
  62. $this->etag = $etag;
  63. }
  64. public function getEtag()
  65. {
  66. return $this->etag;
  67. }
  68. public function setHidden($hidden)
  69. {
  70. $this->hidden = $hidden;
  71. }
  72. public function getHidden()
  73. {
  74. return $this->hidden;
  75. }
  76. public function setId($id)
  77. {
  78. $this->id = $id;
  79. }
  80. public function getId()
  81. {
  82. return $this->id;
  83. }
  84. public function setKind($kind)
  85. {
  86. $this->kind = $kind;
  87. }
  88. public function getKind()
  89. {
  90. return $this->kind;
  91. }
  92. /**
  93. * @param Google_Service_Tasks_TaskLinks
  94. */
  95. public function setLinks($links)
  96. {
  97. $this->links = $links;
  98. }
  99. /**
  100. * @return Google_Service_Tasks_TaskLinks
  101. */
  102. public function getLinks()
  103. {
  104. return $this->links;
  105. }
  106. public function setNotes($notes)
  107. {
  108. $this->notes = $notes;
  109. }
  110. public function getNotes()
  111. {
  112. return $this->notes;
  113. }
  114. public function setParent($parent)
  115. {
  116. $this->parent = $parent;
  117. }
  118. public function getParent()
  119. {
  120. return $this->parent;
  121. }
  122. public function setPosition($position)
  123. {
  124. $this->position = $position;
  125. }
  126. public function getPosition()
  127. {
  128. return $this->position;
  129. }
  130. public function setSelfLink($selfLink)
  131. {
  132. $this->selfLink = $selfLink;
  133. }
  134. public function getSelfLink()
  135. {
  136. return $this->selfLink;
  137. }
  138. public function setStatus($status)
  139. {
  140. $this->status = $status;
  141. }
  142. public function getStatus()
  143. {
  144. return $this->status;
  145. }
  146. public function setTitle($title)
  147. {
  148. $this->title = $title;
  149. }
  150. public function getTitle()
  151. {
  152. return $this->title;
  153. }
  154. public function setUpdated($updated)
  155. {
  156. $this->updated = $updated;
  157. }
  158. public function getUpdated()
  159. {
  160. return $this->updated;
  161. }
  162. }