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 18class Google_Service_Dfareporting_InventoryItem extends Google_Collection 19{ 20 protected $collection_key = 'adSlots'; 21 public $accountId; 22 protected $adSlotsType = 'Google_Service_Dfareporting_AdSlot'; 23 protected $adSlotsDataType = 'array'; 24 public $advertiserId; 25 public $contentCategoryId; 26 public $estimatedClickThroughRate; 27 public $estimatedConversionRate; 28 public $id; 29 public $inPlan; 30 public $kind; 31 protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; 32 protected $lastModifiedInfoDataType = ''; 33 public $name; 34 public $negotiationChannelId; 35 public $orderId; 36 public $placementStrategyId; 37 protected $pricingType = 'Google_Service_Dfareporting_Pricing'; 38 protected $pricingDataType = ''; 39 public $projectId; 40 public $rfpId; 41 public $siteId; 42 public $subaccountId; 43 public $type; 44 45 public function setAccountId($accountId) 46 { 47 $this->accountId = $accountId; 48 } 49 public function getAccountId() 50 { 51 return $this->accountId; 52 } 53 /** 54 * @param Google_Service_Dfareporting_AdSlot[] 55 */ 56 public function setAdSlots($adSlots) 57 { 58 $this->adSlots = $adSlots; 59 } 60 /** 61 * @return Google_Service_Dfareporting_AdSlot[] 62 */ 63 public function getAdSlots() 64 { 65 return $this->adSlots; 66 } 67 public function setAdvertiserId($advertiserId) 68 { 69 $this->advertiserId = $advertiserId; 70 } 71 public function getAdvertiserId() 72 { 73 return $this->advertiserId; 74 } 75 public function setContentCategoryId($contentCategoryId) 76 { 77 $this->contentCategoryId = $contentCategoryId; 78 } 79 public function getContentCategoryId() 80 { 81 return $this->contentCategoryId; 82 } 83 public function setEstimatedClickThroughRate($estimatedClickThroughRate) 84 { 85 $this->estimatedClickThroughRate = $estimatedClickThroughRate; 86 } 87 public function getEstimatedClickThroughRate() 88 { 89 return $this->estimatedClickThroughRate; 90 } 91 public function setEstimatedConversionRate($estimatedConversionRate) 92 { 93 $this->estimatedConversionRate = $estimatedConversionRate; 94 } 95 public function getEstimatedConversionRate() 96 { 97 return $this->estimatedConversionRate; 98 } 99 public function setId($id) 100 { 101 $this->id = $id; 102 } 103 public function getId() 104 { 105 return $this->id; 106 } 107 public function setInPlan($inPlan) 108 { 109 $this->inPlan = $inPlan; 110 } 111 public function getInPlan() 112 { 113 return $this->inPlan; 114 } 115 public function setKind($kind) 116 { 117 $this->kind = $kind; 118 } 119 public function getKind() 120 { 121 return $this->kind; 122 } 123 /** 124 * @param Google_Service_Dfareporting_LastModifiedInfo 125 */ 126 public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) 127 { 128 $this->lastModifiedInfo = $lastModifiedInfo; 129 } 130 /** 131 * @return Google_Service_Dfareporting_LastModifiedInfo 132 */ 133 public function getLastModifiedInfo() 134 { 135 return $this->lastModifiedInfo; 136 } 137 public function setName($name) 138 { 139 $this->name = $name; 140 } 141 public function getName() 142 { 143 return $this->name; 144 } 145 public function setNegotiationChannelId($negotiationChannelId) 146 { 147 $this->negotiationChannelId = $negotiationChannelId; 148 } 149 public function getNegotiationChannelId() 150 { 151 return $this->negotiationChannelId; 152 } 153 public function setOrderId($orderId) 154 { 155 $this->orderId = $orderId; 156 } 157 public function getOrderId() 158 { 159 return $this->orderId; 160 } 161 public function setPlacementStrategyId($placementStrategyId) 162 { 163 $this->placementStrategyId = $placementStrategyId; 164 } 165 public function getPlacementStrategyId() 166 { 167 return $this->placementStrategyId; 168 } 169 /** 170 * @param Google_Service_Dfareporting_Pricing 171 */ 172 public function setPricing(Google_Service_Dfareporting_Pricing $pricing) 173 { 174 $this->pricing = $pricing; 175 } 176 /** 177 * @return Google_Service_Dfareporting_Pricing 178 */ 179 public function getPricing() 180 { 181 return $this->pricing; 182 } 183 public function setProjectId($projectId) 184 { 185 $this->projectId = $projectId; 186 } 187 public function getProjectId() 188 { 189 return $this->projectId; 190 } 191 public function setRfpId($rfpId) 192 { 193 $this->rfpId = $rfpId; 194 } 195 public function getRfpId() 196 { 197 return $this->rfpId; 198 } 199 public function setSiteId($siteId) 200 { 201 $this->siteId = $siteId; 202 } 203 public function getSiteId() 204 { 205 return $this->siteId; 206 } 207 public function setSubaccountId($subaccountId) 208 { 209 $this->subaccountId = $subaccountId; 210 } 211 public function getSubaccountId() 212 { 213 return $this->subaccountId; 214 } 215 public function setType($type) 216 { 217 $this->type = $type; 218 } 219 public function getType() 220 { 221 return $this->type; 222 } 223} 224