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\SecurityCommandCenter; 19 20class Cvssv3 extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $attackComplexity; 26 /** 27 * @var string 28 */ 29 public $attackVector; 30 /** 31 * @var string 32 */ 33 public $availabilityImpact; 34 public $baseScore; 35 /** 36 * @var string 37 */ 38 public $confidentialityImpact; 39 /** 40 * @var string 41 */ 42 public $integrityImpact; 43 /** 44 * @var string 45 */ 46 public $privilegesRequired; 47 /** 48 * @var string 49 */ 50 public $scope; 51 /** 52 * @var string 53 */ 54 public $userInteraction; 55 56 /** 57 * @param string 58 */ 59 public function setAttackComplexity($attackComplexity) 60 { 61 $this->attackComplexity = $attackComplexity; 62 } 63 /** 64 * @return string 65 */ 66 public function getAttackComplexity() 67 { 68 return $this->attackComplexity; 69 } 70 /** 71 * @param string 72 */ 73 public function setAttackVector($attackVector) 74 { 75 $this->attackVector = $attackVector; 76 } 77 /** 78 * @return string 79 */ 80 public function getAttackVector() 81 { 82 return $this->attackVector; 83 } 84 /** 85 * @param string 86 */ 87 public function setAvailabilityImpact($availabilityImpact) 88 { 89 $this->availabilityImpact = $availabilityImpact; 90 } 91 /** 92 * @return string 93 */ 94 public function getAvailabilityImpact() 95 { 96 return $this->availabilityImpact; 97 } 98 public function setBaseScore($baseScore) 99 { 100 $this->baseScore = $baseScore; 101 } 102 public function getBaseScore() 103 { 104 return $this->baseScore; 105 } 106 /** 107 * @param string 108 */ 109 public function setConfidentialityImpact($confidentialityImpact) 110 { 111 $this->confidentialityImpact = $confidentialityImpact; 112 } 113 /** 114 * @return string 115 */ 116 public function getConfidentialityImpact() 117 { 118 return $this->confidentialityImpact; 119 } 120 /** 121 * @param string 122 */ 123 public function setIntegrityImpact($integrityImpact) 124 { 125 $this->integrityImpact = $integrityImpact; 126 } 127 /** 128 * @return string 129 */ 130 public function getIntegrityImpact() 131 { 132 return $this->integrityImpact; 133 } 134 /** 135 * @param string 136 */ 137 public function setPrivilegesRequired($privilegesRequired) 138 { 139 $this->privilegesRequired = $privilegesRequired; 140 } 141 /** 142 * @return string 143 */ 144 public function getPrivilegesRequired() 145 { 146 return $this->privilegesRequired; 147 } 148 /** 149 * @param string 150 */ 151 public function setScope($scope) 152 { 153 $this->scope = $scope; 154 } 155 /** 156 * @return string 157 */ 158 public function getScope() 159 { 160 return $this->scope; 161 } 162 /** 163 * @param string 164 */ 165 public function setUserInteraction($userInteraction) 166 { 167 $this->userInteraction = $userInteraction; 168 } 169 /** 170 * @return string 171 */ 172 public function getUserInteraction() 173 { 174 return $this->userInteraction; 175 } 176} 177 178// Adding a class alias for backwards compatibility with the previous class name. 179class_alias(Cvssv3::class, 'Google_Service_SecurityCommandCenter_Cvssv3'); 180