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\AlertCenter; 19 20class Alert extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $alertId; 26 /** 27 * @var string 28 */ 29 public $createTime; 30 /** 31 * @var string 32 */ 33 public $customerId; 34 /** 35 * @var array[] 36 */ 37 public $data; 38 /** 39 * @var bool 40 */ 41 public $deleted; 42 /** 43 * @var string 44 */ 45 public $endTime; 46 /** 47 * @var string 48 */ 49 public $etag; 50 protected $metadataType = AlertMetadata::class; 51 protected $metadataDataType = ''; 52 /** 53 * @var string 54 */ 55 public $securityInvestigationToolLink; 56 /** 57 * @var string 58 */ 59 public $source; 60 /** 61 * @var string 62 */ 63 public $startTime; 64 /** 65 * @var string 66 */ 67 public $type; 68 /** 69 * @var string 70 */ 71 public $updateTime; 72 73 /** 74 * @param string 75 */ 76 public function setAlertId($alertId) 77 { 78 $this->alertId = $alertId; 79 } 80 /** 81 * @return string 82 */ 83 public function getAlertId() 84 { 85 return $this->alertId; 86 } 87 /** 88 * @param string 89 */ 90 public function setCreateTime($createTime) 91 { 92 $this->createTime = $createTime; 93 } 94 /** 95 * @return string 96 */ 97 public function getCreateTime() 98 { 99 return $this->createTime; 100 } 101 /** 102 * @param string 103 */ 104 public function setCustomerId($customerId) 105 { 106 $this->customerId = $customerId; 107 } 108 /** 109 * @return string 110 */ 111 public function getCustomerId() 112 { 113 return $this->customerId; 114 } 115 /** 116 * @param array[] 117 */ 118 public function setData($data) 119 { 120 $this->data = $data; 121 } 122 /** 123 * @return array[] 124 */ 125 public function getData() 126 { 127 return $this->data; 128 } 129 /** 130 * @param bool 131 */ 132 public function setDeleted($deleted) 133 { 134 $this->deleted = $deleted; 135 } 136 /** 137 * @return bool 138 */ 139 public function getDeleted() 140 { 141 return $this->deleted; 142 } 143 /** 144 * @param string 145 */ 146 public function setEndTime($endTime) 147 { 148 $this->endTime = $endTime; 149 } 150 /** 151 * @return string 152 */ 153 public function getEndTime() 154 { 155 return $this->endTime; 156 } 157 /** 158 * @param string 159 */ 160 public function setEtag($etag) 161 { 162 $this->etag = $etag; 163 } 164 /** 165 * @return string 166 */ 167 public function getEtag() 168 { 169 return $this->etag; 170 } 171 /** 172 * @param AlertMetadata 173 */ 174 public function setMetadata(AlertMetadata $metadata) 175 { 176 $this->metadata = $metadata; 177 } 178 /** 179 * @return AlertMetadata 180 */ 181 public function getMetadata() 182 { 183 return $this->metadata; 184 } 185 /** 186 * @param string 187 */ 188 public function setSecurityInvestigationToolLink($securityInvestigationToolLink) 189 { 190 $this->securityInvestigationToolLink = $securityInvestigationToolLink; 191 } 192 /** 193 * @return string 194 */ 195 public function getSecurityInvestigationToolLink() 196 { 197 return $this->securityInvestigationToolLink; 198 } 199 /** 200 * @param string 201 */ 202 public function setSource($source) 203 { 204 $this->source = $source; 205 } 206 /** 207 * @return string 208 */ 209 public function getSource() 210 { 211 return $this->source; 212 } 213 /** 214 * @param string 215 */ 216 public function setStartTime($startTime) 217 { 218 $this->startTime = $startTime; 219 } 220 /** 221 * @return string 222 */ 223 public function getStartTime() 224 { 225 return $this->startTime; 226 } 227 /** 228 * @param string 229 */ 230 public function setType($type) 231 { 232 $this->type = $type; 233 } 234 /** 235 * @return string 236 */ 237 public function getType() 238 { 239 return $this->type; 240 } 241 /** 242 * @param string 243 */ 244 public function setUpdateTime($updateTime) 245 { 246 $this->updateTime = $updateTime; 247 } 248 /** 249 * @return string 250 */ 251 public function getUpdateTime() 252 { 253 return $this->updateTime; 254 } 255} 256 257// Adding a class alias for backwards compatibility with the previous class name. 258class_alias(Alert::class, 'Google_Service_AlertCenter_Alert'); 259