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\AdMob;
19
20class NetworkReportSpec extends \Google\Collection
21{
22  protected $collection_key = 'sortConditions';
23  protected $dateRangeType = DateRange::class;
24  protected $dateRangeDataType = '';
25  protected $dimensionFiltersType = NetworkReportSpecDimensionFilter::class;
26  protected $dimensionFiltersDataType = 'array';
27  /**
28   * @var string[]
29   */
30  public $dimensions;
31  protected $localizationSettingsType = LocalizationSettings::class;
32  protected $localizationSettingsDataType = '';
33  /**
34   * @var int
35   */
36  public $maxReportRows;
37  /**
38   * @var string[]
39   */
40  public $metrics;
41  protected $sortConditionsType = NetworkReportSpecSortCondition::class;
42  protected $sortConditionsDataType = 'array';
43  /**
44   * @var string
45   */
46  public $timeZone;
47
48  /**
49   * @param DateRange
50   */
51  public function setDateRange(DateRange $dateRange)
52  {
53    $this->dateRange = $dateRange;
54  }
55  /**
56   * @return DateRange
57   */
58  public function getDateRange()
59  {
60    return $this->dateRange;
61  }
62  /**
63   * @param NetworkReportSpecDimensionFilter[]
64   */
65  public function setDimensionFilters($dimensionFilters)
66  {
67    $this->dimensionFilters = $dimensionFilters;
68  }
69  /**
70   * @return NetworkReportSpecDimensionFilter[]
71   */
72  public function getDimensionFilters()
73  {
74    return $this->dimensionFilters;
75  }
76  /**
77   * @param string[]
78   */
79  public function setDimensions($dimensions)
80  {
81    $this->dimensions = $dimensions;
82  }
83  /**
84   * @return string[]
85   */
86  public function getDimensions()
87  {
88    return $this->dimensions;
89  }
90  /**
91   * @param LocalizationSettings
92   */
93  public function setLocalizationSettings(LocalizationSettings $localizationSettings)
94  {
95    $this->localizationSettings = $localizationSettings;
96  }
97  /**
98   * @return LocalizationSettings
99   */
100  public function getLocalizationSettings()
101  {
102    return $this->localizationSettings;
103  }
104  /**
105   * @param int
106   */
107  public function setMaxReportRows($maxReportRows)
108  {
109    $this->maxReportRows = $maxReportRows;
110  }
111  /**
112   * @return int
113   */
114  public function getMaxReportRows()
115  {
116    return $this->maxReportRows;
117  }
118  /**
119   * @param string[]
120   */
121  public function setMetrics($metrics)
122  {
123    $this->metrics = $metrics;
124  }
125  /**
126   * @return string[]
127   */
128  public function getMetrics()
129  {
130    return $this->metrics;
131  }
132  /**
133   * @param NetworkReportSpecSortCondition[]
134   */
135  public function setSortConditions($sortConditions)
136  {
137    $this->sortConditions = $sortConditions;
138  }
139  /**
140   * @return NetworkReportSpecSortCondition[]
141   */
142  public function getSortConditions()
143  {
144    return $this->sortConditions;
145  }
146  /**
147   * @param string
148   */
149  public function setTimeZone($timeZone)
150  {
151    $this->timeZone = $timeZone;
152  }
153  /**
154   * @return string
155   */
156  public function getTimeZone()
157  {
158    return $this->timeZone;
159  }
160}
161
162// Adding a class alias for backwards compatibility with the previous class name.
163class_alias(NetworkReportSpec::class, 'Google_Service_AdMob_NetworkReportSpec');
164