[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\SA360;
|
---|
| 19 |
|
---|
| 20 | class GoogleAdsSearchads360V0ResourcesAsset extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'finalUrls';
|
---|
| 23 | protected $callAssetType = GoogleAdsSearchads360V0CommonUnifiedCallAsset::class;
|
---|
| 24 | protected $callAssetDataType = '';
|
---|
| 25 | protected $callToActionAssetType = GoogleAdsSearchads360V0CommonCallToActionAsset::class;
|
---|
| 26 | protected $callToActionAssetDataType = '';
|
---|
| 27 | protected $calloutAssetType = GoogleAdsSearchads360V0CommonUnifiedCalloutAsset::class;
|
---|
| 28 | protected $calloutAssetDataType = '';
|
---|
| 29 | /**
|
---|
| 30 | * @var string
|
---|
| 31 | */
|
---|
| 32 | public $creationTime;
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $engineStatus;
|
---|
| 37 | /**
|
---|
| 38 | * @var string[]
|
---|
| 39 | */
|
---|
| 40 | public $finalUrls;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $id;
|
---|
| 45 | protected $imageAssetType = GoogleAdsSearchads360V0CommonImageAsset::class;
|
---|
| 46 | protected $imageAssetDataType = '';
|
---|
| 47 | /**
|
---|
| 48 | * @var string
|
---|
| 49 | */
|
---|
| 50 | public $lastModifiedTime;
|
---|
| 51 | protected $locationAssetType = GoogleAdsSearchads360V0CommonUnifiedLocationAsset::class;
|
---|
| 52 | protected $locationAssetDataType = '';
|
---|
| 53 | protected $mobileAppAssetType = GoogleAdsSearchads360V0CommonMobileAppAsset::class;
|
---|
| 54 | protected $mobileAppAssetDataType = '';
|
---|
| 55 | /**
|
---|
| 56 | * @var string
|
---|
| 57 | */
|
---|
| 58 | public $name;
|
---|
| 59 | protected $pageFeedAssetType = GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset::class;
|
---|
| 60 | protected $pageFeedAssetDataType = '';
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $resourceName;
|
---|
| 65 | protected $sitelinkAssetType = GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset::class;
|
---|
| 66 | protected $sitelinkAssetDataType = '';
|
---|
| 67 | /**
|
---|
| 68 | * @var string
|
---|
| 69 | */
|
---|
| 70 | public $status;
|
---|
| 71 | protected $textAssetType = GoogleAdsSearchads360V0CommonTextAsset::class;
|
---|
| 72 | protected $textAssetDataType = '';
|
---|
| 73 | /**
|
---|
| 74 | * @var string
|
---|
| 75 | */
|
---|
| 76 | public $trackingUrlTemplate;
|
---|
| 77 | /**
|
---|
| 78 | * @var string
|
---|
| 79 | */
|
---|
| 80 | public $type;
|
---|
| 81 | protected $youtubeVideoAssetType = GoogleAdsSearchads360V0CommonYoutubeVideoAsset::class;
|
---|
| 82 | protected $youtubeVideoAssetDataType = '';
|
---|
| 83 |
|
---|
| 84 | /**
|
---|
| 85 | * @param GoogleAdsSearchads360V0CommonUnifiedCallAsset
|
---|
| 86 | */
|
---|
| 87 | public function setCallAsset(GoogleAdsSearchads360V0CommonUnifiedCallAsset $callAsset)
|
---|
| 88 | {
|
---|
| 89 | $this->callAsset = $callAsset;
|
---|
| 90 | }
|
---|
| 91 | /**
|
---|
| 92 | * @return GoogleAdsSearchads360V0CommonUnifiedCallAsset
|
---|
| 93 | */
|
---|
| 94 | public function getCallAsset()
|
---|
| 95 | {
|
---|
| 96 | return $this->callAsset;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @param GoogleAdsSearchads360V0CommonCallToActionAsset
|
---|
| 100 | */
|
---|
| 101 | public function setCallToActionAsset(GoogleAdsSearchads360V0CommonCallToActionAsset $callToActionAsset)
|
---|
| 102 | {
|
---|
| 103 | $this->callToActionAsset = $callToActionAsset;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @return GoogleAdsSearchads360V0CommonCallToActionAsset
|
---|
| 107 | */
|
---|
| 108 | public function getCallToActionAsset()
|
---|
| 109 | {
|
---|
| 110 | return $this->callToActionAsset;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @param GoogleAdsSearchads360V0CommonUnifiedCalloutAsset
|
---|
| 114 | */
|
---|
| 115 | public function setCalloutAsset(GoogleAdsSearchads360V0CommonUnifiedCalloutAsset $calloutAsset)
|
---|
| 116 | {
|
---|
| 117 | $this->calloutAsset = $calloutAsset;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @return GoogleAdsSearchads360V0CommonUnifiedCalloutAsset
|
---|
| 121 | */
|
---|
| 122 | public function getCalloutAsset()
|
---|
| 123 | {
|
---|
| 124 | return $this->calloutAsset;
|
---|
| 125 | }
|
---|
| 126 | /**
|
---|
| 127 | * @param string
|
---|
| 128 | */
|
---|
| 129 | public function setCreationTime($creationTime)
|
---|
| 130 | {
|
---|
| 131 | $this->creationTime = $creationTime;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @return string
|
---|
| 135 | */
|
---|
| 136 | public function getCreationTime()
|
---|
| 137 | {
|
---|
| 138 | return $this->creationTime;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @param string
|
---|
| 142 | */
|
---|
| 143 | public function setEngineStatus($engineStatus)
|
---|
| 144 | {
|
---|
| 145 | $this->engineStatus = $engineStatus;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @return string
|
---|
| 149 | */
|
---|
| 150 | public function getEngineStatus()
|
---|
| 151 | {
|
---|
| 152 | return $this->engineStatus;
|
---|
| 153 | }
|
---|
| 154 | /**
|
---|
| 155 | * @param string[]
|
---|
| 156 | */
|
---|
| 157 | public function setFinalUrls($finalUrls)
|
---|
| 158 | {
|
---|
| 159 | $this->finalUrls = $finalUrls;
|
---|
| 160 | }
|
---|
| 161 | /**
|
---|
| 162 | * @return string[]
|
---|
| 163 | */
|
---|
| 164 | public function getFinalUrls()
|
---|
| 165 | {
|
---|
| 166 | return $this->finalUrls;
|
---|
| 167 | }
|
---|
| 168 | /**
|
---|
| 169 | * @param string
|
---|
| 170 | */
|
---|
| 171 | public function setId($id)
|
---|
| 172 | {
|
---|
| 173 | $this->id = $id;
|
---|
| 174 | }
|
---|
| 175 | /**
|
---|
| 176 | * @return string
|
---|
| 177 | */
|
---|
| 178 | public function getId()
|
---|
| 179 | {
|
---|
| 180 | return $this->id;
|
---|
| 181 | }
|
---|
| 182 | /**
|
---|
| 183 | * @param GoogleAdsSearchads360V0CommonImageAsset
|
---|
| 184 | */
|
---|
| 185 | public function setImageAsset(GoogleAdsSearchads360V0CommonImageAsset $imageAsset)
|
---|
| 186 | {
|
---|
| 187 | $this->imageAsset = $imageAsset;
|
---|
| 188 | }
|
---|
| 189 | /**
|
---|
| 190 | * @return GoogleAdsSearchads360V0CommonImageAsset
|
---|
| 191 | */
|
---|
| 192 | public function getImageAsset()
|
---|
| 193 | {
|
---|
| 194 | return $this->imageAsset;
|
---|
| 195 | }
|
---|
| 196 | /**
|
---|
| 197 | * @param string
|
---|
| 198 | */
|
---|
| 199 | public function setLastModifiedTime($lastModifiedTime)
|
---|
| 200 | {
|
---|
| 201 | $this->lastModifiedTime = $lastModifiedTime;
|
---|
| 202 | }
|
---|
| 203 | /**
|
---|
| 204 | * @return string
|
---|
| 205 | */
|
---|
| 206 | public function getLastModifiedTime()
|
---|
| 207 | {
|
---|
| 208 | return $this->lastModifiedTime;
|
---|
| 209 | }
|
---|
| 210 | /**
|
---|
| 211 | * @param GoogleAdsSearchads360V0CommonUnifiedLocationAsset
|
---|
| 212 | */
|
---|
| 213 | public function setLocationAsset(GoogleAdsSearchads360V0CommonUnifiedLocationAsset $locationAsset)
|
---|
| 214 | {
|
---|
| 215 | $this->locationAsset = $locationAsset;
|
---|
| 216 | }
|
---|
| 217 | /**
|
---|
| 218 | * @return GoogleAdsSearchads360V0CommonUnifiedLocationAsset
|
---|
| 219 | */
|
---|
| 220 | public function getLocationAsset()
|
---|
| 221 | {
|
---|
| 222 | return $this->locationAsset;
|
---|
| 223 | }
|
---|
| 224 | /**
|
---|
| 225 | * @param GoogleAdsSearchads360V0CommonMobileAppAsset
|
---|
| 226 | */
|
---|
| 227 | public function setMobileAppAsset(GoogleAdsSearchads360V0CommonMobileAppAsset $mobileAppAsset)
|
---|
| 228 | {
|
---|
| 229 | $this->mobileAppAsset = $mobileAppAsset;
|
---|
| 230 | }
|
---|
| 231 | /**
|
---|
| 232 | * @return GoogleAdsSearchads360V0CommonMobileAppAsset
|
---|
| 233 | */
|
---|
| 234 | public function getMobileAppAsset()
|
---|
| 235 | {
|
---|
| 236 | return $this->mobileAppAsset;
|
---|
| 237 | }
|
---|
| 238 | /**
|
---|
| 239 | * @param string
|
---|
| 240 | */
|
---|
| 241 | public function setName($name)
|
---|
| 242 | {
|
---|
| 243 | $this->name = $name;
|
---|
| 244 | }
|
---|
| 245 | /**
|
---|
| 246 | * @return string
|
---|
| 247 | */
|
---|
| 248 | public function getName()
|
---|
| 249 | {
|
---|
| 250 | return $this->name;
|
---|
| 251 | }
|
---|
| 252 | /**
|
---|
| 253 | * @param GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset
|
---|
| 254 | */
|
---|
| 255 | public function setPageFeedAsset(GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset $pageFeedAsset)
|
---|
| 256 | {
|
---|
| 257 | $this->pageFeedAsset = $pageFeedAsset;
|
---|
| 258 | }
|
---|
| 259 | /**
|
---|
| 260 | * @return GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset
|
---|
| 261 | */
|
---|
| 262 | public function getPageFeedAsset()
|
---|
| 263 | {
|
---|
| 264 | return $this->pageFeedAsset;
|
---|
| 265 | }
|
---|
| 266 | /**
|
---|
| 267 | * @param string
|
---|
| 268 | */
|
---|
| 269 | public function setResourceName($resourceName)
|
---|
| 270 | {
|
---|
| 271 | $this->resourceName = $resourceName;
|
---|
| 272 | }
|
---|
| 273 | /**
|
---|
| 274 | * @return string
|
---|
| 275 | */
|
---|
| 276 | public function getResourceName()
|
---|
| 277 | {
|
---|
| 278 | return $this->resourceName;
|
---|
| 279 | }
|
---|
| 280 | /**
|
---|
| 281 | * @param GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset
|
---|
| 282 | */
|
---|
| 283 | public function setSitelinkAsset(GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset $sitelinkAsset)
|
---|
| 284 | {
|
---|
| 285 | $this->sitelinkAsset = $sitelinkAsset;
|
---|
| 286 | }
|
---|
| 287 | /**
|
---|
| 288 | * @return GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset
|
---|
| 289 | */
|
---|
| 290 | public function getSitelinkAsset()
|
---|
| 291 | {
|
---|
| 292 | return $this->sitelinkAsset;
|
---|
| 293 | }
|
---|
| 294 | /**
|
---|
| 295 | * @param string
|
---|
| 296 | */
|
---|
| 297 | public function setStatus($status)
|
---|
| 298 | {
|
---|
| 299 | $this->status = $status;
|
---|
| 300 | }
|
---|
| 301 | /**
|
---|
| 302 | * @return string
|
---|
| 303 | */
|
---|
| 304 | public function getStatus()
|
---|
| 305 | {
|
---|
| 306 | return $this->status;
|
---|
| 307 | }
|
---|
| 308 | /**
|
---|
| 309 | * @param GoogleAdsSearchads360V0CommonTextAsset
|
---|
| 310 | */
|
---|
| 311 | public function setTextAsset(GoogleAdsSearchads360V0CommonTextAsset $textAsset)
|
---|
| 312 | {
|
---|
| 313 | $this->textAsset = $textAsset;
|
---|
| 314 | }
|
---|
| 315 | /**
|
---|
| 316 | * @return GoogleAdsSearchads360V0CommonTextAsset
|
---|
| 317 | */
|
---|
| 318 | public function getTextAsset()
|
---|
| 319 | {
|
---|
| 320 | return $this->textAsset;
|
---|
| 321 | }
|
---|
| 322 | /**
|
---|
| 323 | * @param string
|
---|
| 324 | */
|
---|
| 325 | public function setTrackingUrlTemplate($trackingUrlTemplate)
|
---|
| 326 | {
|
---|
| 327 | $this->trackingUrlTemplate = $trackingUrlTemplate;
|
---|
| 328 | }
|
---|
| 329 | /**
|
---|
| 330 | * @return string
|
---|
| 331 | */
|
---|
| 332 | public function getTrackingUrlTemplate()
|
---|
| 333 | {
|
---|
| 334 | return $this->trackingUrlTemplate;
|
---|
| 335 | }
|
---|
| 336 | /**
|
---|
| 337 | * @param string
|
---|
| 338 | */
|
---|
| 339 | public function setType($type)
|
---|
| 340 | {
|
---|
| 341 | $this->type = $type;
|
---|
| 342 | }
|
---|
| 343 | /**
|
---|
| 344 | * @return string
|
---|
| 345 | */
|
---|
| 346 | public function getType()
|
---|
| 347 | {
|
---|
| 348 | return $this->type;
|
---|
| 349 | }
|
---|
| 350 | /**
|
---|
| 351 | * @param GoogleAdsSearchads360V0CommonYoutubeVideoAsset
|
---|
| 352 | */
|
---|
| 353 | public function setYoutubeVideoAsset(GoogleAdsSearchads360V0CommonYoutubeVideoAsset $youtubeVideoAsset)
|
---|
| 354 | {
|
---|
| 355 | $this->youtubeVideoAsset = $youtubeVideoAsset;
|
---|
| 356 | }
|
---|
| 357 | /**
|
---|
| 358 | * @return GoogleAdsSearchads360V0CommonYoutubeVideoAsset
|
---|
| 359 | */
|
---|
| 360 | public function getYoutubeVideoAsset()
|
---|
| 361 | {
|
---|
| 362 | return $this->youtubeVideoAsset;
|
---|
| 363 | }
|
---|
| 364 | }
|
---|
| 365 |
|
---|
| 366 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 367 | class_alias(GoogleAdsSearchads360V0ResourcesAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAsset');
|
---|