source: vendor/google/apiclient-services/src/CloudScheduler/Job.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 5.0 KB
Line 
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
18namespace Google\Service\CloudScheduler;
19
20class Job extends \Google\Model
21{
22 protected $appEngineHttpTargetType = AppEngineHttpTarget::class;
23 protected $appEngineHttpTargetDataType = '';
24 /**
25 * @var string
26 */
27 public $attemptDeadline;
28 /**
29 * @var string
30 */
31 public $description;
32 protected $httpTargetType = HttpTarget::class;
33 protected $httpTargetDataType = '';
34 /**
35 * @var string
36 */
37 public $lastAttemptTime;
38 /**
39 * @var string
40 */
41 public $name;
42 protected $pubsubTargetType = PubsubTarget::class;
43 protected $pubsubTargetDataType = '';
44 protected $retryConfigType = RetryConfig::class;
45 protected $retryConfigDataType = '';
46 /**
47 * @var string
48 */
49 public $schedule;
50 /**
51 * @var string
52 */
53 public $scheduleTime;
54 /**
55 * @var string
56 */
57 public $state;
58 protected $statusType = Status::class;
59 protected $statusDataType = '';
60 /**
61 * @var string
62 */
63 public $timeZone;
64 /**
65 * @var string
66 */
67 public $userUpdateTime;
68
69 /**
70 * @param AppEngineHttpTarget
71 */
72 public function setAppEngineHttpTarget(AppEngineHttpTarget $appEngineHttpTarget)
73 {
74 $this->appEngineHttpTarget = $appEngineHttpTarget;
75 }
76 /**
77 * @return AppEngineHttpTarget
78 */
79 public function getAppEngineHttpTarget()
80 {
81 return $this->appEngineHttpTarget;
82 }
83 /**
84 * @param string
85 */
86 public function setAttemptDeadline($attemptDeadline)
87 {
88 $this->attemptDeadline = $attemptDeadline;
89 }
90 /**
91 * @return string
92 */
93 public function getAttemptDeadline()
94 {
95 return $this->attemptDeadline;
96 }
97 /**
98 * @param string
99 */
100 public function setDescription($description)
101 {
102 $this->description = $description;
103 }
104 /**
105 * @return string
106 */
107 public function getDescription()
108 {
109 return $this->description;
110 }
111 /**
112 * @param HttpTarget
113 */
114 public function setHttpTarget(HttpTarget $httpTarget)
115 {
116 $this->httpTarget = $httpTarget;
117 }
118 /**
119 * @return HttpTarget
120 */
121 public function getHttpTarget()
122 {
123 return $this->httpTarget;
124 }
125 /**
126 * @param string
127 */
128 public function setLastAttemptTime($lastAttemptTime)
129 {
130 $this->lastAttemptTime = $lastAttemptTime;
131 }
132 /**
133 * @return string
134 */
135 public function getLastAttemptTime()
136 {
137 return $this->lastAttemptTime;
138 }
139 /**
140 * @param string
141 */
142 public function setName($name)
143 {
144 $this->name = $name;
145 }
146 /**
147 * @return string
148 */
149 public function getName()
150 {
151 return $this->name;
152 }
153 /**
154 * @param PubsubTarget
155 */
156 public function setPubsubTarget(PubsubTarget $pubsubTarget)
157 {
158 $this->pubsubTarget = $pubsubTarget;
159 }
160 /**
161 * @return PubsubTarget
162 */
163 public function getPubsubTarget()
164 {
165 return $this->pubsubTarget;
166 }
167 /**
168 * @param RetryConfig
169 */
170 public function setRetryConfig(RetryConfig $retryConfig)
171 {
172 $this->retryConfig = $retryConfig;
173 }
174 /**
175 * @return RetryConfig
176 */
177 public function getRetryConfig()
178 {
179 return $this->retryConfig;
180 }
181 /**
182 * @param string
183 */
184 public function setSchedule($schedule)
185 {
186 $this->schedule = $schedule;
187 }
188 /**
189 * @return string
190 */
191 public function getSchedule()
192 {
193 return $this->schedule;
194 }
195 /**
196 * @param string
197 */
198 public function setScheduleTime($scheduleTime)
199 {
200 $this->scheduleTime = $scheduleTime;
201 }
202 /**
203 * @return string
204 */
205 public function getScheduleTime()
206 {
207 return $this->scheduleTime;
208 }
209 /**
210 * @param string
211 */
212 public function setState($state)
213 {
214 $this->state = $state;
215 }
216 /**
217 * @return string
218 */
219 public function getState()
220 {
221 return $this->state;
222 }
223 /**
224 * @param Status
225 */
226 public function setStatus(Status $status)
227 {
228 $this->status = $status;
229 }
230 /**
231 * @return Status
232 */
233 public function getStatus()
234 {
235 return $this->status;
236 }
237 /**
238 * @param string
239 */
240 public function setTimeZone($timeZone)
241 {
242 $this->timeZone = $timeZone;
243 }
244 /**
245 * @return string
246 */
247 public function getTimeZone()
248 {
249 return $this->timeZone;
250 }
251 /**
252 * @param string
253 */
254 public function setUserUpdateTime($userUpdateTime)
255 {
256 $this->userUpdateTime = $userUpdateTime;
257 }
258 /**
259 * @return string
260 */
261 public function getUserUpdateTime()
262 {
263 return $this->userUpdateTime;
264 }
265}
266
267// Adding a class alias for backwards compatibility with the previous class name.
268class_alias(Job::class, 'Google_Service_CloudScheduler_Job');
Note: See TracBrowser for help on using the repository browser.