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 ImpressionMetricsRow extends \Google\Model
21{
22  protected $availableImpressionsType = MetricValue::class;
23  protected $availableImpressionsDataType = '';
24  protected $bidRequestsType = MetricValue::class;
25  protected $bidRequestsDataType = '';
26  protected $inventoryMatchesType = MetricValue::class;
27  protected $inventoryMatchesDataType = '';
28  protected $responsesWithBidsType = MetricValue::class;
29  protected $responsesWithBidsDataType = '';
30  protected $rowDimensionsType = RowDimensions::class;
31  protected $rowDimensionsDataType = '';
32  protected $successfulResponsesType = MetricValue::class;
33  protected $successfulResponsesDataType = '';
34
35  /**
36   * @param MetricValue
37   */
38  public function setAvailableImpressions(MetricValue $availableImpressions)
39  {
40    $this->availableImpressions = $availableImpressions;
41  }
42  /**
43   * @return MetricValue
44   */
45  public function getAvailableImpressions()
46  {
47    return $this->availableImpressions;
48  }
49  /**
50   * @param MetricValue
51   */
52  public function setBidRequests(MetricValue $bidRequests)
53  {
54    $this->bidRequests = $bidRequests;
55  }
56  /**
57   * @return MetricValue
58   */
59  public function getBidRequests()
60  {
61    return $this->bidRequests;
62  }
63  /**
64   * @param MetricValue
65   */
66  public function setInventoryMatches(MetricValue $inventoryMatches)
67  {
68    $this->inventoryMatches = $inventoryMatches;
69  }
70  /**
71   * @return MetricValue
72   */
73  public function getInventoryMatches()
74  {
75    return $this->inventoryMatches;
76  }
77  /**
78   * @param MetricValue
79   */
80  public function setResponsesWithBids(MetricValue $responsesWithBids)
81  {
82    $this->responsesWithBids = $responsesWithBids;
83  }
84  /**
85   * @return MetricValue
86   */
87  public function getResponsesWithBids()
88  {
89    return $this->responsesWithBids;
90  }
91  /**
92   * @param RowDimensions
93   */
94  public function setRowDimensions(RowDimensions $rowDimensions)
95  {
96    $this->rowDimensions = $rowDimensions;
97  }
98  /**
99   * @return RowDimensions
100   */
101  public function getRowDimensions()
102  {
103    return $this->rowDimensions;
104  }
105  /**
106   * @param MetricValue
107   */
108  public function setSuccessfulResponses(MetricValue $successfulResponses)
109  {
110    $this->successfulResponses = $successfulResponses;
111  }
112  /**
113   * @return MetricValue
114   */
115  public function getSuccessfulResponses()
116  {
117    return $this->successfulResponses;
118  }
119}
120
121// Adding a class alias for backwards compatibility with the previous class name.
122class_alias(ImpressionMetricsRow::class, 'Google_Service_AdExchangeBuyerII_ImpressionMetricsRow');
123