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 Detail extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $affectedCpeUri;
26  /**
27   * @var string
28   */
29  public $affectedPackage;
30  protected $affectedVersionEndType = Version::class;
31  protected $affectedVersionEndDataType = '';
32  protected $affectedVersionStartType = Version::class;
33  protected $affectedVersionStartDataType = '';
34  /**
35   * @var string
36   */
37  public $description;
38  /**
39   * @var string
40   */
41  public $fixedCpeUri;
42  /**
43   * @var string
44   */
45  public $fixedPackage;
46  protected $fixedVersionType = Version::class;
47  protected $fixedVersionDataType = '';
48  /**
49   * @var bool
50   */
51  public $isObsolete;
52  /**
53   * @var string
54   */
55  public $packageType;
56  /**
57   * @var string
58   */
59  public $severityName;
60  /**
61   * @var string
62   */
63  public $source;
64  /**
65   * @var string
66   */
67  public $sourceUpdateTime;
68  /**
69   * @var string
70   */
71  public $vendor;
72
73  /**
74   * @param string
75   */
76  public function setAffectedCpeUri($affectedCpeUri)
77  {
78    $this->affectedCpeUri = $affectedCpeUri;
79  }
80  /**
81   * @return string
82   */
83  public function getAffectedCpeUri()
84  {
85    return $this->affectedCpeUri;
86  }
87  /**
88   * @param string
89   */
90  public function setAffectedPackage($affectedPackage)
91  {
92    $this->affectedPackage = $affectedPackage;
93  }
94  /**
95   * @return string
96   */
97  public function getAffectedPackage()
98  {
99    return $this->affectedPackage;
100  }
101  /**
102   * @param Version
103   */
104  public function setAffectedVersionEnd(Version $affectedVersionEnd)
105  {
106    $this->affectedVersionEnd = $affectedVersionEnd;
107  }
108  /**
109   * @return Version
110   */
111  public function getAffectedVersionEnd()
112  {
113    return $this->affectedVersionEnd;
114  }
115  /**
116   * @param Version
117   */
118  public function setAffectedVersionStart(Version $affectedVersionStart)
119  {
120    $this->affectedVersionStart = $affectedVersionStart;
121  }
122  /**
123   * @return Version
124   */
125  public function getAffectedVersionStart()
126  {
127    return $this->affectedVersionStart;
128  }
129  /**
130   * @param string
131   */
132  public function setDescription($description)
133  {
134    $this->description = $description;
135  }
136  /**
137   * @return string
138   */
139  public function getDescription()
140  {
141    return $this->description;
142  }
143  /**
144   * @param string
145   */
146  public function setFixedCpeUri($fixedCpeUri)
147  {
148    $this->fixedCpeUri = $fixedCpeUri;
149  }
150  /**
151   * @return string
152   */
153  public function getFixedCpeUri()
154  {
155    return $this->fixedCpeUri;
156  }
157  /**
158   * @param string
159   */
160  public function setFixedPackage($fixedPackage)
161  {
162    $this->fixedPackage = $fixedPackage;
163  }
164  /**
165   * @return string
166   */
167  public function getFixedPackage()
168  {
169    return $this->fixedPackage;
170  }
171  /**
172   * @param Version
173   */
174  public function setFixedVersion(Version $fixedVersion)
175  {
176    $this->fixedVersion = $fixedVersion;
177  }
178  /**
179   * @return Version
180   */
181  public function getFixedVersion()
182  {
183    return $this->fixedVersion;
184  }
185  /**
186   * @param bool
187   */
188  public function setIsObsolete($isObsolete)
189  {
190    $this->isObsolete = $isObsolete;
191  }
192  /**
193   * @return bool
194   */
195  public function getIsObsolete()
196  {
197    return $this->isObsolete;
198  }
199  /**
200   * @param string
201   */
202  public function setPackageType($packageType)
203  {
204    $this->packageType = $packageType;
205  }
206  /**
207   * @return string
208   */
209  public function getPackageType()
210  {
211    return $this->packageType;
212  }
213  /**
214   * @param string
215   */
216  public function setSeverityName($severityName)
217  {
218    $this->severityName = $severityName;
219  }
220  /**
221   * @return string
222   */
223  public function getSeverityName()
224  {
225    return $this->severityName;
226  }
227  /**
228   * @param string
229   */
230  public function setSource($source)
231  {
232    $this->source = $source;
233  }
234  /**
235   * @return string
236   */
237  public function getSource()
238  {
239    return $this->source;
240  }
241  /**
242   * @param string
243   */
244  public function setSourceUpdateTime($sourceUpdateTime)
245  {
246    $this->sourceUpdateTime = $sourceUpdateTime;
247  }
248  /**
249   * @return string
250   */
251  public function getSourceUpdateTime()
252  {
253    return $this->sourceUpdateTime;
254  }
255  /**
256   * @param string
257   */
258  public function setVendor($vendor)
259  {
260    $this->vendor = $vendor;
261  }
262  /**
263   * @return string
264   */
265  public function getVendor()
266  {
267    return $this->vendor;
268  }
269}
270
271// Adding a class alias for backwards compatibility with the previous class name.
272class_alias(Detail::class, 'Google_Service_ContainerAnalysis_Detail');
273