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\AnalyticsData;
19
20class RunPivotReportResponse extends \Google\Collection
21{
22  protected $collection_key = 'rows';
23  protected $aggregatesType = Row::class;
24  protected $aggregatesDataType = 'array';
25  protected $dimensionHeadersType = DimensionHeader::class;
26  protected $dimensionHeadersDataType = 'array';
27  /**
28   * @var string
29   */
30  public $kind;
31  protected $metadataType = ResponseMetaData::class;
32  protected $metadataDataType = '';
33  protected $metricHeadersType = MetricHeader::class;
34  protected $metricHeadersDataType = 'array';
35  protected $pivotHeadersType = PivotHeader::class;
36  protected $pivotHeadersDataType = 'array';
37  protected $propertyQuotaType = PropertyQuota::class;
38  protected $propertyQuotaDataType = '';
39  protected $rowsType = Row::class;
40  protected $rowsDataType = 'array';
41
42  /**
43   * @param Row[]
44   */
45  public function setAggregates($aggregates)
46  {
47    $this->aggregates = $aggregates;
48  }
49  /**
50   * @return Row[]
51   */
52  public function getAggregates()
53  {
54    return $this->aggregates;
55  }
56  /**
57   * @param DimensionHeader[]
58   */
59  public function setDimensionHeaders($dimensionHeaders)
60  {
61    $this->dimensionHeaders = $dimensionHeaders;
62  }
63  /**
64   * @return DimensionHeader[]
65   */
66  public function getDimensionHeaders()
67  {
68    return $this->dimensionHeaders;
69  }
70  /**
71   * @param string
72   */
73  public function setKind($kind)
74  {
75    $this->kind = $kind;
76  }
77  /**
78   * @return string
79   */
80  public function getKind()
81  {
82    return $this->kind;
83  }
84  /**
85   * @param ResponseMetaData
86   */
87  public function setMetadata(ResponseMetaData $metadata)
88  {
89    $this->metadata = $metadata;
90  }
91  /**
92   * @return ResponseMetaData
93   */
94  public function getMetadata()
95  {
96    return $this->metadata;
97  }
98  /**
99   * @param MetricHeader[]
100   */
101  public function setMetricHeaders($metricHeaders)
102  {
103    $this->metricHeaders = $metricHeaders;
104  }
105  /**
106   * @return MetricHeader[]
107   */
108  public function getMetricHeaders()
109  {
110    return $this->metricHeaders;
111  }
112  /**
113   * @param PivotHeader[]
114   */
115  public function setPivotHeaders($pivotHeaders)
116  {
117    $this->pivotHeaders = $pivotHeaders;
118  }
119  /**
120   * @return PivotHeader[]
121   */
122  public function getPivotHeaders()
123  {
124    return $this->pivotHeaders;
125  }
126  /**
127   * @param PropertyQuota
128   */
129  public function setPropertyQuota(PropertyQuota $propertyQuota)
130  {
131    $this->propertyQuota = $propertyQuota;
132  }
133  /**
134   * @return PropertyQuota
135   */
136  public function getPropertyQuota()
137  {
138    return $this->propertyQuota;
139  }
140  /**
141   * @param Row[]
142   */
143  public function setRows($rows)
144  {
145    $this->rows = $rows;
146  }
147  /**
148   * @return Row[]
149   */
150  public function getRows()
151  {
152    return $this->rows;
153  }
154}
155
156// Adding a class alias for backwards compatibility with the previous class name.
157class_alias(RunPivotReportResponse::class, 'Google_Service_AnalyticsData_RunPivotReportResponse');
158