[e3d4e0a] | 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\DisplayVideo;
|
---|
| 19 |
|
---|
| 20 | class InventorySource extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'readPartnerIds';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $commitment;
|
---|
| 27 | protected $creativeConfigsType = CreativeConfig::class;
|
---|
| 28 | protected $creativeConfigsDataType = 'array';
|
---|
| 29 | /**
|
---|
| 30 | * @var string
|
---|
| 31 | */
|
---|
| 32 | public $dealId;
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $deliveryMethod;
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $displayName;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $exchange;
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $guaranteedOrderId;
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $inventorySourceId;
|
---|
| 53 | /**
|
---|
| 54 | * @var string
|
---|
| 55 | */
|
---|
| 56 | public $inventorySourceProductType;
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $inventorySourceType;
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $name;
|
---|
| 65 | /**
|
---|
| 66 | * @var string
|
---|
| 67 | */
|
---|
| 68 | public $publisherName;
|
---|
| 69 | protected $rateDetailsType = RateDetails::class;
|
---|
| 70 | protected $rateDetailsDataType = '';
|
---|
| 71 | /**
|
---|
| 72 | * @var string[]
|
---|
| 73 | */
|
---|
| 74 | public $readAdvertiserIds;
|
---|
| 75 | /**
|
---|
| 76 | * @var string[]
|
---|
| 77 | */
|
---|
| 78 | public $readPartnerIds;
|
---|
| 79 | protected $readWriteAccessorsType = InventorySourceAccessors::class;
|
---|
| 80 | protected $readWriteAccessorsDataType = '';
|
---|
| 81 | protected $statusType = InventorySourceStatus::class;
|
---|
| 82 | protected $statusDataType = '';
|
---|
| 83 | protected $timeRangeType = TimeRange::class;
|
---|
| 84 | protected $timeRangeDataType = '';
|
---|
| 85 | /**
|
---|
| 86 | * @var string
|
---|
| 87 | */
|
---|
| 88 | public $updateTime;
|
---|
| 89 |
|
---|
| 90 | /**
|
---|
| 91 | * @param string
|
---|
| 92 | */
|
---|
| 93 | public function setCommitment($commitment)
|
---|
| 94 | {
|
---|
| 95 | $this->commitment = $commitment;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @return string
|
---|
| 99 | */
|
---|
| 100 | public function getCommitment()
|
---|
| 101 | {
|
---|
| 102 | return $this->commitment;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @param CreativeConfig[]
|
---|
| 106 | */
|
---|
| 107 | public function setCreativeConfigs($creativeConfigs)
|
---|
| 108 | {
|
---|
| 109 | $this->creativeConfigs = $creativeConfigs;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @return CreativeConfig[]
|
---|
| 113 | */
|
---|
| 114 | public function getCreativeConfigs()
|
---|
| 115 | {
|
---|
| 116 | return $this->creativeConfigs;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @param string
|
---|
| 120 | */
|
---|
| 121 | public function setDealId($dealId)
|
---|
| 122 | {
|
---|
| 123 | $this->dealId = $dealId;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @return string
|
---|
| 127 | */
|
---|
| 128 | public function getDealId()
|
---|
| 129 | {
|
---|
| 130 | return $this->dealId;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @param string
|
---|
| 134 | */
|
---|
| 135 | public function setDeliveryMethod($deliveryMethod)
|
---|
| 136 | {
|
---|
| 137 | $this->deliveryMethod = $deliveryMethod;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @return string
|
---|
| 141 | */
|
---|
| 142 | public function getDeliveryMethod()
|
---|
| 143 | {
|
---|
| 144 | return $this->deliveryMethod;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @param string
|
---|
| 148 | */
|
---|
| 149 | public function setDisplayName($displayName)
|
---|
| 150 | {
|
---|
| 151 | $this->displayName = $displayName;
|
---|
| 152 | }
|
---|
| 153 | /**
|
---|
| 154 | * @return string
|
---|
| 155 | */
|
---|
| 156 | public function getDisplayName()
|
---|
| 157 | {
|
---|
| 158 | return $this->displayName;
|
---|
| 159 | }
|
---|
| 160 | /**
|
---|
| 161 | * @param string
|
---|
| 162 | */
|
---|
| 163 | public function setExchange($exchange)
|
---|
| 164 | {
|
---|
| 165 | $this->exchange = $exchange;
|
---|
| 166 | }
|
---|
| 167 | /**
|
---|
| 168 | * @return string
|
---|
| 169 | */
|
---|
| 170 | public function getExchange()
|
---|
| 171 | {
|
---|
| 172 | return $this->exchange;
|
---|
| 173 | }
|
---|
| 174 | /**
|
---|
| 175 | * @param string
|
---|
| 176 | */
|
---|
| 177 | public function setGuaranteedOrderId($guaranteedOrderId)
|
---|
| 178 | {
|
---|
| 179 | $this->guaranteedOrderId = $guaranteedOrderId;
|
---|
| 180 | }
|
---|
| 181 | /**
|
---|
| 182 | * @return string
|
---|
| 183 | */
|
---|
| 184 | public function getGuaranteedOrderId()
|
---|
| 185 | {
|
---|
| 186 | return $this->guaranteedOrderId;
|
---|
| 187 | }
|
---|
| 188 | /**
|
---|
| 189 | * @param string
|
---|
| 190 | */
|
---|
| 191 | public function setInventorySourceId($inventorySourceId)
|
---|
| 192 | {
|
---|
| 193 | $this->inventorySourceId = $inventorySourceId;
|
---|
| 194 | }
|
---|
| 195 | /**
|
---|
| 196 | * @return string
|
---|
| 197 | */
|
---|
| 198 | public function getInventorySourceId()
|
---|
| 199 | {
|
---|
| 200 | return $this->inventorySourceId;
|
---|
| 201 | }
|
---|
| 202 | /**
|
---|
| 203 | * @param string
|
---|
| 204 | */
|
---|
| 205 | public function setInventorySourceProductType($inventorySourceProductType)
|
---|
| 206 | {
|
---|
| 207 | $this->inventorySourceProductType = $inventorySourceProductType;
|
---|
| 208 | }
|
---|
| 209 | /**
|
---|
| 210 | * @return string
|
---|
| 211 | */
|
---|
| 212 | public function getInventorySourceProductType()
|
---|
| 213 | {
|
---|
| 214 | return $this->inventorySourceProductType;
|
---|
| 215 | }
|
---|
| 216 | /**
|
---|
| 217 | * @param string
|
---|
| 218 | */
|
---|
| 219 | public function setInventorySourceType($inventorySourceType)
|
---|
| 220 | {
|
---|
| 221 | $this->inventorySourceType = $inventorySourceType;
|
---|
| 222 | }
|
---|
| 223 | /**
|
---|
| 224 | * @return string
|
---|
| 225 | */
|
---|
| 226 | public function getInventorySourceType()
|
---|
| 227 | {
|
---|
| 228 | return $this->inventorySourceType;
|
---|
| 229 | }
|
---|
| 230 | /**
|
---|
| 231 | * @param string
|
---|
| 232 | */
|
---|
| 233 | public function setName($name)
|
---|
| 234 | {
|
---|
| 235 | $this->name = $name;
|
---|
| 236 | }
|
---|
| 237 | /**
|
---|
| 238 | * @return string
|
---|
| 239 | */
|
---|
| 240 | public function getName()
|
---|
| 241 | {
|
---|
| 242 | return $this->name;
|
---|
| 243 | }
|
---|
| 244 | /**
|
---|
| 245 | * @param string
|
---|
| 246 | */
|
---|
| 247 | public function setPublisherName($publisherName)
|
---|
| 248 | {
|
---|
| 249 | $this->publisherName = $publisherName;
|
---|
| 250 | }
|
---|
| 251 | /**
|
---|
| 252 | * @return string
|
---|
| 253 | */
|
---|
| 254 | public function getPublisherName()
|
---|
| 255 | {
|
---|
| 256 | return $this->publisherName;
|
---|
| 257 | }
|
---|
| 258 | /**
|
---|
| 259 | * @param RateDetails
|
---|
| 260 | */
|
---|
| 261 | public function setRateDetails(RateDetails $rateDetails)
|
---|
| 262 | {
|
---|
| 263 | $this->rateDetails = $rateDetails;
|
---|
| 264 | }
|
---|
| 265 | /**
|
---|
| 266 | * @return RateDetails
|
---|
| 267 | */
|
---|
| 268 | public function getRateDetails()
|
---|
| 269 | {
|
---|
| 270 | return $this->rateDetails;
|
---|
| 271 | }
|
---|
| 272 | /**
|
---|
| 273 | * @param string[]
|
---|
| 274 | */
|
---|
| 275 | public function setReadAdvertiserIds($readAdvertiserIds)
|
---|
| 276 | {
|
---|
| 277 | $this->readAdvertiserIds = $readAdvertiserIds;
|
---|
| 278 | }
|
---|
| 279 | /**
|
---|
| 280 | * @return string[]
|
---|
| 281 | */
|
---|
| 282 | public function getReadAdvertiserIds()
|
---|
| 283 | {
|
---|
| 284 | return $this->readAdvertiserIds;
|
---|
| 285 | }
|
---|
| 286 | /**
|
---|
| 287 | * @param string[]
|
---|
| 288 | */
|
---|
| 289 | public function setReadPartnerIds($readPartnerIds)
|
---|
| 290 | {
|
---|
| 291 | $this->readPartnerIds = $readPartnerIds;
|
---|
| 292 | }
|
---|
| 293 | /**
|
---|
| 294 | * @return string[]
|
---|
| 295 | */
|
---|
| 296 | public function getReadPartnerIds()
|
---|
| 297 | {
|
---|
| 298 | return $this->readPartnerIds;
|
---|
| 299 | }
|
---|
| 300 | /**
|
---|
| 301 | * @param InventorySourceAccessors
|
---|
| 302 | */
|
---|
| 303 | public function setReadWriteAccessors(InventorySourceAccessors $readWriteAccessors)
|
---|
| 304 | {
|
---|
| 305 | $this->readWriteAccessors = $readWriteAccessors;
|
---|
| 306 | }
|
---|
| 307 | /**
|
---|
| 308 | * @return InventorySourceAccessors
|
---|
| 309 | */
|
---|
| 310 | public function getReadWriteAccessors()
|
---|
| 311 | {
|
---|
| 312 | return $this->readWriteAccessors;
|
---|
| 313 | }
|
---|
| 314 | /**
|
---|
| 315 | * @param InventorySourceStatus
|
---|
| 316 | */
|
---|
| 317 | public function setStatus(InventorySourceStatus $status)
|
---|
| 318 | {
|
---|
| 319 | $this->status = $status;
|
---|
| 320 | }
|
---|
| 321 | /**
|
---|
| 322 | * @return InventorySourceStatus
|
---|
| 323 | */
|
---|
| 324 | public function getStatus()
|
---|
| 325 | {
|
---|
| 326 | return $this->status;
|
---|
| 327 | }
|
---|
| 328 | /**
|
---|
| 329 | * @param TimeRange
|
---|
| 330 | */
|
---|
| 331 | public function setTimeRange(TimeRange $timeRange)
|
---|
| 332 | {
|
---|
| 333 | $this->timeRange = $timeRange;
|
---|
| 334 | }
|
---|
| 335 | /**
|
---|
| 336 | * @return TimeRange
|
---|
| 337 | */
|
---|
| 338 | public function getTimeRange()
|
---|
| 339 | {
|
---|
| 340 | return $this->timeRange;
|
---|
| 341 | }
|
---|
| 342 | /**
|
---|
| 343 | * @param string
|
---|
| 344 | */
|
---|
| 345 | public function setUpdateTime($updateTime)
|
---|
| 346 | {
|
---|
| 347 | $this->updateTime = $updateTime;
|
---|
| 348 | }
|
---|
| 349 | /**
|
---|
| 350 | * @return string
|
---|
| 351 | */
|
---|
| 352 | public function getUpdateTime()
|
---|
| 353 | {
|
---|
| 354 | return $this->updateTime;
|
---|
| 355 | }
|
---|
| 356 | }
|
---|
| 357 |
|
---|
| 358 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 359 | class_alias(InventorySource::class, 'Google_Service_DisplayVideo_InventorySource');
|
---|