source: vendor/google/apiclient-services/src/CloudLifeSciences/Event.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload new project files

  • Property mode set to 100644
File size: 5.1 KB
RevLine 
[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
18namespace Google\Service\CloudLifeSciences;
19
20class Event extends \Google\Model
21{
22 protected $containerKilledType = ContainerKilledEvent::class;
23 protected $containerKilledDataType = '';
24 protected $containerStartedType = ContainerStartedEvent::class;
25 protected $containerStartedDataType = '';
26 protected $containerStoppedType = ContainerStoppedEvent::class;
27 protected $containerStoppedDataType = '';
28 protected $delayedType = DelayedEvent::class;
29 protected $delayedDataType = '';
30 /**
31 * @var string
32 */
33 public $description;
34 protected $failedType = FailedEvent::class;
35 protected $failedDataType = '';
36 protected $pullStartedType = PullStartedEvent::class;
37 protected $pullStartedDataType = '';
38 protected $pullStoppedType = PullStoppedEvent::class;
39 protected $pullStoppedDataType = '';
40 /**
41 * @var string
42 */
43 public $timestamp;
44 protected $unexpectedExitStatusType = UnexpectedExitStatusEvent::class;
45 protected $unexpectedExitStatusDataType = '';
46 protected $workerAssignedType = WorkerAssignedEvent::class;
47 protected $workerAssignedDataType = '';
48 protected $workerReleasedType = WorkerReleasedEvent::class;
49 protected $workerReleasedDataType = '';
50
51 /**
52 * @param ContainerKilledEvent
53 */
54 public function setContainerKilled(ContainerKilledEvent $containerKilled)
55 {
56 $this->containerKilled = $containerKilled;
57 }
58 /**
59 * @return ContainerKilledEvent
60 */
61 public function getContainerKilled()
62 {
63 return $this->containerKilled;
64 }
65 /**
66 * @param ContainerStartedEvent
67 */
68 public function setContainerStarted(ContainerStartedEvent $containerStarted)
69 {
70 $this->containerStarted = $containerStarted;
71 }
72 /**
73 * @return ContainerStartedEvent
74 */
75 public function getContainerStarted()
76 {
77 return $this->containerStarted;
78 }
79 /**
80 * @param ContainerStoppedEvent
81 */
82 public function setContainerStopped(ContainerStoppedEvent $containerStopped)
83 {
84 $this->containerStopped = $containerStopped;
85 }
86 /**
87 * @return ContainerStoppedEvent
88 */
89 public function getContainerStopped()
90 {
91 return $this->containerStopped;
92 }
93 /**
94 * @param DelayedEvent
95 */
96 public function setDelayed(DelayedEvent $delayed)
97 {
98 $this->delayed = $delayed;
99 }
100 /**
101 * @return DelayedEvent
102 */
103 public function getDelayed()
104 {
105 return $this->delayed;
106 }
107 /**
108 * @param string
109 */
110 public function setDescription($description)
111 {
112 $this->description = $description;
113 }
114 /**
115 * @return string
116 */
117 public function getDescription()
118 {
119 return $this->description;
120 }
121 /**
122 * @param FailedEvent
123 */
124 public function setFailed(FailedEvent $failed)
125 {
126 $this->failed = $failed;
127 }
128 /**
129 * @return FailedEvent
130 */
131 public function getFailed()
132 {
133 return $this->failed;
134 }
135 /**
136 * @param PullStartedEvent
137 */
138 public function setPullStarted(PullStartedEvent $pullStarted)
139 {
140 $this->pullStarted = $pullStarted;
141 }
142 /**
143 * @return PullStartedEvent
144 */
145 public function getPullStarted()
146 {
147 return $this->pullStarted;
148 }
149 /**
150 * @param PullStoppedEvent
151 */
152 public function setPullStopped(PullStoppedEvent $pullStopped)
153 {
154 $this->pullStopped = $pullStopped;
155 }
156 /**
157 * @return PullStoppedEvent
158 */
159 public function getPullStopped()
160 {
161 return $this->pullStopped;
162 }
163 /**
164 * @param string
165 */
166 public function setTimestamp($timestamp)
167 {
168 $this->timestamp = $timestamp;
169 }
170 /**
171 * @return string
172 */
173 public function getTimestamp()
174 {
175 return $this->timestamp;
176 }
177 /**
178 * @param UnexpectedExitStatusEvent
179 */
180 public function setUnexpectedExitStatus(UnexpectedExitStatusEvent $unexpectedExitStatus)
181 {
182 $this->unexpectedExitStatus = $unexpectedExitStatus;
183 }
184 /**
185 * @return UnexpectedExitStatusEvent
186 */
187 public function getUnexpectedExitStatus()
188 {
189 return $this->unexpectedExitStatus;
190 }
191 /**
192 * @param WorkerAssignedEvent
193 */
194 public function setWorkerAssigned(WorkerAssignedEvent $workerAssigned)
195 {
196 $this->workerAssigned = $workerAssigned;
197 }
198 /**
199 * @return WorkerAssignedEvent
200 */
201 public function getWorkerAssigned()
202 {
203 return $this->workerAssigned;
204 }
205 /**
206 * @param WorkerReleasedEvent
207 */
208 public function setWorkerReleased(WorkerReleasedEvent $workerReleased)
209 {
210 $this->workerReleased = $workerReleased;
211 }
212 /**
213 * @return WorkerReleasedEvent
214 */
215 public function getWorkerReleased()
216 {
217 return $this->workerReleased;
218 }
219}
220
221// Adding a class alias for backwards compatibility with the previous class name.
222class_alias(Event::class, 'Google_Service_CloudLifeSciences_Event');
Note: See TracBrowser for help on using the repository browser.