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\Dfareporting; 19 20class CreativeAsset extends \Google\Collection 21{ 22 protected $collection_key = 'detectedFeatures'; 23 /** 24 * @var bool 25 */ 26 public $actionScript3; 27 /** 28 * @var bool 29 */ 30 public $active; 31 protected $additionalSizesType = Size::class; 32 protected $additionalSizesDataType = 'array'; 33 /** 34 * @var string 35 */ 36 public $alignment; 37 /** 38 * @var string 39 */ 40 public $artworkType; 41 protected $assetIdentifierType = CreativeAssetId::class; 42 protected $assetIdentifierDataType = ''; 43 /** 44 * @var int 45 */ 46 public $audioBitRate; 47 /** 48 * @var int 49 */ 50 public $audioSampleRate; 51 protected $backupImageExitType = CreativeCustomEvent::class; 52 protected $backupImageExitDataType = ''; 53 /** 54 * @var int 55 */ 56 public $bitRate; 57 /** 58 * @var string 59 */ 60 public $childAssetType; 61 protected $collapsedSizeType = Size::class; 62 protected $collapsedSizeDataType = ''; 63 /** 64 * @var string[] 65 */ 66 public $companionCreativeIds; 67 /** 68 * @var int 69 */ 70 public $customStartTimeValue; 71 /** 72 * @var string[] 73 */ 74 public $detectedFeatures; 75 /** 76 * @var string 77 */ 78 public $displayType; 79 /** 80 * @var int 81 */ 82 public $duration; 83 /** 84 * @var string 85 */ 86 public $durationType; 87 protected $expandedDimensionType = Size::class; 88 protected $expandedDimensionDataType = ''; 89 /** 90 * @var string 91 */ 92 public $fileSize; 93 /** 94 * @var int 95 */ 96 public $flashVersion; 97 /** 98 * @var float 99 */ 100 public $frameRate; 101 /** 102 * @var bool 103 */ 104 public $hideFlashObjects; 105 /** 106 * @var bool 107 */ 108 public $hideSelectionBoxes; 109 /** 110 * @var bool 111 */ 112 public $horizontallyLocked; 113 /** 114 * @var string 115 */ 116 public $id; 117 protected $idDimensionValueType = DimensionValue::class; 118 protected $idDimensionValueDataType = ''; 119 /** 120 * @var float 121 */ 122 public $mediaDuration; 123 /** 124 * @var string 125 */ 126 public $mimeType; 127 protected $offsetType = OffsetPosition::class; 128 protected $offsetDataType = ''; 129 /** 130 * @var string 131 */ 132 public $orientation; 133 /** 134 * @var bool 135 */ 136 public $originalBackup; 137 /** 138 * @var bool 139 */ 140 public $politeLoad; 141 protected $positionType = OffsetPosition::class; 142 protected $positionDataType = ''; 143 /** 144 * @var string 145 */ 146 public $positionLeftUnit; 147 /** 148 * @var string 149 */ 150 public $positionTopUnit; 151 /** 152 * @var string 153 */ 154 public $progressiveServingUrl; 155 /** 156 * @var bool 157 */ 158 public $pushdown; 159 /** 160 * @var float 161 */ 162 public $pushdownDuration; 163 /** 164 * @var string 165 */ 166 public $role; 167 protected $sizeType = Size::class; 168 protected $sizeDataType = ''; 169 /** 170 * @var bool 171 */ 172 public $sslCompliant; 173 /** 174 * @var string 175 */ 176 public $startTimeType; 177 /** 178 * @var string 179 */ 180 public $streamingServingUrl; 181 /** 182 * @var bool 183 */ 184 public $transparency; 185 /** 186 * @var bool 187 */ 188 public $verticallyLocked; 189 /** 190 * @var string 191 */ 192 public $windowMode; 193 /** 194 * @var int 195 */ 196 public $zIndex; 197 /** 198 * @var string 199 */ 200 public $zipFilename; 201 /** 202 * @var string 203 */ 204 public $zipFilesize; 205 206 /** 207 * @param bool 208 */ 209 public function setActionScript3($actionScript3) 210 { 211 $this->actionScript3 = $actionScript3; 212 } 213 /** 214 * @return bool 215 */ 216 public function getActionScript3() 217 { 218 return $this->actionScript3; 219 } 220 /** 221 * @param bool 222 */ 223 public function setActive($active) 224 { 225 $this->active = $active; 226 } 227 /** 228 * @return bool 229 */ 230 public function getActive() 231 { 232 return $this->active; 233 } 234 /** 235 * @param Size[] 236 */ 237 public function setAdditionalSizes($additionalSizes) 238 { 239 $this->additionalSizes = $additionalSizes; 240 } 241 /** 242 * @return Size[] 243 */ 244 public function getAdditionalSizes() 245 { 246 return $this->additionalSizes; 247 } 248 /** 249 * @param string 250 */ 251 public function setAlignment($alignment) 252 { 253 $this->alignment = $alignment; 254 } 255 /** 256 * @return string 257 */ 258 public function getAlignment() 259 { 260 return $this->alignment; 261 } 262 /** 263 * @param string 264 */ 265 public function setArtworkType($artworkType) 266 { 267 $this->artworkType = $artworkType; 268 } 269 /** 270 * @return string 271 */ 272 public function getArtworkType() 273 { 274 return $this->artworkType; 275 } 276 /** 277 * @param CreativeAssetId 278 */ 279 public function setAssetIdentifier(CreativeAssetId $assetIdentifier) 280 { 281 $this->assetIdentifier = $assetIdentifier; 282 } 283 /** 284 * @return CreativeAssetId 285 */ 286 public function getAssetIdentifier() 287 { 288 return $this->assetIdentifier; 289 } 290 /** 291 * @param int 292 */ 293 public function setAudioBitRate($audioBitRate) 294 { 295 $this->audioBitRate = $audioBitRate; 296 } 297 /** 298 * @return int 299 */ 300 public function getAudioBitRate() 301 { 302 return $this->audioBitRate; 303 } 304 /** 305 * @param int 306 */ 307 public function setAudioSampleRate($audioSampleRate) 308 { 309 $this->audioSampleRate = $audioSampleRate; 310 } 311 /** 312 * @return int 313 */ 314 public function getAudioSampleRate() 315 { 316 return $this->audioSampleRate; 317 } 318 /** 319 * @param CreativeCustomEvent 320 */ 321 public function setBackupImageExit(CreativeCustomEvent $backupImageExit) 322 { 323 $this->backupImageExit = $backupImageExit; 324 } 325 /** 326 * @return CreativeCustomEvent 327 */ 328 public function getBackupImageExit() 329 { 330 return $this->backupImageExit; 331 } 332 /** 333 * @param int 334 */ 335 public function setBitRate($bitRate) 336 { 337 $this->bitRate = $bitRate; 338 } 339 /** 340 * @return int 341 */ 342 public function getBitRate() 343 { 344 return $this->bitRate; 345 } 346 /** 347 * @param string 348 */ 349 public function setChildAssetType($childAssetType) 350 { 351 $this->childAssetType = $childAssetType; 352 } 353 /** 354 * @return string 355 */ 356 public function getChildAssetType() 357 { 358 return $this->childAssetType; 359 } 360 /** 361 * @param Size 362 */ 363 public function setCollapsedSize(Size $collapsedSize) 364 { 365 $this->collapsedSize = $collapsedSize; 366 } 367 /** 368 * @return Size 369 */ 370 public function getCollapsedSize() 371 { 372 return $this->collapsedSize; 373 } 374 /** 375 * @param string[] 376 */ 377 public function setCompanionCreativeIds($companionCreativeIds) 378 { 379 $this->companionCreativeIds = $companionCreativeIds; 380 } 381 /** 382 * @return string[] 383 */ 384 public function getCompanionCreativeIds() 385 { 386 return $this->companionCreativeIds; 387 } 388 /** 389 * @param int 390 */ 391 public function setCustomStartTimeValue($customStartTimeValue) 392 { 393 $this->customStartTimeValue = $customStartTimeValue; 394 } 395 /** 396 * @return int 397 */ 398 public function getCustomStartTimeValue() 399 { 400 return $this->customStartTimeValue; 401 } 402 /** 403 * @param string[] 404 */ 405 public function setDetectedFeatures($detectedFeatures) 406 { 407 $this->detectedFeatures = $detectedFeatures; 408 } 409 /** 410 * @return string[] 411 */ 412 public function getDetectedFeatures() 413 { 414 return $this->detectedFeatures; 415 } 416 /** 417 * @param string 418 */ 419 public function setDisplayType($displayType) 420 { 421 $this->displayType = $displayType; 422 } 423 /** 424 * @return string 425 */ 426 public function getDisplayType() 427 { 428 return $this->displayType; 429 } 430 /** 431 * @param int 432 */ 433 public function setDuration($duration) 434 { 435 $this->duration = $duration; 436 } 437 /** 438 * @return int 439 */ 440 public function getDuration() 441 { 442 return $this->duration; 443 } 444 /** 445 * @param string 446 */ 447 public function setDurationType($durationType) 448 { 449 $this->durationType = $durationType; 450 } 451 /** 452 * @return string 453 */ 454 public function getDurationType() 455 { 456 return $this->durationType; 457 } 458 /** 459 * @param Size 460 */ 461 public function setExpandedDimension(Size $expandedDimension) 462 { 463 $this->expandedDimension = $expandedDimension; 464 } 465 /** 466 * @return Size 467 */ 468 public function getExpandedDimension() 469 { 470 return $this->expandedDimension; 471 } 472 /** 473 * @param string 474 */ 475 public function setFileSize($fileSize) 476 { 477 $this->fileSize = $fileSize; 478 } 479 /** 480 * @return string 481 */ 482 public function getFileSize() 483 { 484 return $this->fileSize; 485 } 486 /** 487 * @param int 488 */ 489 public function setFlashVersion($flashVersion) 490 { 491 $this->flashVersion = $flashVersion; 492 } 493 /** 494 * @return int 495 */ 496 public function getFlashVersion() 497 { 498 return $this->flashVersion; 499 } 500 /** 501 * @param float 502 */ 503 public function setFrameRate($frameRate) 504 { 505 $this->frameRate = $frameRate; 506 } 507 /** 508 * @return float 509 */ 510 public function getFrameRate() 511 { 512 return $this->frameRate; 513 } 514 /** 515 * @param bool 516 */ 517 public function setHideFlashObjects($hideFlashObjects) 518 { 519 $this->hideFlashObjects = $hideFlashObjects; 520 } 521 /** 522 * @return bool 523 */ 524 public function getHideFlashObjects() 525 { 526 return $this->hideFlashObjects; 527 } 528 /** 529 * @param bool 530 */ 531 public function setHideSelectionBoxes($hideSelectionBoxes) 532 { 533 $this->hideSelectionBoxes = $hideSelectionBoxes; 534 } 535 /** 536 * @return bool 537 */ 538 public function getHideSelectionBoxes() 539 { 540 return $this->hideSelectionBoxes; 541 } 542 /** 543 * @param bool 544 */ 545 public function setHorizontallyLocked($horizontallyLocked) 546 { 547 $this->horizontallyLocked = $horizontallyLocked; 548 } 549 /** 550 * @return bool 551 */ 552 public function getHorizontallyLocked() 553 { 554 return $this->horizontallyLocked; 555 } 556 /** 557 * @param string 558 */ 559 public function setId($id) 560 { 561 $this->id = $id; 562 } 563 /** 564 * @return string 565 */ 566 public function getId() 567 { 568 return $this->id; 569 } 570 /** 571 * @param DimensionValue 572 */ 573 public function setIdDimensionValue(DimensionValue $idDimensionValue) 574 { 575 $this->idDimensionValue = $idDimensionValue; 576 } 577 /** 578 * @return DimensionValue 579 */ 580 public function getIdDimensionValue() 581 { 582 return $this->idDimensionValue; 583 } 584 /** 585 * @param float 586 */ 587 public function setMediaDuration($mediaDuration) 588 { 589 $this->mediaDuration = $mediaDuration; 590 } 591 /** 592 * @return float 593 */ 594 public function getMediaDuration() 595 { 596 return $this->mediaDuration; 597 } 598 /** 599 * @param string 600 */ 601 public function setMimeType($mimeType) 602 { 603 $this->mimeType = $mimeType; 604 } 605 /** 606 * @return string 607 */ 608 public function getMimeType() 609 { 610 return $this->mimeType; 611 } 612 /** 613 * @param OffsetPosition 614 */ 615 public function setOffset(OffsetPosition $offset) 616 { 617 $this->offset = $offset; 618 } 619 /** 620 * @return OffsetPosition 621 */ 622 public function getOffset() 623 { 624 return $this->offset; 625 } 626 /** 627 * @param string 628 */ 629 public function setOrientation($orientation) 630 { 631 $this->orientation = $orientation; 632 } 633 /** 634 * @return string 635 */ 636 public function getOrientation() 637 { 638 return $this->orientation; 639 } 640 /** 641 * @param bool 642 */ 643 public function setOriginalBackup($originalBackup) 644 { 645 $this->originalBackup = $originalBackup; 646 } 647 /** 648 * @return bool 649 */ 650 public function getOriginalBackup() 651 { 652 return $this->originalBackup; 653 } 654 /** 655 * @param bool 656 */ 657 public function setPoliteLoad($politeLoad) 658 { 659 $this->politeLoad = $politeLoad; 660 } 661 /** 662 * @return bool 663 */ 664 public function getPoliteLoad() 665 { 666 return $this->politeLoad; 667 } 668 /** 669 * @param OffsetPosition 670 */ 671 public function setPosition(OffsetPosition $position) 672 { 673 $this->position = $position; 674 } 675 /** 676 * @return OffsetPosition 677 */ 678 public function getPosition() 679 { 680 return $this->position; 681 } 682 /** 683 * @param string 684 */ 685 public function setPositionLeftUnit($positionLeftUnit) 686 { 687 $this->positionLeftUnit = $positionLeftUnit; 688 } 689 /** 690 * @return string 691 */ 692 public function getPositionLeftUnit() 693 { 694 return $this->positionLeftUnit; 695 } 696 /** 697 * @param string 698 */ 699 public function setPositionTopUnit($positionTopUnit) 700 { 701 $this->positionTopUnit = $positionTopUnit; 702 } 703 /** 704 * @return string 705 */ 706 public function getPositionTopUnit() 707 { 708 return $this->positionTopUnit; 709 } 710 /** 711 * @param string 712 */ 713 public function setProgressiveServingUrl($progressiveServingUrl) 714 { 715 $this->progressiveServingUrl = $progressiveServingUrl; 716 } 717 /** 718 * @return string 719 */ 720 public function getProgressiveServingUrl() 721 { 722 return $this->progressiveServingUrl; 723 } 724 /** 725 * @param bool 726 */ 727 public function setPushdown($pushdown) 728 { 729 $this->pushdown = $pushdown; 730 } 731 /** 732 * @return bool 733 */ 734 public function getPushdown() 735 { 736 return $this->pushdown; 737 } 738 /** 739 * @param float 740 */ 741 public function setPushdownDuration($pushdownDuration) 742 { 743 $this->pushdownDuration = $pushdownDuration; 744 } 745 /** 746 * @return float 747 */ 748 public function getPushdownDuration() 749 { 750 return $this->pushdownDuration; 751 } 752 /** 753 * @param string 754 */ 755 public function setRole($role) 756 { 757 $this->role = $role; 758 } 759 /** 760 * @return string 761 */ 762 public function getRole() 763 { 764 return $this->role; 765 } 766 /** 767 * @param Size 768 */ 769 public function setSize(Size $size) 770 { 771 $this->size = $size; 772 } 773 /** 774 * @return Size 775 */ 776 public function getSize() 777 { 778 return $this->size; 779 } 780 /** 781 * @param bool 782 */ 783 public function setSslCompliant($sslCompliant) 784 { 785 $this->sslCompliant = $sslCompliant; 786 } 787 /** 788 * @return bool 789 */ 790 public function getSslCompliant() 791 { 792 return $this->sslCompliant; 793 } 794 /** 795 * @param string 796 */ 797 public function setStartTimeType($startTimeType) 798 { 799 $this->startTimeType = $startTimeType; 800 } 801 /** 802 * @return string 803 */ 804 public function getStartTimeType() 805 { 806 return $this->startTimeType; 807 } 808 /** 809 * @param string 810 */ 811 public function setStreamingServingUrl($streamingServingUrl) 812 { 813 $this->streamingServingUrl = $streamingServingUrl; 814 } 815 /** 816 * @return string 817 */ 818 public function getStreamingServingUrl() 819 { 820 return $this->streamingServingUrl; 821 } 822 /** 823 * @param bool 824 */ 825 public function setTransparency($transparency) 826 { 827 $this->transparency = $transparency; 828 } 829 /** 830 * @return bool 831 */ 832 public function getTransparency() 833 { 834 return $this->transparency; 835 } 836 /** 837 * @param bool 838 */ 839 public function setVerticallyLocked($verticallyLocked) 840 { 841 $this->verticallyLocked = $verticallyLocked; 842 } 843 /** 844 * @return bool 845 */ 846 public function getVerticallyLocked() 847 { 848 return $this->verticallyLocked; 849 } 850 /** 851 * @param string 852 */ 853 public function setWindowMode($windowMode) 854 { 855 $this->windowMode = $windowMode; 856 } 857 /** 858 * @return string 859 */ 860 public function getWindowMode() 861 { 862 return $this->windowMode; 863 } 864 /** 865 * @param int 866 */ 867 public function setZIndex($zIndex) 868 { 869 $this->zIndex = $zIndex; 870 } 871 /** 872 * @return int 873 */ 874 public function getZIndex() 875 { 876 return $this->zIndex; 877 } 878 /** 879 * @param string 880 */ 881 public function setZipFilename($zipFilename) 882 { 883 $this->zipFilename = $zipFilename; 884 } 885 /** 886 * @return string 887 */ 888 public function getZipFilename() 889 { 890 return $this->zipFilename; 891 } 892 /** 893 * @param string 894 */ 895 public function setZipFilesize($zipFilesize) 896 { 897 $this->zipFilesize = $zipFilesize; 898 } 899 /** 900 * @return string 901 */ 902 public function getZipFilesize() 903 { 904 return $this->zipFilesize; 905 } 906} 907 908// Adding a class alias for backwards compatibility with the previous class name. 909class_alias(CreativeAsset::class, 'Google_Service_Dfareporting_CreativeAsset'); 910