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\AdExchangeBuyerII; 19 20class NativeContent extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $advertiserName; 26 protected $appIconType = Image::class; 27 protected $appIconDataType = ''; 28 /** 29 * @var string 30 */ 31 public $body; 32 /** 33 * @var string 34 */ 35 public $callToAction; 36 /** 37 * @var string 38 */ 39 public $clickLinkUrl; 40 /** 41 * @var string 42 */ 43 public $clickTrackingUrl; 44 /** 45 * @var string 46 */ 47 public $headline; 48 protected $imageType = Image::class; 49 protected $imageDataType = ''; 50 protected $logoType = Image::class; 51 protected $logoDataType = ''; 52 /** 53 * @var string 54 */ 55 public $priceDisplayText; 56 public $starRating; 57 /** 58 * @var string 59 */ 60 public $storeUrl; 61 /** 62 * @var string 63 */ 64 public $videoUrl; 65 66 /** 67 * @param string 68 */ 69 public function setAdvertiserName($advertiserName) 70 { 71 $this->advertiserName = $advertiserName; 72 } 73 /** 74 * @return string 75 */ 76 public function getAdvertiserName() 77 { 78 return $this->advertiserName; 79 } 80 /** 81 * @param Image 82 */ 83 public function setAppIcon(Image $appIcon) 84 { 85 $this->appIcon = $appIcon; 86 } 87 /** 88 * @return Image 89 */ 90 public function getAppIcon() 91 { 92 return $this->appIcon; 93 } 94 /** 95 * @param string 96 */ 97 public function setBody($body) 98 { 99 $this->body = $body; 100 } 101 /** 102 * @return string 103 */ 104 public function getBody() 105 { 106 return $this->body; 107 } 108 /** 109 * @param string 110 */ 111 public function setCallToAction($callToAction) 112 { 113 $this->callToAction = $callToAction; 114 } 115 /** 116 * @return string 117 */ 118 public function getCallToAction() 119 { 120 return $this->callToAction; 121 } 122 /** 123 * @param string 124 */ 125 public function setClickLinkUrl($clickLinkUrl) 126 { 127 $this->clickLinkUrl = $clickLinkUrl; 128 } 129 /** 130 * @return string 131 */ 132 public function getClickLinkUrl() 133 { 134 return $this->clickLinkUrl; 135 } 136 /** 137 * @param string 138 */ 139 public function setClickTrackingUrl($clickTrackingUrl) 140 { 141 $this->clickTrackingUrl = $clickTrackingUrl; 142 } 143 /** 144 * @return string 145 */ 146 public function getClickTrackingUrl() 147 { 148 return $this->clickTrackingUrl; 149 } 150 /** 151 * @param string 152 */ 153 public function setHeadline($headline) 154 { 155 $this->headline = $headline; 156 } 157 /** 158 * @return string 159 */ 160 public function getHeadline() 161 { 162 return $this->headline; 163 } 164 /** 165 * @param Image 166 */ 167 public function setImage(Image $image) 168 { 169 $this->image = $image; 170 } 171 /** 172 * @return Image 173 */ 174 public function getImage() 175 { 176 return $this->image; 177 } 178 /** 179 * @param Image 180 */ 181 public function setLogo(Image $logo) 182 { 183 $this->logo = $logo; 184 } 185 /** 186 * @return Image 187 */ 188 public function getLogo() 189 { 190 return $this->logo; 191 } 192 /** 193 * @param string 194 */ 195 public function setPriceDisplayText($priceDisplayText) 196 { 197 $this->priceDisplayText = $priceDisplayText; 198 } 199 /** 200 * @return string 201 */ 202 public function getPriceDisplayText() 203 { 204 return $this->priceDisplayText; 205 } 206 public function setStarRating($starRating) 207 { 208 $this->starRating = $starRating; 209 } 210 public function getStarRating() 211 { 212 return $this->starRating; 213 } 214 /** 215 * @param string 216 */ 217 public function setStoreUrl($storeUrl) 218 { 219 $this->storeUrl = $storeUrl; 220 } 221 /** 222 * @return string 223 */ 224 public function getStoreUrl() 225 { 226 return $this->storeUrl; 227 } 228 /** 229 * @param string 230 */ 231 public function setVideoUrl($videoUrl) 232 { 233 $this->videoUrl = $videoUrl; 234 } 235 /** 236 * @return string 237 */ 238 public function getVideoUrl() 239 { 240 return $this->videoUrl; 241 } 242} 243 244// Adding a class alias for backwards compatibility with the previous class name. 245class_alias(NativeContent::class, 'Google_Service_AdExchangeBuyerII_NativeContent'); 246