[f9c482b] | 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 |
|
---|
| 18 | namespace Google\Service\Analytics;
|
---|
| 19 |
|
---|
| 20 | class Goal extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string
|
---|
| 24 | */
|
---|
| 25 | public $accountId;
|
---|
| 26 | /**
|
---|
| 27 | * @var bool
|
---|
| 28 | */
|
---|
| 29 | public $active;
|
---|
| 30 | /**
|
---|
| 31 | * @var string
|
---|
| 32 | */
|
---|
| 33 | public $created;
|
---|
| 34 | protected $eventDetailsType = GoalEventDetails::class;
|
---|
| 35 | protected $eventDetailsDataType = '';
|
---|
| 36 | /**
|
---|
| 37 | * @var string
|
---|
| 38 | */
|
---|
| 39 | public $id;
|
---|
| 40 | /**
|
---|
| 41 | * @var string
|
---|
| 42 | */
|
---|
| 43 | public $internalWebPropertyId;
|
---|
| 44 | /**
|
---|
| 45 | * @var string
|
---|
| 46 | */
|
---|
| 47 | public $kind;
|
---|
| 48 | /**
|
---|
| 49 | * @var string
|
---|
| 50 | */
|
---|
| 51 | public $name;
|
---|
| 52 | protected $parentLinkType = GoalParentLink::class;
|
---|
| 53 | protected $parentLinkDataType = '';
|
---|
| 54 | /**
|
---|
| 55 | * @var string
|
---|
| 56 | */
|
---|
| 57 | public $profileId;
|
---|
| 58 | /**
|
---|
| 59 | * @var string
|
---|
| 60 | */
|
---|
| 61 | public $selfLink;
|
---|
| 62 | /**
|
---|
| 63 | * @var string
|
---|
| 64 | */
|
---|
| 65 | public $type;
|
---|
| 66 | /**
|
---|
| 67 | * @var string
|
---|
| 68 | */
|
---|
| 69 | public $updated;
|
---|
| 70 | protected $urlDestinationDetailsType = GoalUrlDestinationDetails::class;
|
---|
| 71 | protected $urlDestinationDetailsDataType = '';
|
---|
| 72 | /**
|
---|
| 73 | * @var float
|
---|
| 74 | */
|
---|
| 75 | public $value;
|
---|
| 76 | protected $visitNumPagesDetailsType = GoalVisitNumPagesDetails::class;
|
---|
| 77 | protected $visitNumPagesDetailsDataType = '';
|
---|
| 78 | protected $visitTimeOnSiteDetailsType = GoalVisitTimeOnSiteDetails::class;
|
---|
| 79 | protected $visitTimeOnSiteDetailsDataType = '';
|
---|
| 80 | /**
|
---|
| 81 | * @var string
|
---|
| 82 | */
|
---|
| 83 | public $webPropertyId;
|
---|
| 84 |
|
---|
| 85 | /**
|
---|
| 86 | * @param string
|
---|
| 87 | */
|
---|
| 88 | public function setAccountId($accountId)
|
---|
| 89 | {
|
---|
| 90 | $this->accountId = $accountId;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @return string
|
---|
| 94 | */
|
---|
| 95 | public function getAccountId()
|
---|
| 96 | {
|
---|
| 97 | return $this->accountId;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @param bool
|
---|
| 101 | */
|
---|
| 102 | public function setActive($active)
|
---|
| 103 | {
|
---|
| 104 | $this->active = $active;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @return bool
|
---|
| 108 | */
|
---|
| 109 | public function getActive()
|
---|
| 110 | {
|
---|
| 111 | return $this->active;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @param string
|
---|
| 115 | */
|
---|
| 116 | public function setCreated($created)
|
---|
| 117 | {
|
---|
| 118 | $this->created = $created;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @return string
|
---|
| 122 | */
|
---|
| 123 | public function getCreated()
|
---|
| 124 | {
|
---|
| 125 | return $this->created;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @param GoalEventDetails
|
---|
| 129 | */
|
---|
| 130 | public function setEventDetails(GoalEventDetails $eventDetails)
|
---|
| 131 | {
|
---|
| 132 | $this->eventDetails = $eventDetails;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @return GoalEventDetails
|
---|
| 136 | */
|
---|
| 137 | public function getEventDetails()
|
---|
| 138 | {
|
---|
| 139 | return $this->eventDetails;
|
---|
| 140 | }
|
---|
| 141 | /**
|
---|
| 142 | * @param string
|
---|
| 143 | */
|
---|
| 144 | public function setId($id)
|
---|
| 145 | {
|
---|
| 146 | $this->id = $id;
|
---|
| 147 | }
|
---|
| 148 | /**
|
---|
| 149 | * @return string
|
---|
| 150 | */
|
---|
| 151 | public function getId()
|
---|
| 152 | {
|
---|
| 153 | return $this->id;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @param string
|
---|
| 157 | */
|
---|
| 158 | public function setInternalWebPropertyId($internalWebPropertyId)
|
---|
| 159 | {
|
---|
| 160 | $this->internalWebPropertyId = $internalWebPropertyId;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @return string
|
---|
| 164 | */
|
---|
| 165 | public function getInternalWebPropertyId()
|
---|
| 166 | {
|
---|
| 167 | return $this->internalWebPropertyId;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @param string
|
---|
| 171 | */
|
---|
| 172 | public function setKind($kind)
|
---|
| 173 | {
|
---|
| 174 | $this->kind = $kind;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @return string
|
---|
| 178 | */
|
---|
| 179 | public function getKind()
|
---|
| 180 | {
|
---|
| 181 | return $this->kind;
|
---|
| 182 | }
|
---|
| 183 | /**
|
---|
| 184 | * @param string
|
---|
| 185 | */
|
---|
| 186 | public function setName($name)
|
---|
| 187 | {
|
---|
| 188 | $this->name = $name;
|
---|
| 189 | }
|
---|
| 190 | /**
|
---|
| 191 | * @return string
|
---|
| 192 | */
|
---|
| 193 | public function getName()
|
---|
| 194 | {
|
---|
| 195 | return $this->name;
|
---|
| 196 | }
|
---|
| 197 | /**
|
---|
| 198 | * @param GoalParentLink
|
---|
| 199 | */
|
---|
| 200 | public function setParentLink(GoalParentLink $parentLink)
|
---|
| 201 | {
|
---|
| 202 | $this->parentLink = $parentLink;
|
---|
| 203 | }
|
---|
| 204 | /**
|
---|
| 205 | * @return GoalParentLink
|
---|
| 206 | */
|
---|
| 207 | public function getParentLink()
|
---|
| 208 | {
|
---|
| 209 | return $this->parentLink;
|
---|
| 210 | }
|
---|
| 211 | /**
|
---|
| 212 | * @param string
|
---|
| 213 | */
|
---|
| 214 | public function setProfileId($profileId)
|
---|
| 215 | {
|
---|
| 216 | $this->profileId = $profileId;
|
---|
| 217 | }
|
---|
| 218 | /**
|
---|
| 219 | * @return string
|
---|
| 220 | */
|
---|
| 221 | public function getProfileId()
|
---|
| 222 | {
|
---|
| 223 | return $this->profileId;
|
---|
| 224 | }
|
---|
| 225 | /**
|
---|
| 226 | * @param string
|
---|
| 227 | */
|
---|
| 228 | public function setSelfLink($selfLink)
|
---|
| 229 | {
|
---|
| 230 | $this->selfLink = $selfLink;
|
---|
| 231 | }
|
---|
| 232 | /**
|
---|
| 233 | * @return string
|
---|
| 234 | */
|
---|
| 235 | public function getSelfLink()
|
---|
| 236 | {
|
---|
| 237 | return $this->selfLink;
|
---|
| 238 | }
|
---|
| 239 | /**
|
---|
| 240 | * @param string
|
---|
| 241 | */
|
---|
| 242 | public function setType($type)
|
---|
| 243 | {
|
---|
| 244 | $this->type = $type;
|
---|
| 245 | }
|
---|
| 246 | /**
|
---|
| 247 | * @return string
|
---|
| 248 | */
|
---|
| 249 | public function getType()
|
---|
| 250 | {
|
---|
| 251 | return $this->type;
|
---|
| 252 | }
|
---|
| 253 | /**
|
---|
| 254 | * @param string
|
---|
| 255 | */
|
---|
| 256 | public function setUpdated($updated)
|
---|
| 257 | {
|
---|
| 258 | $this->updated = $updated;
|
---|
| 259 | }
|
---|
| 260 | /**
|
---|
| 261 | * @return string
|
---|
| 262 | */
|
---|
| 263 | public function getUpdated()
|
---|
| 264 | {
|
---|
| 265 | return $this->updated;
|
---|
| 266 | }
|
---|
| 267 | /**
|
---|
| 268 | * @param GoalUrlDestinationDetails
|
---|
| 269 | */
|
---|
| 270 | public function setUrlDestinationDetails(GoalUrlDestinationDetails $urlDestinationDetails)
|
---|
| 271 | {
|
---|
| 272 | $this->urlDestinationDetails = $urlDestinationDetails;
|
---|
| 273 | }
|
---|
| 274 | /**
|
---|
| 275 | * @return GoalUrlDestinationDetails
|
---|
| 276 | */
|
---|
| 277 | public function getUrlDestinationDetails()
|
---|
| 278 | {
|
---|
| 279 | return $this->urlDestinationDetails;
|
---|
| 280 | }
|
---|
| 281 | /**
|
---|
| 282 | * @param float
|
---|
| 283 | */
|
---|
| 284 | public function setValue($value)
|
---|
| 285 | {
|
---|
| 286 | $this->value = $value;
|
---|
| 287 | }
|
---|
| 288 | /**
|
---|
| 289 | * @return float
|
---|
| 290 | */
|
---|
| 291 | public function getValue()
|
---|
| 292 | {
|
---|
| 293 | return $this->value;
|
---|
| 294 | }
|
---|
| 295 | /**
|
---|
| 296 | * @param GoalVisitNumPagesDetails
|
---|
| 297 | */
|
---|
| 298 | public function setVisitNumPagesDetails(GoalVisitNumPagesDetails $visitNumPagesDetails)
|
---|
| 299 | {
|
---|
| 300 | $this->visitNumPagesDetails = $visitNumPagesDetails;
|
---|
| 301 | }
|
---|
| 302 | /**
|
---|
| 303 | * @return GoalVisitNumPagesDetails
|
---|
| 304 | */
|
---|
| 305 | public function getVisitNumPagesDetails()
|
---|
| 306 | {
|
---|
| 307 | return $this->visitNumPagesDetails;
|
---|
| 308 | }
|
---|
| 309 | /**
|
---|
| 310 | * @param GoalVisitTimeOnSiteDetails
|
---|
| 311 | */
|
---|
| 312 | public function setVisitTimeOnSiteDetails(GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
|
---|
| 313 | {
|
---|
| 314 | $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
|
---|
| 315 | }
|
---|
| 316 | /**
|
---|
| 317 | * @return GoalVisitTimeOnSiteDetails
|
---|
| 318 | */
|
---|
| 319 | public function getVisitTimeOnSiteDetails()
|
---|
| 320 | {
|
---|
| 321 | return $this->visitTimeOnSiteDetails;
|
---|
| 322 | }
|
---|
| 323 | /**
|
---|
| 324 | * @param string
|
---|
| 325 | */
|
---|
| 326 | public function setWebPropertyId($webPropertyId)
|
---|
| 327 | {
|
---|
| 328 | $this->webPropertyId = $webPropertyId;
|
---|
| 329 | }
|
---|
| 330 | /**
|
---|
| 331 | * @return string
|
---|
| 332 | */
|
---|
| 333 | public function getWebPropertyId()
|
---|
| 334 | {
|
---|
| 335 | return $this->webPropertyId;
|
---|
| 336 | }
|
---|
| 337 | }
|
---|
| 338 |
|
---|
| 339 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 340 | class_alias(Goal::class, 'Google_Service_Analytics_Goal');
|
---|