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\Analytics; 19 20class Webproperty extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $accountId; 26 protected $childLinkType = WebpropertyChildLink::class; 27 protected $childLinkDataType = ''; 28 /** 29 * @var string 30 */ 31 public $created; 32 /** 33 * @var bool 34 */ 35 public $dataRetentionResetOnNewActivity; 36 /** 37 * @var string 38 */ 39 public $dataRetentionTtl; 40 /** 41 * @var string 42 */ 43 public $defaultProfileId; 44 /** 45 * @var string 46 */ 47 public $id; 48 /** 49 * @var string 50 */ 51 public $industryVertical; 52 /** 53 * @var string 54 */ 55 public $internalWebPropertyId; 56 /** 57 * @var string 58 */ 59 public $kind; 60 /** 61 * @var string 62 */ 63 public $level; 64 /** 65 * @var string 66 */ 67 public $name; 68 protected $parentLinkType = WebpropertyParentLink::class; 69 protected $parentLinkDataType = ''; 70 protected $permissionsType = WebpropertyPermissions::class; 71 protected $permissionsDataType = ''; 72 /** 73 * @var int 74 */ 75 public $profileCount; 76 /** 77 * @var string 78 */ 79 public $selfLink; 80 /** 81 * @var bool 82 */ 83 public $starred; 84 /** 85 * @var string 86 */ 87 public $updated; 88 /** 89 * @var string 90 */ 91 public $websiteUrl; 92 93 /** 94 * @param string 95 */ 96 public function setAccountId($accountId) 97 { 98 $this->accountId = $accountId; 99 } 100 /** 101 * @return string 102 */ 103 public function getAccountId() 104 { 105 return $this->accountId; 106 } 107 /** 108 * @param WebpropertyChildLink 109 */ 110 public function setChildLink(WebpropertyChildLink $childLink) 111 { 112 $this->childLink = $childLink; 113 } 114 /** 115 * @return WebpropertyChildLink 116 */ 117 public function getChildLink() 118 { 119 return $this->childLink; 120 } 121 /** 122 * @param string 123 */ 124 public function setCreated($created) 125 { 126 $this->created = $created; 127 } 128 /** 129 * @return string 130 */ 131 public function getCreated() 132 { 133 return $this->created; 134 } 135 /** 136 * @param bool 137 */ 138 public function setDataRetentionResetOnNewActivity($dataRetentionResetOnNewActivity) 139 { 140 $this->dataRetentionResetOnNewActivity = $dataRetentionResetOnNewActivity; 141 } 142 /** 143 * @return bool 144 */ 145 public function getDataRetentionResetOnNewActivity() 146 { 147 return $this->dataRetentionResetOnNewActivity; 148 } 149 /** 150 * @param string 151 */ 152 public function setDataRetentionTtl($dataRetentionTtl) 153 { 154 $this->dataRetentionTtl = $dataRetentionTtl; 155 } 156 /** 157 * @return string 158 */ 159 public function getDataRetentionTtl() 160 { 161 return $this->dataRetentionTtl; 162 } 163 /** 164 * @param string 165 */ 166 public function setDefaultProfileId($defaultProfileId) 167 { 168 $this->defaultProfileId = $defaultProfileId; 169 } 170 /** 171 * @return string 172 */ 173 public function getDefaultProfileId() 174 { 175 return $this->defaultProfileId; 176 } 177 /** 178 * @param string 179 */ 180 public function setId($id) 181 { 182 $this->id = $id; 183 } 184 /** 185 * @return string 186 */ 187 public function getId() 188 { 189 return $this->id; 190 } 191 /** 192 * @param string 193 */ 194 public function setIndustryVertical($industryVertical) 195 { 196 $this->industryVertical = $industryVertical; 197 } 198 /** 199 * @return string 200 */ 201 public function getIndustryVertical() 202 { 203 return $this->industryVertical; 204 } 205 /** 206 * @param string 207 */ 208 public function setInternalWebPropertyId($internalWebPropertyId) 209 { 210 $this->internalWebPropertyId = $internalWebPropertyId; 211 } 212 /** 213 * @return string 214 */ 215 public function getInternalWebPropertyId() 216 { 217 return $this->internalWebPropertyId; 218 } 219 /** 220 * @param string 221 */ 222 public function setKind($kind) 223 { 224 $this->kind = $kind; 225 } 226 /** 227 * @return string 228 */ 229 public function getKind() 230 { 231 return $this->kind; 232 } 233 /** 234 * @param string 235 */ 236 public function setLevel($level) 237 { 238 $this->level = $level; 239 } 240 /** 241 * @return string 242 */ 243 public function getLevel() 244 { 245 return $this->level; 246 } 247 /** 248 * @param string 249 */ 250 public function setName($name) 251 { 252 $this->name = $name; 253 } 254 /** 255 * @return string 256 */ 257 public function getName() 258 { 259 return $this->name; 260 } 261 /** 262 * @param WebpropertyParentLink 263 */ 264 public function setParentLink(WebpropertyParentLink $parentLink) 265 { 266 $this->parentLink = $parentLink; 267 } 268 /** 269 * @return WebpropertyParentLink 270 */ 271 public function getParentLink() 272 { 273 return $this->parentLink; 274 } 275 /** 276 * @param WebpropertyPermissions 277 */ 278 public function setPermissions(WebpropertyPermissions $permissions) 279 { 280 $this->permissions = $permissions; 281 } 282 /** 283 * @return WebpropertyPermissions 284 */ 285 public function getPermissions() 286 { 287 return $this->permissions; 288 } 289 /** 290 * @param int 291 */ 292 public function setProfileCount($profileCount) 293 { 294 $this->profileCount = $profileCount; 295 } 296 /** 297 * @return int 298 */ 299 public function getProfileCount() 300 { 301 return $this->profileCount; 302 } 303 /** 304 * @param string 305 */ 306 public function setSelfLink($selfLink) 307 { 308 $this->selfLink = $selfLink; 309 } 310 /** 311 * @return string 312 */ 313 public function getSelfLink() 314 { 315 return $this->selfLink; 316 } 317 /** 318 * @param bool 319 */ 320 public function setStarred($starred) 321 { 322 $this->starred = $starred; 323 } 324 /** 325 * @return bool 326 */ 327 public function getStarred() 328 { 329 return $this->starred; 330 } 331 /** 332 * @param string 333 */ 334 public function setUpdated($updated) 335 { 336 $this->updated = $updated; 337 } 338 /** 339 * @return string 340 */ 341 public function getUpdated() 342 { 343 return $this->updated; 344 } 345 /** 346 * @param string 347 */ 348 public function setWebsiteUrl($websiteUrl) 349 { 350 $this->websiteUrl = $websiteUrl; 351 } 352 /** 353 * @return string 354 */ 355 public function getWebsiteUrl() 356 { 357 return $this->websiteUrl; 358 } 359} 360 361// Adding a class alias for backwards compatibility with the previous class name. 362class_alias(Webproperty::class, 'Google_Service_Analytics_Webproperty'); 363