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 |
|
---|
18 | namespace Google\Service\SecurityCommandCenter;
|
---|
19 |
|
---|
20 | class GoogleCloudSecuritycenterV2Cve extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'references';
|
---|
23 | protected $cvssv3Type = GoogleCloudSecuritycenterV2Cvssv3::class;
|
---|
24 | protected $cvssv3DataType = '';
|
---|
25 | /**
|
---|
26 | * @var string
|
---|
27 | */
|
---|
28 | public $exploitReleaseDate;
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $exploitationActivity;
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $firstExploitationDate;
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $id;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $impact;
|
---|
45 | /**
|
---|
46 | * @var bool
|
---|
47 | */
|
---|
48 | public $observedInTheWild;
|
---|
49 | protected $referencesType = GoogleCloudSecuritycenterV2Reference::class;
|
---|
50 | protected $referencesDataType = 'array';
|
---|
51 | /**
|
---|
52 | * @var bool
|
---|
53 | */
|
---|
54 | public $upstreamFixAvailable;
|
---|
55 | /**
|
---|
56 | * @var bool
|
---|
57 | */
|
---|
58 | public $zeroDay;
|
---|
59 |
|
---|
60 | /**
|
---|
61 | * @param GoogleCloudSecuritycenterV2Cvssv3
|
---|
62 | */
|
---|
63 | public function setCvssv3(GoogleCloudSecuritycenterV2Cvssv3 $cvssv3)
|
---|
64 | {
|
---|
65 | $this->cvssv3 = $cvssv3;
|
---|
66 | }
|
---|
67 | /**
|
---|
68 | * @return GoogleCloudSecuritycenterV2Cvssv3
|
---|
69 | */
|
---|
70 | public function getCvssv3()
|
---|
71 | {
|
---|
72 | return $this->cvssv3;
|
---|
73 | }
|
---|
74 | /**
|
---|
75 | * @param string
|
---|
76 | */
|
---|
77 | public function setExploitReleaseDate($exploitReleaseDate)
|
---|
78 | {
|
---|
79 | $this->exploitReleaseDate = $exploitReleaseDate;
|
---|
80 | }
|
---|
81 | /**
|
---|
82 | * @return string
|
---|
83 | */
|
---|
84 | public function getExploitReleaseDate()
|
---|
85 | {
|
---|
86 | return $this->exploitReleaseDate;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @param string
|
---|
90 | */
|
---|
91 | public function setExploitationActivity($exploitationActivity)
|
---|
92 | {
|
---|
93 | $this->exploitationActivity = $exploitationActivity;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @return string
|
---|
97 | */
|
---|
98 | public function getExploitationActivity()
|
---|
99 | {
|
---|
100 | return $this->exploitationActivity;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @param string
|
---|
104 | */
|
---|
105 | public function setFirstExploitationDate($firstExploitationDate)
|
---|
106 | {
|
---|
107 | $this->firstExploitationDate = $firstExploitationDate;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @return string
|
---|
111 | */
|
---|
112 | public function getFirstExploitationDate()
|
---|
113 | {
|
---|
114 | return $this->firstExploitationDate;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @param string
|
---|
118 | */
|
---|
119 | public function setId($id)
|
---|
120 | {
|
---|
121 | $this->id = $id;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @return string
|
---|
125 | */
|
---|
126 | public function getId()
|
---|
127 | {
|
---|
128 | return $this->id;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @param string
|
---|
132 | */
|
---|
133 | public function setImpact($impact)
|
---|
134 | {
|
---|
135 | $this->impact = $impact;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @return string
|
---|
139 | */
|
---|
140 | public function getImpact()
|
---|
141 | {
|
---|
142 | return $this->impact;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @param bool
|
---|
146 | */
|
---|
147 | public function setObservedInTheWild($observedInTheWild)
|
---|
148 | {
|
---|
149 | $this->observedInTheWild = $observedInTheWild;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @return bool
|
---|
153 | */
|
---|
154 | public function getObservedInTheWild()
|
---|
155 | {
|
---|
156 | return $this->observedInTheWild;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @param GoogleCloudSecuritycenterV2Reference[]
|
---|
160 | */
|
---|
161 | public function setReferences($references)
|
---|
162 | {
|
---|
163 | $this->references = $references;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @return GoogleCloudSecuritycenterV2Reference[]
|
---|
167 | */
|
---|
168 | public function getReferences()
|
---|
169 | {
|
---|
170 | return $this->references;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @param bool
|
---|
174 | */
|
---|
175 | public function setUpstreamFixAvailable($upstreamFixAvailable)
|
---|
176 | {
|
---|
177 | $this->upstreamFixAvailable = $upstreamFixAvailable;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @return bool
|
---|
181 | */
|
---|
182 | public function getUpstreamFixAvailable()
|
---|
183 | {
|
---|
184 | return $this->upstreamFixAvailable;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @param bool
|
---|
188 | */
|
---|
189 | public function setZeroDay($zeroDay)
|
---|
190 | {
|
---|
191 | $this->zeroDay = $zeroDay;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @return bool
|
---|
195 | */
|
---|
196 | public function getZeroDay()
|
---|
197 | {
|
---|
198 | return $this->zeroDay;
|
---|
199 | }
|
---|
200 | }
|
---|
201 |
|
---|
202 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
203 | class_alias(GoogleCloudSecuritycenterV2Cve::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2Cve');
|
---|