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\DisplayVideo; 19 20class DoubleVerify extends \Google\Collection 21{ 22 protected $collection_key = 'avoidedAgeRatings'; 23 protected $appStarRatingType = DoubleVerifyAppStarRating::class; 24 protected $appStarRatingDataType = ''; 25 /** 26 * @var string[] 27 */ 28 public $avoidedAgeRatings; 29 protected $brandSafetyCategoriesType = DoubleVerifyBrandSafetyCategories::class; 30 protected $brandSafetyCategoriesDataType = ''; 31 /** 32 * @var string 33 */ 34 public $customSegmentId; 35 protected $displayViewabilityType = DoubleVerifyDisplayViewability::class; 36 protected $displayViewabilityDataType = ''; 37 protected $fraudInvalidTrafficType = DoubleVerifyFraudInvalidTraffic::class; 38 protected $fraudInvalidTrafficDataType = ''; 39 protected $videoViewabilityType = DoubleVerifyVideoViewability::class; 40 protected $videoViewabilityDataType = ''; 41 42 /** 43 * @param DoubleVerifyAppStarRating 44 */ 45 public function setAppStarRating(DoubleVerifyAppStarRating $appStarRating) 46 { 47 $this->appStarRating = $appStarRating; 48 } 49 /** 50 * @return DoubleVerifyAppStarRating 51 */ 52 public function getAppStarRating() 53 { 54 return $this->appStarRating; 55 } 56 /** 57 * @param string[] 58 */ 59 public function setAvoidedAgeRatings($avoidedAgeRatings) 60 { 61 $this->avoidedAgeRatings = $avoidedAgeRatings; 62 } 63 /** 64 * @return string[] 65 */ 66 public function getAvoidedAgeRatings() 67 { 68 return $this->avoidedAgeRatings; 69 } 70 /** 71 * @param DoubleVerifyBrandSafetyCategories 72 */ 73 public function setBrandSafetyCategories(DoubleVerifyBrandSafetyCategories $brandSafetyCategories) 74 { 75 $this->brandSafetyCategories = $brandSafetyCategories; 76 } 77 /** 78 * @return DoubleVerifyBrandSafetyCategories 79 */ 80 public function getBrandSafetyCategories() 81 { 82 return $this->brandSafetyCategories; 83 } 84 /** 85 * @param string 86 */ 87 public function setCustomSegmentId($customSegmentId) 88 { 89 $this->customSegmentId = $customSegmentId; 90 } 91 /** 92 * @return string 93 */ 94 public function getCustomSegmentId() 95 { 96 return $this->customSegmentId; 97 } 98 /** 99 * @param DoubleVerifyDisplayViewability 100 */ 101 public function setDisplayViewability(DoubleVerifyDisplayViewability $displayViewability) 102 { 103 $this->displayViewability = $displayViewability; 104 } 105 /** 106 * @return DoubleVerifyDisplayViewability 107 */ 108 public function getDisplayViewability() 109 { 110 return $this->displayViewability; 111 } 112 /** 113 * @param DoubleVerifyFraudInvalidTraffic 114 */ 115 public function setFraudInvalidTraffic(DoubleVerifyFraudInvalidTraffic $fraudInvalidTraffic) 116 { 117 $this->fraudInvalidTraffic = $fraudInvalidTraffic; 118 } 119 /** 120 * @return DoubleVerifyFraudInvalidTraffic 121 */ 122 public function getFraudInvalidTraffic() 123 { 124 return $this->fraudInvalidTraffic; 125 } 126 /** 127 * @param DoubleVerifyVideoViewability 128 */ 129 public function setVideoViewability(DoubleVerifyVideoViewability $videoViewability) 130 { 131 $this->videoViewability = $videoViewability; 132 } 133 /** 134 * @return DoubleVerifyVideoViewability 135 */ 136 public function getVideoViewability() 137 { 138 return $this->videoViewability; 139 } 140} 141 142// Adding a class alias for backwards compatibility with the previous class name. 143class_alias(DoubleVerify::class, 'Google_Service_DisplayVideo_DoubleVerify'); 144