source: vendor/google/apiclient-services/src/ContainerAnalysis/VulnerabilityNote.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 3.2 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 VulnerabilityNote extends \Google\Collection
21{
22 protected $collection_key = 'windowsDetails';
23 /**
24 * @var float
25 */
26 public $cvssScore;
27 protected $cvssV2Type = CVSS::class;
28 protected $cvssV2DataType = '';
29 protected $cvssV3Type = CVSSv3::class;
30 protected $cvssV3DataType = '';
31 /**
32 * @var string
33 */
34 public $cvssVersion;
35 protected $detailsType = Detail::class;
36 protected $detailsDataType = 'array';
37 /**
38 * @var string
39 */
40 public $severity;
41 /**
42 * @var string
43 */
44 public $sourceUpdateTime;
45 protected $windowsDetailsType = WindowsDetail::class;
46 protected $windowsDetailsDataType = 'array';
47
48 /**
49 * @param float
50 */
51 public function setCvssScore($cvssScore)
52 {
53 $this->cvssScore = $cvssScore;
54 }
55 /**
56 * @return float
57 */
58 public function getCvssScore()
59 {
60 return $this->cvssScore;
61 }
62 /**
63 * @param CVSS
64 */
65 public function setCvssV2(CVSS $cvssV2)
66 {
67 $this->cvssV2 = $cvssV2;
68 }
69 /**
70 * @return CVSS
71 */
72 public function getCvssV2()
73 {
74 return $this->cvssV2;
75 }
76 /**
77 * @param CVSSv3
78 */
79 public function setCvssV3(CVSSv3 $cvssV3)
80 {
81 $this->cvssV3 = $cvssV3;
82 }
83 /**
84 * @return CVSSv3
85 */
86 public function getCvssV3()
87 {
88 return $this->cvssV3;
89 }
90 /**
91 * @param string
92 */
93 public function setCvssVersion($cvssVersion)
94 {
95 $this->cvssVersion = $cvssVersion;
96 }
97 /**
98 * @return string
99 */
100 public function getCvssVersion()
101 {
102 return $this->cvssVersion;
103 }
104 /**
105 * @param Detail[]
106 */
107 public function setDetails($details)
108 {
109 $this->details = $details;
110 }
111 /**
112 * @return Detail[]
113 */
114 public function getDetails()
115 {
116 return $this->details;
117 }
118 /**
119 * @param string
120 */
121 public function setSeverity($severity)
122 {
123 $this->severity = $severity;
124 }
125 /**
126 * @return string
127 */
128 public function getSeverity()
129 {
130 return $this->severity;
131 }
132 /**
133 * @param string
134 */
135 public function setSourceUpdateTime($sourceUpdateTime)
136 {
137 $this->sourceUpdateTime = $sourceUpdateTime;
138 }
139 /**
140 * @return string
141 */
142 public function getSourceUpdateTime()
143 {
144 return $this->sourceUpdateTime;
145 }
146 /**
147 * @param WindowsDetail[]
148 */
149 public function setWindowsDetails($windowsDetails)
150 {
151 $this->windowsDetails = $windowsDetails;
152 }
153 /**
154 * @return WindowsDetail[]
155 */
156 public function getWindowsDetails()
157 {
158 return $this->windowsDetails;
159 }
160}
161
162// Adding a class alias for backwards compatibility with the previous class name.
163class_alias(VulnerabilityNote::class, 'Google_Service_ContainerAnalysis_VulnerabilityNote');
Note: See TracBrowser for help on using the repository browser.