[f9c482b] | 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 |
|
---|
| 18 | namespace Google\Service\Tasks;
|
---|
| 19 |
|
---|
| 20 | class Task extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'links';
|
---|
| 23 | protected $assignmentInfoType = AssignmentInfo::class;
|
---|
| 24 | protected $assignmentInfoDataType = '';
|
---|
| 25 | /**
|
---|
| 26 | * @var string
|
---|
| 27 | */
|
---|
| 28 | public $completed;
|
---|
| 29 | /**
|
---|
| 30 | * @var bool
|
---|
| 31 | */
|
---|
| 32 | public $deleted;
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $due;
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $etag;
|
---|
| 41 | /**
|
---|
| 42 | * @var bool
|
---|
| 43 | */
|
---|
| 44 | public $hidden;
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $id;
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $kind;
|
---|
| 53 | protected $linksType = TaskLinks::class;
|
---|
| 54 | protected $linksDataType = 'array';
|
---|
| 55 | /**
|
---|
| 56 | * @var string
|
---|
| 57 | */
|
---|
| 58 | public $notes;
|
---|
| 59 | /**
|
---|
| 60 | * @var string
|
---|
| 61 | */
|
---|
| 62 | public $parent;
|
---|
| 63 | /**
|
---|
| 64 | * @var string
|
---|
| 65 | */
|
---|
| 66 | public $position;
|
---|
| 67 | /**
|
---|
| 68 | * @var string
|
---|
| 69 | */
|
---|
| 70 | public $selfLink;
|
---|
| 71 | /**
|
---|
| 72 | * @var string
|
---|
| 73 | */
|
---|
| 74 | public $status;
|
---|
| 75 | /**
|
---|
| 76 | * @var string
|
---|
| 77 | */
|
---|
| 78 | public $title;
|
---|
| 79 | /**
|
---|
| 80 | * @var string
|
---|
| 81 | */
|
---|
| 82 | public $updated;
|
---|
| 83 | /**
|
---|
| 84 | * @var string
|
---|
| 85 | */
|
---|
| 86 | public $webViewLink;
|
---|
| 87 |
|
---|
| 88 | /**
|
---|
| 89 | * @param AssignmentInfo
|
---|
| 90 | */
|
---|
| 91 | public function setAssignmentInfo(AssignmentInfo $assignmentInfo)
|
---|
| 92 | {
|
---|
| 93 | $this->assignmentInfo = $assignmentInfo;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @return AssignmentInfo
|
---|
| 97 | */
|
---|
| 98 | public function getAssignmentInfo()
|
---|
| 99 | {
|
---|
| 100 | return $this->assignmentInfo;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @param string
|
---|
| 104 | */
|
---|
| 105 | public function setCompleted($completed)
|
---|
| 106 | {
|
---|
| 107 | $this->completed = $completed;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @return string
|
---|
| 111 | */
|
---|
| 112 | public function getCompleted()
|
---|
| 113 | {
|
---|
| 114 | return $this->completed;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @param bool
|
---|
| 118 | */
|
---|
| 119 | public function setDeleted($deleted)
|
---|
| 120 | {
|
---|
| 121 | $this->deleted = $deleted;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @return bool
|
---|
| 125 | */
|
---|
| 126 | public function getDeleted()
|
---|
| 127 | {
|
---|
| 128 | return $this->deleted;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @param string
|
---|
| 132 | */
|
---|
| 133 | public function setDue($due)
|
---|
| 134 | {
|
---|
| 135 | $this->due = $due;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @return string
|
---|
| 139 | */
|
---|
| 140 | public function getDue()
|
---|
| 141 | {
|
---|
| 142 | return $this->due;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @param string
|
---|
| 146 | */
|
---|
| 147 | public function setEtag($etag)
|
---|
| 148 | {
|
---|
| 149 | $this->etag = $etag;
|
---|
| 150 | }
|
---|
| 151 | /**
|
---|
| 152 | * @return string
|
---|
| 153 | */
|
---|
| 154 | public function getEtag()
|
---|
| 155 | {
|
---|
| 156 | return $this->etag;
|
---|
| 157 | }
|
---|
| 158 | /**
|
---|
| 159 | * @param bool
|
---|
| 160 | */
|
---|
| 161 | public function setHidden($hidden)
|
---|
| 162 | {
|
---|
| 163 | $this->hidden = $hidden;
|
---|
| 164 | }
|
---|
| 165 | /**
|
---|
| 166 | * @return bool
|
---|
| 167 | */
|
---|
| 168 | public function getHidden()
|
---|
| 169 | {
|
---|
| 170 | return $this->hidden;
|
---|
| 171 | }
|
---|
| 172 | /**
|
---|
| 173 | * @param string
|
---|
| 174 | */
|
---|
| 175 | public function setId($id)
|
---|
| 176 | {
|
---|
| 177 | $this->id = $id;
|
---|
| 178 | }
|
---|
| 179 | /**
|
---|
| 180 | * @return string
|
---|
| 181 | */
|
---|
| 182 | public function getId()
|
---|
| 183 | {
|
---|
| 184 | return $this->id;
|
---|
| 185 | }
|
---|
| 186 | /**
|
---|
| 187 | * @param string
|
---|
| 188 | */
|
---|
| 189 | public function setKind($kind)
|
---|
| 190 | {
|
---|
| 191 | $this->kind = $kind;
|
---|
| 192 | }
|
---|
| 193 | /**
|
---|
| 194 | * @return string
|
---|
| 195 | */
|
---|
| 196 | public function getKind()
|
---|
| 197 | {
|
---|
| 198 | return $this->kind;
|
---|
| 199 | }
|
---|
| 200 | /**
|
---|
| 201 | * @param TaskLinks[]
|
---|
| 202 | */
|
---|
| 203 | public function setLinks($links)
|
---|
| 204 | {
|
---|
| 205 | $this->links = $links;
|
---|
| 206 | }
|
---|
| 207 | /**
|
---|
| 208 | * @return TaskLinks[]
|
---|
| 209 | */
|
---|
| 210 | public function getLinks()
|
---|
| 211 | {
|
---|
| 212 | return $this->links;
|
---|
| 213 | }
|
---|
| 214 | /**
|
---|
| 215 | * @param string
|
---|
| 216 | */
|
---|
| 217 | public function setNotes($notes)
|
---|
| 218 | {
|
---|
| 219 | $this->notes = $notes;
|
---|
| 220 | }
|
---|
| 221 | /**
|
---|
| 222 | * @return string
|
---|
| 223 | */
|
---|
| 224 | public function getNotes()
|
---|
| 225 | {
|
---|
| 226 | return $this->notes;
|
---|
| 227 | }
|
---|
| 228 | /**
|
---|
| 229 | * @param string
|
---|
| 230 | */
|
---|
| 231 | public function setParent($parent)
|
---|
| 232 | {
|
---|
| 233 | $this->parent = $parent;
|
---|
| 234 | }
|
---|
| 235 | /**
|
---|
| 236 | * @return string
|
---|
| 237 | */
|
---|
| 238 | public function getParent()
|
---|
| 239 | {
|
---|
| 240 | return $this->parent;
|
---|
| 241 | }
|
---|
| 242 | /**
|
---|
| 243 | * @param string
|
---|
| 244 | */
|
---|
| 245 | public function setPosition($position)
|
---|
| 246 | {
|
---|
| 247 | $this->position = $position;
|
---|
| 248 | }
|
---|
| 249 | /**
|
---|
| 250 | * @return string
|
---|
| 251 | */
|
---|
| 252 | public function getPosition()
|
---|
| 253 | {
|
---|
| 254 | return $this->position;
|
---|
| 255 | }
|
---|
| 256 | /**
|
---|
| 257 | * @param string
|
---|
| 258 | */
|
---|
| 259 | public function setSelfLink($selfLink)
|
---|
| 260 | {
|
---|
| 261 | $this->selfLink = $selfLink;
|
---|
| 262 | }
|
---|
| 263 | /**
|
---|
| 264 | * @return string
|
---|
| 265 | */
|
---|
| 266 | public function getSelfLink()
|
---|
| 267 | {
|
---|
| 268 | return $this->selfLink;
|
---|
| 269 | }
|
---|
| 270 | /**
|
---|
| 271 | * @param string
|
---|
| 272 | */
|
---|
| 273 | public function setStatus($status)
|
---|
| 274 | {
|
---|
| 275 | $this->status = $status;
|
---|
| 276 | }
|
---|
| 277 | /**
|
---|
| 278 | * @return string
|
---|
| 279 | */
|
---|
| 280 | public function getStatus()
|
---|
| 281 | {
|
---|
| 282 | return $this->status;
|
---|
| 283 | }
|
---|
| 284 | /**
|
---|
| 285 | * @param string
|
---|
| 286 | */
|
---|
| 287 | public function setTitle($title)
|
---|
| 288 | {
|
---|
| 289 | $this->title = $title;
|
---|
| 290 | }
|
---|
| 291 | /**
|
---|
| 292 | * @return string
|
---|
| 293 | */
|
---|
| 294 | public function getTitle()
|
---|
| 295 | {
|
---|
| 296 | return $this->title;
|
---|
| 297 | }
|
---|
| 298 | /**
|
---|
| 299 | * @param string
|
---|
| 300 | */
|
---|
| 301 | public function setUpdated($updated)
|
---|
| 302 | {
|
---|
| 303 | $this->updated = $updated;
|
---|
| 304 | }
|
---|
| 305 | /**
|
---|
| 306 | * @return string
|
---|
| 307 | */
|
---|
| 308 | public function getUpdated()
|
---|
| 309 | {
|
---|
| 310 | return $this->updated;
|
---|
| 311 | }
|
---|
| 312 | /**
|
---|
| 313 | * @param string
|
---|
| 314 | */
|
---|
| 315 | public function setWebViewLink($webViewLink)
|
---|
| 316 | {
|
---|
| 317 | $this->webViewLink = $webViewLink;
|
---|
| 318 | }
|
---|
| 319 | /**
|
---|
| 320 | * @return string
|
---|
| 321 | */
|
---|
| 322 | public function getWebViewLink()
|
---|
| 323 | {
|
---|
| 324 | return $this->webViewLink;
|
---|
| 325 | }
|
---|
| 326 | }
|
---|
| 327 |
|
---|
| 328 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 329 | class_alias(Task::class, 'Google_Service_Tasks_Task');
|
---|