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 PackageIssue extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $affectedCpeUri; 26 /** 27 * @var string 28 */ 29 public $affectedPackage; 30 protected $affectedVersionType = Version::class; 31 protected $affectedVersionDataType = ''; 32 /** 33 * @var string 34 */ 35 public $effectiveSeverity; 36 /** 37 * @var bool 38 */ 39 public $fixAvailable; 40 /** 41 * @var string 42 */ 43 public $fixedCpeUri; 44 /** 45 * @var string 46 */ 47 public $fixedPackage; 48 protected $fixedVersionType = Version::class; 49 protected $fixedVersionDataType = ''; 50 /** 51 * @var string 52 */ 53 public $packageType; 54 55 /** 56 * @param string 57 */ 58 public function setAffectedCpeUri($affectedCpeUri) 59 { 60 $this->affectedCpeUri = $affectedCpeUri; 61 } 62 /** 63 * @return string 64 */ 65 public function getAffectedCpeUri() 66 { 67 return $this->affectedCpeUri; 68 } 69 /** 70 * @param string 71 */ 72 public function setAffectedPackage($affectedPackage) 73 { 74 $this->affectedPackage = $affectedPackage; 75 } 76 /** 77 * @return string 78 */ 79 public function getAffectedPackage() 80 { 81 return $this->affectedPackage; 82 } 83 /** 84 * @param Version 85 */ 86 public function setAffectedVersion(Version $affectedVersion) 87 { 88 $this->affectedVersion = $affectedVersion; 89 } 90 /** 91 * @return Version 92 */ 93 public function getAffectedVersion() 94 { 95 return $this->affectedVersion; 96 } 97 /** 98 * @param string 99 */ 100 public function setEffectiveSeverity($effectiveSeverity) 101 { 102 $this->effectiveSeverity = $effectiveSeverity; 103 } 104 /** 105 * @return string 106 */ 107 public function getEffectiveSeverity() 108 { 109 return $this->effectiveSeverity; 110 } 111 /** 112 * @param bool 113 */ 114 public function setFixAvailable($fixAvailable) 115 { 116 $this->fixAvailable = $fixAvailable; 117 } 118 /** 119 * @return bool 120 */ 121 public function getFixAvailable() 122 { 123 return $this->fixAvailable; 124 } 125 /** 126 * @param string 127 */ 128 public function setFixedCpeUri($fixedCpeUri) 129 { 130 $this->fixedCpeUri = $fixedCpeUri; 131 } 132 /** 133 * @return string 134 */ 135 public function getFixedCpeUri() 136 { 137 return $this->fixedCpeUri; 138 } 139 /** 140 * @param string 141 */ 142 public function setFixedPackage($fixedPackage) 143 { 144 $this->fixedPackage = $fixedPackage; 145 } 146 /** 147 * @return string 148 */ 149 public function getFixedPackage() 150 { 151 return $this->fixedPackage; 152 } 153 /** 154 * @param Version 155 */ 156 public function setFixedVersion(Version $fixedVersion) 157 { 158 $this->fixedVersion = $fixedVersion; 159 } 160 /** 161 * @return Version 162 */ 163 public function getFixedVersion() 164 { 165 return $this->fixedVersion; 166 } 167 /** 168 * @param string 169 */ 170 public function setPackageType($packageType) 171 { 172 $this->packageType = $packageType; 173 } 174 /** 175 * @return string 176 */ 177 public function getPackageType() 178 { 179 return $this->packageType; 180 } 181} 182 183// Adding a class alias for backwards compatibility with the previous class name. 184class_alias(PackageIssue::class, 'Google_Service_ContainerAnalysis_PackageIssue'); 185