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\Apigee;
19
20class GoogleCloudApigeeV1CustomReport extends \Google\Collection
21{
22  protected $collection_key = 'tags';
23  /**
24   * @var string
25   */
26  public $chartType;
27  /**
28   * @var string[]
29   */
30  public $comments;
31  /**
32   * @var string
33   */
34  public $createdAt;
35  /**
36   * @var string[]
37   */
38  public $dimensions;
39  /**
40   * @var string
41   */
42  public $displayName;
43  /**
44   * @var string
45   */
46  public $environment;
47  /**
48   * @var string
49   */
50  public $filter;
51  /**
52   * @var string
53   */
54  public $fromTime;
55  /**
56   * @var string
57   */
58  public $lastModifiedAt;
59  /**
60   * @var string
61   */
62  public $lastViewedAt;
63  /**
64   * @var string
65   */
66  public $limit;
67  protected $metricsType = GoogleCloudApigeeV1CustomReportMetric::class;
68  protected $metricsDataType = 'array';
69  /**
70   * @var string
71   */
72  public $name;
73  /**
74   * @var string
75   */
76  public $offset;
77  /**
78   * @var string
79   */
80  public $organization;
81  protected $propertiesType = GoogleCloudApigeeV1ReportProperty::class;
82  protected $propertiesDataType = 'array';
83  /**
84   * @var string[]
85   */
86  public $sortByCols;
87  /**
88   * @var string
89   */
90  public $sortOrder;
91  /**
92   * @var string[]
93   */
94  public $tags;
95  /**
96   * @var string
97   */
98  public $timeUnit;
99  /**
100   * @var string
101   */
102  public $toTime;
103  /**
104   * @var string
105   */
106  public $topk;
107
108  /**
109   * @param string
110   */
111  public function setChartType($chartType)
112  {
113    $this->chartType = $chartType;
114  }
115  /**
116   * @return string
117   */
118  public function getChartType()
119  {
120    return $this->chartType;
121  }
122  /**
123   * @param string[]
124   */
125  public function setComments($comments)
126  {
127    $this->comments = $comments;
128  }
129  /**
130   * @return string[]
131   */
132  public function getComments()
133  {
134    return $this->comments;
135  }
136  /**
137   * @param string
138   */
139  public function setCreatedAt($createdAt)
140  {
141    $this->createdAt = $createdAt;
142  }
143  /**
144   * @return string
145   */
146  public function getCreatedAt()
147  {
148    return $this->createdAt;
149  }
150  /**
151   * @param string[]
152   */
153  public function setDimensions($dimensions)
154  {
155    $this->dimensions = $dimensions;
156  }
157  /**
158   * @return string[]
159   */
160  public function getDimensions()
161  {
162    return $this->dimensions;
163  }
164  /**
165   * @param string
166   */
167  public function setDisplayName($displayName)
168  {
169    $this->displayName = $displayName;
170  }
171  /**
172   * @return string
173   */
174  public function getDisplayName()
175  {
176    return $this->displayName;
177  }
178  /**
179   * @param string
180   */
181  public function setEnvironment($environment)
182  {
183    $this->environment = $environment;
184  }
185  /**
186   * @return string
187   */
188  public function getEnvironment()
189  {
190    return $this->environment;
191  }
192  /**
193   * @param string
194   */
195  public function setFilter($filter)
196  {
197    $this->filter = $filter;
198  }
199  /**
200   * @return string
201   */
202  public function getFilter()
203  {
204    return $this->filter;
205  }
206  /**
207   * @param string
208   */
209  public function setFromTime($fromTime)
210  {
211    $this->fromTime = $fromTime;
212  }
213  /**
214   * @return string
215   */
216  public function getFromTime()
217  {
218    return $this->fromTime;
219  }
220  /**
221   * @param string
222   */
223  public function setLastModifiedAt($lastModifiedAt)
224  {
225    $this->lastModifiedAt = $lastModifiedAt;
226  }
227  /**
228   * @return string
229   */
230  public function getLastModifiedAt()
231  {
232    return $this->lastModifiedAt;
233  }
234  /**
235   * @param string
236   */
237  public function setLastViewedAt($lastViewedAt)
238  {
239    $this->lastViewedAt = $lastViewedAt;
240  }
241  /**
242   * @return string
243   */
244  public function getLastViewedAt()
245  {
246    return $this->lastViewedAt;
247  }
248  /**
249   * @param string
250   */
251  public function setLimit($limit)
252  {
253    $this->limit = $limit;
254  }
255  /**
256   * @return string
257   */
258  public function getLimit()
259  {
260    return $this->limit;
261  }
262  /**
263   * @param GoogleCloudApigeeV1CustomReportMetric[]
264   */
265  public function setMetrics($metrics)
266  {
267    $this->metrics = $metrics;
268  }
269  /**
270   * @return GoogleCloudApigeeV1CustomReportMetric[]
271   */
272  public function getMetrics()
273  {
274    return $this->metrics;
275  }
276  /**
277   * @param string
278   */
279  public function setName($name)
280  {
281    $this->name = $name;
282  }
283  /**
284   * @return string
285   */
286  public function getName()
287  {
288    return $this->name;
289  }
290  /**
291   * @param string
292   */
293  public function setOffset($offset)
294  {
295    $this->offset = $offset;
296  }
297  /**
298   * @return string
299   */
300  public function getOffset()
301  {
302    return $this->offset;
303  }
304  /**
305   * @param string
306   */
307  public function setOrganization($organization)
308  {
309    $this->organization = $organization;
310  }
311  /**
312   * @return string
313   */
314  public function getOrganization()
315  {
316    return $this->organization;
317  }
318  /**
319   * @param GoogleCloudApigeeV1ReportProperty[]
320   */
321  public function setProperties($properties)
322  {
323    $this->properties = $properties;
324  }
325  /**
326   * @return GoogleCloudApigeeV1ReportProperty[]
327   */
328  public function getProperties()
329  {
330    return $this->properties;
331  }
332  /**
333   * @param string[]
334   */
335  public function setSortByCols($sortByCols)
336  {
337    $this->sortByCols = $sortByCols;
338  }
339  /**
340   * @return string[]
341   */
342  public function getSortByCols()
343  {
344    return $this->sortByCols;
345  }
346  /**
347   * @param string
348   */
349  public function setSortOrder($sortOrder)
350  {
351    $this->sortOrder = $sortOrder;
352  }
353  /**
354   * @return string
355   */
356  public function getSortOrder()
357  {
358    return $this->sortOrder;
359  }
360  /**
361   * @param string[]
362   */
363  public function setTags($tags)
364  {
365    $this->tags = $tags;
366  }
367  /**
368   * @return string[]
369   */
370  public function getTags()
371  {
372    return $this->tags;
373  }
374  /**
375   * @param string
376   */
377  public function setTimeUnit($timeUnit)
378  {
379    $this->timeUnit = $timeUnit;
380  }
381  /**
382   * @return string
383   */
384  public function getTimeUnit()
385  {
386    return $this->timeUnit;
387  }
388  /**
389   * @param string
390   */
391  public function setToTime($toTime)
392  {
393    $this->toTime = $toTime;
394  }
395  /**
396   * @return string
397   */
398  public function getToTime()
399  {
400    return $this->toTime;
401  }
402  /**
403   * @param string
404   */
405  public function setTopk($topk)
406  {
407    $this->topk = $topk;
408  }
409  /**
410   * @return string
411   */
412  public function getTopk()
413  {
414    return $this->topk;
415  }
416}
417
418// Adding a class alias for backwards compatibility with the previous class name.
419class_alias(GoogleCloudApigeeV1CustomReport::class, 'Google_Service_Apigee_GoogleCloudApigeeV1CustomReport');
420