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 InventorySource extends \Google\Collection 21{ 22 protected $collection_key = 'creativeConfigs'; 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 $inventorySourceId; 49 /** 50 * @var string 51 */ 52 public $inventorySourceType; 53 /** 54 * @var string 55 */ 56 public $name; 57 /** 58 * @var string 59 */ 60 public $publisherName; 61 protected $rateDetailsType = RateDetails::class; 62 protected $rateDetailsDataType = ''; 63 protected $statusType = InventorySourceStatus::class; 64 protected $statusDataType = ''; 65 protected $timeRangeType = TimeRange::class; 66 protected $timeRangeDataType = ''; 67 /** 68 * @var string 69 */ 70 public $updateTime; 71 72 /** 73 * @param string 74 */ 75 public function setCommitment($commitment) 76 { 77 $this->commitment = $commitment; 78 } 79 /** 80 * @return string 81 */ 82 public function getCommitment() 83 { 84 return $this->commitment; 85 } 86 /** 87 * @param CreativeConfig[] 88 */ 89 public function setCreativeConfigs($creativeConfigs) 90 { 91 $this->creativeConfigs = $creativeConfigs; 92 } 93 /** 94 * @return CreativeConfig[] 95 */ 96 public function getCreativeConfigs() 97 { 98 return $this->creativeConfigs; 99 } 100 /** 101 * @param string 102 */ 103 public function setDealId($dealId) 104 { 105 $this->dealId = $dealId; 106 } 107 /** 108 * @return string 109 */ 110 public function getDealId() 111 { 112 return $this->dealId; 113 } 114 /** 115 * @param string 116 */ 117 public function setDeliveryMethod($deliveryMethod) 118 { 119 $this->deliveryMethod = $deliveryMethod; 120 } 121 /** 122 * @return string 123 */ 124 public function getDeliveryMethod() 125 { 126 return $this->deliveryMethod; 127 } 128 /** 129 * @param string 130 */ 131 public function setDisplayName($displayName) 132 { 133 $this->displayName = $displayName; 134 } 135 /** 136 * @return string 137 */ 138 public function getDisplayName() 139 { 140 return $this->displayName; 141 } 142 /** 143 * @param string 144 */ 145 public function setExchange($exchange) 146 { 147 $this->exchange = $exchange; 148 } 149 /** 150 * @return string 151 */ 152 public function getExchange() 153 { 154 return $this->exchange; 155 } 156 /** 157 * @param string 158 */ 159 public function setInventorySourceId($inventorySourceId) 160 { 161 $this->inventorySourceId = $inventorySourceId; 162 } 163 /** 164 * @return string 165 */ 166 public function getInventorySourceId() 167 { 168 return $this->inventorySourceId; 169 } 170 /** 171 * @param string 172 */ 173 public function setInventorySourceType($inventorySourceType) 174 { 175 $this->inventorySourceType = $inventorySourceType; 176 } 177 /** 178 * @return string 179 */ 180 public function getInventorySourceType() 181 { 182 return $this->inventorySourceType; 183 } 184 /** 185 * @param string 186 */ 187 public function setName($name) 188 { 189 $this->name = $name; 190 } 191 /** 192 * @return string 193 */ 194 public function getName() 195 { 196 return $this->name; 197 } 198 /** 199 * @param string 200 */ 201 public function setPublisherName($publisherName) 202 { 203 $this->publisherName = $publisherName; 204 } 205 /** 206 * @return string 207 */ 208 public function getPublisherName() 209 { 210 return $this->publisherName; 211 } 212 /** 213 * @param RateDetails 214 */ 215 public function setRateDetails(RateDetails $rateDetails) 216 { 217 $this->rateDetails = $rateDetails; 218 } 219 /** 220 * @return RateDetails 221 */ 222 public function getRateDetails() 223 { 224 return $this->rateDetails; 225 } 226 /** 227 * @param InventorySourceStatus 228 */ 229 public function setStatus(InventorySourceStatus $status) 230 { 231 $this->status = $status; 232 } 233 /** 234 * @return InventorySourceStatus 235 */ 236 public function getStatus() 237 { 238 return $this->status; 239 } 240 /** 241 * @param TimeRange 242 */ 243 public function setTimeRange(TimeRange $timeRange) 244 { 245 $this->timeRange = $timeRange; 246 } 247 /** 248 * @return TimeRange 249 */ 250 public function getTimeRange() 251 { 252 return $this->timeRange; 253 } 254 /** 255 * @param string 256 */ 257 public function setUpdateTime($updateTime) 258 { 259 $this->updateTime = $updateTime; 260 } 261 /** 262 * @return string 263 */ 264 public function getUpdateTime() 265 { 266 return $this->updateTime; 267 } 268} 269 270// Adding a class alias for backwards compatibility with the previous class name. 271class_alias(InventorySource::class, 'Google_Service_DisplayVideo_InventorySource'); 272