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\Dfareporting;
19
20class InventoryItem extends \Google\Collection
21{
22  protected $collection_key = 'adSlots';
23  /**
24   * @var string
25   */
26  public $accountId;
27  protected $adSlotsType = AdSlot::class;
28  protected $adSlotsDataType = 'array';
29  /**
30   * @var string
31   */
32  public $advertiserId;
33  /**
34   * @var string
35   */
36  public $contentCategoryId;
37  /**
38   * @var string
39   */
40  public $estimatedClickThroughRate;
41  /**
42   * @var string
43   */
44  public $estimatedConversionRate;
45  /**
46   * @var string
47   */
48  public $id;
49  /**
50   * @var bool
51   */
52  public $inPlan;
53  /**
54   * @var string
55   */
56  public $kind;
57  protected $lastModifiedInfoType = LastModifiedInfo::class;
58  protected $lastModifiedInfoDataType = '';
59  /**
60   * @var string
61   */
62  public $name;
63  /**
64   * @var string
65   */
66  public $negotiationChannelId;
67  /**
68   * @var string
69   */
70  public $orderId;
71  /**
72   * @var string
73   */
74  public $placementStrategyId;
75  protected $pricingType = Pricing::class;
76  protected $pricingDataType = '';
77  /**
78   * @var string
79   */
80  public $projectId;
81  /**
82   * @var string
83   */
84  public $rfpId;
85  /**
86   * @var string
87   */
88  public $siteId;
89  /**
90   * @var string
91   */
92  public $subaccountId;
93  /**
94   * @var string
95   */
96  public $type;
97
98  /**
99   * @param string
100   */
101  public function setAccountId($accountId)
102  {
103    $this->accountId = $accountId;
104  }
105  /**
106   * @return string
107   */
108  public function getAccountId()
109  {
110    return $this->accountId;
111  }
112  /**
113   * @param AdSlot[]
114   */
115  public function setAdSlots($adSlots)
116  {
117    $this->adSlots = $adSlots;
118  }
119  /**
120   * @return AdSlot[]
121   */
122  public function getAdSlots()
123  {
124    return $this->adSlots;
125  }
126  /**
127   * @param string
128   */
129  public function setAdvertiserId($advertiserId)
130  {
131    $this->advertiserId = $advertiserId;
132  }
133  /**
134   * @return string
135   */
136  public function getAdvertiserId()
137  {
138    return $this->advertiserId;
139  }
140  /**
141   * @param string
142   */
143  public function setContentCategoryId($contentCategoryId)
144  {
145    $this->contentCategoryId = $contentCategoryId;
146  }
147  /**
148   * @return string
149   */
150  public function getContentCategoryId()
151  {
152    return $this->contentCategoryId;
153  }
154  /**
155   * @param string
156   */
157  public function setEstimatedClickThroughRate($estimatedClickThroughRate)
158  {
159    $this->estimatedClickThroughRate = $estimatedClickThroughRate;
160  }
161  /**
162   * @return string
163   */
164  public function getEstimatedClickThroughRate()
165  {
166    return $this->estimatedClickThroughRate;
167  }
168  /**
169   * @param string
170   */
171  public function setEstimatedConversionRate($estimatedConversionRate)
172  {
173    $this->estimatedConversionRate = $estimatedConversionRate;
174  }
175  /**
176   * @return string
177   */
178  public function getEstimatedConversionRate()
179  {
180    return $this->estimatedConversionRate;
181  }
182  /**
183   * @param string
184   */
185  public function setId($id)
186  {
187    $this->id = $id;
188  }
189  /**
190   * @return string
191   */
192  public function getId()
193  {
194    return $this->id;
195  }
196  /**
197   * @param bool
198   */
199  public function setInPlan($inPlan)
200  {
201    $this->inPlan = $inPlan;
202  }
203  /**
204   * @return bool
205   */
206  public function getInPlan()
207  {
208    return $this->inPlan;
209  }
210  /**
211   * @param string
212   */
213  public function setKind($kind)
214  {
215    $this->kind = $kind;
216  }
217  /**
218   * @return string
219   */
220  public function getKind()
221  {
222    return $this->kind;
223  }
224  /**
225   * @param LastModifiedInfo
226   */
227  public function setLastModifiedInfo(LastModifiedInfo $lastModifiedInfo)
228  {
229    $this->lastModifiedInfo = $lastModifiedInfo;
230  }
231  /**
232   * @return LastModifiedInfo
233   */
234  public function getLastModifiedInfo()
235  {
236    return $this->lastModifiedInfo;
237  }
238  /**
239   * @param string
240   */
241  public function setName($name)
242  {
243    $this->name = $name;
244  }
245  /**
246   * @return string
247   */
248  public function getName()
249  {
250    return $this->name;
251  }
252  /**
253   * @param string
254   */
255  public function setNegotiationChannelId($negotiationChannelId)
256  {
257    $this->negotiationChannelId = $negotiationChannelId;
258  }
259  /**
260   * @return string
261   */
262  public function getNegotiationChannelId()
263  {
264    return $this->negotiationChannelId;
265  }
266  /**
267   * @param string
268   */
269  public function setOrderId($orderId)
270  {
271    $this->orderId = $orderId;
272  }
273  /**
274   * @return string
275   */
276  public function getOrderId()
277  {
278    return $this->orderId;
279  }
280  /**
281   * @param string
282   */
283  public function setPlacementStrategyId($placementStrategyId)
284  {
285    $this->placementStrategyId = $placementStrategyId;
286  }
287  /**
288   * @return string
289   */
290  public function getPlacementStrategyId()
291  {
292    return $this->placementStrategyId;
293  }
294  /**
295   * @param Pricing
296   */
297  public function setPricing(Pricing $pricing)
298  {
299    $this->pricing = $pricing;
300  }
301  /**
302   * @return Pricing
303   */
304  public function getPricing()
305  {
306    return $this->pricing;
307  }
308  /**
309   * @param string
310   */
311  public function setProjectId($projectId)
312  {
313    $this->projectId = $projectId;
314  }
315  /**
316   * @return string
317   */
318  public function getProjectId()
319  {
320    return $this->projectId;
321  }
322  /**
323   * @param string
324   */
325  public function setRfpId($rfpId)
326  {
327    $this->rfpId = $rfpId;
328  }
329  /**
330   * @return string
331   */
332  public function getRfpId()
333  {
334    return $this->rfpId;
335  }
336  /**
337   * @param string
338   */
339  public function setSiteId($siteId)
340  {
341    $this->siteId = $siteId;
342  }
343  /**
344   * @return string
345   */
346  public function getSiteId()
347  {
348    return $this->siteId;
349  }
350  /**
351   * @param string
352   */
353  public function setSubaccountId($subaccountId)
354  {
355    $this->subaccountId = $subaccountId;
356  }
357  /**
358   * @return string
359   */
360  public function getSubaccountId()
361  {
362    return $this->subaccountId;
363  }
364  /**
365   * @param string
366   */
367  public function setType($type)
368  {
369    $this->type = $type;
370  }
371  /**
372   * @return string
373   */
374  public function getType()
375  {
376    return $this->type;
377  }
378}
379
380// Adding a class alias for backwards compatibility with the previous class name.
381class_alias(InventoryItem::class, 'Google_Service_Dfareporting_InventoryItem');
382