暂无描述

Task.php 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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_CloudTasks_Task extends Google_Model
  18. {
  19. protected $appEngineHttpRequestType = 'Google_Service_CloudTasks_AppEngineHttpRequest';
  20. protected $appEngineHttpRequestDataType = '';
  21. public $createTime;
  22. public $name;
  23. protected $pullMessageType = 'Google_Service_CloudTasks_PullMessage';
  24. protected $pullMessageDataType = '';
  25. public $scheduleTime;
  26. protected $statusType = 'Google_Service_CloudTasks_TaskStatus';
  27. protected $statusDataType = '';
  28. public $view;
  29. /**
  30. * @param Google_Service_CloudTasks_AppEngineHttpRequest
  31. */
  32. public function setAppEngineHttpRequest(Google_Service_CloudTasks_AppEngineHttpRequest $appEngineHttpRequest)
  33. {
  34. $this->appEngineHttpRequest = $appEngineHttpRequest;
  35. }
  36. /**
  37. * @return Google_Service_CloudTasks_AppEngineHttpRequest
  38. */
  39. public function getAppEngineHttpRequest()
  40. {
  41. return $this->appEngineHttpRequest;
  42. }
  43. public function setCreateTime($createTime)
  44. {
  45. $this->createTime = $createTime;
  46. }
  47. public function getCreateTime()
  48. {
  49. return $this->createTime;
  50. }
  51. public function setName($name)
  52. {
  53. $this->name = $name;
  54. }
  55. public function getName()
  56. {
  57. return $this->name;
  58. }
  59. /**
  60. * @param Google_Service_CloudTasks_PullMessage
  61. */
  62. public function setPullMessage(Google_Service_CloudTasks_PullMessage $pullMessage)
  63. {
  64. $this->pullMessage = $pullMessage;
  65. }
  66. /**
  67. * @return Google_Service_CloudTasks_PullMessage
  68. */
  69. public function getPullMessage()
  70. {
  71. return $this->pullMessage;
  72. }
  73. public function setScheduleTime($scheduleTime)
  74. {
  75. $this->scheduleTime = $scheduleTime;
  76. }
  77. public function getScheduleTime()
  78. {
  79. return $this->scheduleTime;
  80. }
  81. /**
  82. * @param Google_Service_CloudTasks_TaskStatus
  83. */
  84. public function setStatus(Google_Service_CloudTasks_TaskStatus $status)
  85. {
  86. $this->status = $status;
  87. }
  88. /**
  89. * @return Google_Service_CloudTasks_TaskStatus
  90. */
  91. public function getStatus()
  92. {
  93. return $this->status;
  94. }
  95. public function setView($view)
  96. {
  97. $this->view = $view;
  98. }
  99. public function getView()
  100. {
  101. return $this->view;
  102. }
  103. }