source: vendor/google/apiclient-services/src/ContainerAnalysis/Note.php

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

Upload project files

  • Property mode set to 100644
File size: 7.6 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\ContainerAnalysis;
19
20class Note extends \Google\Collection
21{
22 protected $collection_key = 'relatedUrl';
23 protected $attestationType = AttestationNote::class;
24 protected $attestationDataType = '';
25 protected $buildType = BuildNote::class;
26 protected $buildDataType = '';
27 protected $complianceType = ComplianceNote::class;
28 protected $complianceDataType = '';
29 /**
30 * @var string
31 */
32 public $createTime;
33 protected $deploymentType = DeploymentNote::class;
34 protected $deploymentDataType = '';
35 protected $discoveryType = DiscoveryNote::class;
36 protected $discoveryDataType = '';
37 protected $dsseAttestationType = DSSEAttestationNote::class;
38 protected $dsseAttestationDataType = '';
39 /**
40 * @var string
41 */
42 public $expirationTime;
43 protected $imageType = ImageNote::class;
44 protected $imageDataType = '';
45 /**
46 * @var string
47 */
48 public $kind;
49 /**
50 * @var string
51 */
52 public $longDescription;
53 /**
54 * @var string
55 */
56 public $name;
57 protected $packageType = PackageNote::class;
58 protected $packageDataType = '';
59 /**
60 * @var string[]
61 */
62 public $relatedNoteNames;
63 protected $relatedUrlType = RelatedUrl::class;
64 protected $relatedUrlDataType = 'array';
65 protected $sbomReferenceType = SBOMReferenceNote::class;
66 protected $sbomReferenceDataType = '';
67 /**
68 * @var string
69 */
70 public $shortDescription;
71 /**
72 * @var string
73 */
74 public $updateTime;
75 protected $upgradeType = UpgradeNote::class;
76 protected $upgradeDataType = '';
77 protected $vulnerabilityType = VulnerabilityNote::class;
78 protected $vulnerabilityDataType = '';
79 protected $vulnerabilityAssessmentType = VulnerabilityAssessmentNote::class;
80 protected $vulnerabilityAssessmentDataType = '';
81
82 /**
83 * @param AttestationNote
84 */
85 public function setAttestation(AttestationNote $attestation)
86 {
87 $this->attestation = $attestation;
88 }
89 /**
90 * @return AttestationNote
91 */
92 public function getAttestation()
93 {
94 return $this->attestation;
95 }
96 /**
97 * @param BuildNote
98 */
99 public function setBuild(BuildNote $build)
100 {
101 $this->build = $build;
102 }
103 /**
104 * @return BuildNote
105 */
106 public function getBuild()
107 {
108 return $this->build;
109 }
110 /**
111 * @param ComplianceNote
112 */
113 public function setCompliance(ComplianceNote $compliance)
114 {
115 $this->compliance = $compliance;
116 }
117 /**
118 * @return ComplianceNote
119 */
120 public function getCompliance()
121 {
122 return $this->compliance;
123 }
124 /**
125 * @param string
126 */
127 public function setCreateTime($createTime)
128 {
129 $this->createTime = $createTime;
130 }
131 /**
132 * @return string
133 */
134 public function getCreateTime()
135 {
136 return $this->createTime;
137 }
138 /**
139 * @param DeploymentNote
140 */
141 public function setDeployment(DeploymentNote $deployment)
142 {
143 $this->deployment = $deployment;
144 }
145 /**
146 * @return DeploymentNote
147 */
148 public function getDeployment()
149 {
150 return $this->deployment;
151 }
152 /**
153 * @param DiscoveryNote
154 */
155 public function setDiscovery(DiscoveryNote $discovery)
156 {
157 $this->discovery = $discovery;
158 }
159 /**
160 * @return DiscoveryNote
161 */
162 public function getDiscovery()
163 {
164 return $this->discovery;
165 }
166 /**
167 * @param DSSEAttestationNote
168 */
169 public function setDsseAttestation(DSSEAttestationNote $dsseAttestation)
170 {
171 $this->dsseAttestation = $dsseAttestation;
172 }
173 /**
174 * @return DSSEAttestationNote
175 */
176 public function getDsseAttestation()
177 {
178 return $this->dsseAttestation;
179 }
180 /**
181 * @param string
182 */
183 public function setExpirationTime($expirationTime)
184 {
185 $this->expirationTime = $expirationTime;
186 }
187 /**
188 * @return string
189 */
190 public function getExpirationTime()
191 {
192 return $this->expirationTime;
193 }
194 /**
195 * @param ImageNote
196 */
197 public function setImage(ImageNote $image)
198 {
199 $this->image = $image;
200 }
201 /**
202 * @return ImageNote
203 */
204 public function getImage()
205 {
206 return $this->image;
207 }
208 /**
209 * @param string
210 */
211 public function setKind($kind)
212 {
213 $this->kind = $kind;
214 }
215 /**
216 * @return string
217 */
218 public function getKind()
219 {
220 return $this->kind;
221 }
222 /**
223 * @param string
224 */
225 public function setLongDescription($longDescription)
226 {
227 $this->longDescription = $longDescription;
228 }
229 /**
230 * @return string
231 */
232 public function getLongDescription()
233 {
234 return $this->longDescription;
235 }
236 /**
237 * @param string
238 */
239 public function setName($name)
240 {
241 $this->name = $name;
242 }
243 /**
244 * @return string
245 */
246 public function getName()
247 {
248 return $this->name;
249 }
250 /**
251 * @param PackageNote
252 */
253 public function setPackage(PackageNote $package)
254 {
255 $this->package = $package;
256 }
257 /**
258 * @return PackageNote
259 */
260 public function getPackage()
261 {
262 return $this->package;
263 }
264 /**
265 * @param string[]
266 */
267 public function setRelatedNoteNames($relatedNoteNames)
268 {
269 $this->relatedNoteNames = $relatedNoteNames;
270 }
271 /**
272 * @return string[]
273 */
274 public function getRelatedNoteNames()
275 {
276 return $this->relatedNoteNames;
277 }
278 /**
279 * @param RelatedUrl[]
280 */
281 public function setRelatedUrl($relatedUrl)
282 {
283 $this->relatedUrl = $relatedUrl;
284 }
285 /**
286 * @return RelatedUrl[]
287 */
288 public function getRelatedUrl()
289 {
290 return $this->relatedUrl;
291 }
292 /**
293 * @param SBOMReferenceNote
294 */
295 public function setSbomReference(SBOMReferenceNote $sbomReference)
296 {
297 $this->sbomReference = $sbomReference;
298 }
299 /**
300 * @return SBOMReferenceNote
301 */
302 public function getSbomReference()
303 {
304 return $this->sbomReference;
305 }
306 /**
307 * @param string
308 */
309 public function setShortDescription($shortDescription)
310 {
311 $this->shortDescription = $shortDescription;
312 }
313 /**
314 * @return string
315 */
316 public function getShortDescription()
317 {
318 return $this->shortDescription;
319 }
320 /**
321 * @param string
322 */
323 public function setUpdateTime($updateTime)
324 {
325 $this->updateTime = $updateTime;
326 }
327 /**
328 * @return string
329 */
330 public function getUpdateTime()
331 {
332 return $this->updateTime;
333 }
334 /**
335 * @param UpgradeNote
336 */
337 public function setUpgrade(UpgradeNote $upgrade)
338 {
339 $this->upgrade = $upgrade;
340 }
341 /**
342 * @return UpgradeNote
343 */
344 public function getUpgrade()
345 {
346 return $this->upgrade;
347 }
348 /**
349 * @param VulnerabilityNote
350 */
351 public function setVulnerability(VulnerabilityNote $vulnerability)
352 {
353 $this->vulnerability = $vulnerability;
354 }
355 /**
356 * @return VulnerabilityNote
357 */
358 public function getVulnerability()
359 {
360 return $this->vulnerability;
361 }
362 /**
363 * @param VulnerabilityAssessmentNote
364 */
365 public function setVulnerabilityAssessment(VulnerabilityAssessmentNote $vulnerabilityAssessment)
366 {
367 $this->vulnerabilityAssessment = $vulnerabilityAssessment;
368 }
369 /**
370 * @return VulnerabilityAssessmentNote
371 */
372 public function getVulnerabilityAssessment()
373 {
374 return $this->vulnerabilityAssessment;
375 }
376}
377
378// Adding a class alias for backwards compatibility with the previous class name.
379class_alias(Note::class, 'Google_Service_ContainerAnalysis_Note');
Note: See TracBrowser for help on using the repository browser.