source: vendor/google/apiclient-services/src/AnalyticsData/RunPivotReportRequest.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload project files

  • Property mode set to 100644
File size: 4.6 KB
Line 
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 RunPivotReportRequest extends \Google\Collection
21{
22 protected $collection_key = 'pivots';
23 protected $cohortSpecType = CohortSpec::class;
24 protected $cohortSpecDataType = '';
25 protected $comparisonsType = Comparison::class;
26 protected $comparisonsDataType = 'array';
27 /**
28 * @var string
29 */
30 public $currencyCode;
31 protected $dateRangesType = DateRange::class;
32 protected $dateRangesDataType = 'array';
33 protected $dimensionFilterType = FilterExpression::class;
34 protected $dimensionFilterDataType = '';
35 protected $dimensionsType = Dimension::class;
36 protected $dimensionsDataType = 'array';
37 /**
38 * @var bool
39 */
40 public $keepEmptyRows;
41 protected $metricFilterType = FilterExpression::class;
42 protected $metricFilterDataType = '';
43 protected $metricsType = Metric::class;
44 protected $metricsDataType = 'array';
45 protected $pivotsType = Pivot::class;
46 protected $pivotsDataType = 'array';
47 /**
48 * @var string
49 */
50 public $property;
51 /**
52 * @var bool
53 */
54 public $returnPropertyQuota;
55
56 /**
57 * @param CohortSpec
58 */
59 public function setCohortSpec(CohortSpec $cohortSpec)
60 {
61 $this->cohortSpec = $cohortSpec;
62 }
63 /**
64 * @return CohortSpec
65 */
66 public function getCohortSpec()
67 {
68 return $this->cohortSpec;
69 }
70 /**
71 * @param Comparison[]
72 */
73 public function setComparisons($comparisons)
74 {
75 $this->comparisons = $comparisons;
76 }
77 /**
78 * @return Comparison[]
79 */
80 public function getComparisons()
81 {
82 return $this->comparisons;
83 }
84 /**
85 * @param string
86 */
87 public function setCurrencyCode($currencyCode)
88 {
89 $this->currencyCode = $currencyCode;
90 }
91 /**
92 * @return string
93 */
94 public function getCurrencyCode()
95 {
96 return $this->currencyCode;
97 }
98 /**
99 * @param DateRange[]
100 */
101 public function setDateRanges($dateRanges)
102 {
103 $this->dateRanges = $dateRanges;
104 }
105 /**
106 * @return DateRange[]
107 */
108 public function getDateRanges()
109 {
110 return $this->dateRanges;
111 }
112 /**
113 * @param FilterExpression
114 */
115 public function setDimensionFilter(FilterExpression $dimensionFilter)
116 {
117 $this->dimensionFilter = $dimensionFilter;
118 }
119 /**
120 * @return FilterExpression
121 */
122 public function getDimensionFilter()
123 {
124 return $this->dimensionFilter;
125 }
126 /**
127 * @param Dimension[]
128 */
129 public function setDimensions($dimensions)
130 {
131 $this->dimensions = $dimensions;
132 }
133 /**
134 * @return Dimension[]
135 */
136 public function getDimensions()
137 {
138 return $this->dimensions;
139 }
140 /**
141 * @param bool
142 */
143 public function setKeepEmptyRows($keepEmptyRows)
144 {
145 $this->keepEmptyRows = $keepEmptyRows;
146 }
147 /**
148 * @return bool
149 */
150 public function getKeepEmptyRows()
151 {
152 return $this->keepEmptyRows;
153 }
154 /**
155 * @param FilterExpression
156 */
157 public function setMetricFilter(FilterExpression $metricFilter)
158 {
159 $this->metricFilter = $metricFilter;
160 }
161 /**
162 * @return FilterExpression
163 */
164 public function getMetricFilter()
165 {
166 return $this->metricFilter;
167 }
168 /**
169 * @param Metric[]
170 */
171 public function setMetrics($metrics)
172 {
173 $this->metrics = $metrics;
174 }
175 /**
176 * @return Metric[]
177 */
178 public function getMetrics()
179 {
180 return $this->metrics;
181 }
182 /**
183 * @param Pivot[]
184 */
185 public function setPivots($pivots)
186 {
187 $this->pivots = $pivots;
188 }
189 /**
190 * @return Pivot[]
191 */
192 public function getPivots()
193 {
194 return $this->pivots;
195 }
196 /**
197 * @param string
198 */
199 public function setProperty($property)
200 {
201 $this->property = $property;
202 }
203 /**
204 * @return string
205 */
206 public function getProperty()
207 {
208 return $this->property;
209 }
210 /**
211 * @param bool
212 */
213 public function setReturnPropertyQuota($returnPropertyQuota)
214 {
215 $this->returnPropertyQuota = $returnPropertyQuota;
216 }
217 /**
218 * @return bool
219 */
220 public function getReturnPropertyQuota()
221 {
222 return $this->returnPropertyQuota;
223 }
224}
225
226// Adding a class alias for backwards compatibility with the previous class name.
227class_alias(RunPivotReportRequest::class, 'Google_Service_AnalyticsData_RunPivotReportRequest');
Note: See TracBrowser for help on using the repository browser.