source: vendor/google/apiclient-services/src/WorkloadManager/Execution.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: 4.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\WorkloadManager;
19
20class Execution extends \Google\Collection
21{
22 protected $collection_key = 'ruleResults';
23 /**
24 * @var string
25 */
26 public $endTime;
27 /**
28 * @var string
29 */
30 public $evaluationId;
31 protected $externalDataSourcesType = ExternalDataSources::class;
32 protected $externalDataSourcesDataType = 'array';
33 /**
34 * @var string
35 */
36 public $inventoryTime;
37 /**
38 * @var string[]
39 */
40 public $labels;
41 /**
42 * @var string
43 */
44 public $name;
45 protected $noticesType = Notice::class;
46 protected $noticesDataType = 'array';
47 protected $ruleResultsType = RuleExecutionResult::class;
48 protected $ruleResultsDataType = 'array';
49 /**
50 * @var string
51 */
52 public $runType;
53 /**
54 * @var string
55 */
56 public $startTime;
57 /**
58 * @var string
59 */
60 public $state;
61
62 /**
63 * @param string
64 */
65 public function setEndTime($endTime)
66 {
67 $this->endTime = $endTime;
68 }
69 /**
70 * @return string
71 */
72 public function getEndTime()
73 {
74 return $this->endTime;
75 }
76 /**
77 * @param string
78 */
79 public function setEvaluationId($evaluationId)
80 {
81 $this->evaluationId = $evaluationId;
82 }
83 /**
84 * @return string
85 */
86 public function getEvaluationId()
87 {
88 return $this->evaluationId;
89 }
90 /**
91 * @param ExternalDataSources[]
92 */
93 public function setExternalDataSources($externalDataSources)
94 {
95 $this->externalDataSources = $externalDataSources;
96 }
97 /**
98 * @return ExternalDataSources[]
99 */
100 public function getExternalDataSources()
101 {
102 return $this->externalDataSources;
103 }
104 /**
105 * @param string
106 */
107 public function setInventoryTime($inventoryTime)
108 {
109 $this->inventoryTime = $inventoryTime;
110 }
111 /**
112 * @return string
113 */
114 public function getInventoryTime()
115 {
116 return $this->inventoryTime;
117 }
118 /**
119 * @param string[]
120 */
121 public function setLabels($labels)
122 {
123 $this->labels = $labels;
124 }
125 /**
126 * @return string[]
127 */
128 public function getLabels()
129 {
130 return $this->labels;
131 }
132 /**
133 * @param string
134 */
135 public function setName($name)
136 {
137 $this->name = $name;
138 }
139 /**
140 * @return string
141 */
142 public function getName()
143 {
144 return $this->name;
145 }
146 /**
147 * @param Notice[]
148 */
149 public function setNotices($notices)
150 {
151 $this->notices = $notices;
152 }
153 /**
154 * @return Notice[]
155 */
156 public function getNotices()
157 {
158 return $this->notices;
159 }
160 /**
161 * @param RuleExecutionResult[]
162 */
163 public function setRuleResults($ruleResults)
164 {
165 $this->ruleResults = $ruleResults;
166 }
167 /**
168 * @return RuleExecutionResult[]
169 */
170 public function getRuleResults()
171 {
172 return $this->ruleResults;
173 }
174 /**
175 * @param string
176 */
177 public function setRunType($runType)
178 {
179 $this->runType = $runType;
180 }
181 /**
182 * @return string
183 */
184 public function getRunType()
185 {
186 return $this->runType;
187 }
188 /**
189 * @param string
190 */
191 public function setStartTime($startTime)
192 {
193 $this->startTime = $startTime;
194 }
195 /**
196 * @return string
197 */
198 public function getStartTime()
199 {
200 return $this->startTime;
201 }
202 /**
203 * @param string
204 */
205 public function setState($state)
206 {
207 $this->state = $state;
208 }
209 /**
210 * @return string
211 */
212 public function getState()
213 {
214 return $this->state;
215 }
216}
217
218// Adding a class alias for backwards compatibility with the previous class name.
219class_alias(Execution::class, 'Google_Service_WorkloadManager_Execution');
Note: See TracBrowser for help on using the repository browser.