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\SearchConsole;
19
20class SearchAnalyticsQueryRequest extends \Google\Collection
21{
22  protected $collection_key = 'dimensions';
23  /**
24   * @var string
25   */
26  public $aggregationType;
27  /**
28   * @var string
29   */
30  public $dataState;
31  protected $dimensionFilterGroupsType = ApiDimensionFilterGroup::class;
32  protected $dimensionFilterGroupsDataType = 'array';
33  /**
34   * @var string[]
35   */
36  public $dimensions;
37  /**
38   * @var string
39   */
40  public $endDate;
41  /**
42   * @var int
43   */
44  public $rowLimit;
45  /**
46   * @var string
47   */
48  public $searchType;
49  /**
50   * @var string
51   */
52  public $startDate;
53  /**
54   * @var int
55   */
56  public $startRow;
57  /**
58   * @var string
59   */
60  public $type;
61
62  /**
63   * @param string
64   */
65  public function setAggregationType($aggregationType)
66  {
67    $this->aggregationType = $aggregationType;
68  }
69  /**
70   * @return string
71   */
72  public function getAggregationType()
73  {
74    return $this->aggregationType;
75  }
76  /**
77   * @param string
78   */
79  public function setDataState($dataState)
80  {
81    $this->dataState = $dataState;
82  }
83  /**
84   * @return string
85   */
86  public function getDataState()
87  {
88    return $this->dataState;
89  }
90  /**
91   * @param ApiDimensionFilterGroup[]
92   */
93  public function setDimensionFilterGroups($dimensionFilterGroups)
94  {
95    $this->dimensionFilterGroups = $dimensionFilterGroups;
96  }
97  /**
98   * @return ApiDimensionFilterGroup[]
99   */
100  public function getDimensionFilterGroups()
101  {
102    return $this->dimensionFilterGroups;
103  }
104  /**
105   * @param string[]
106   */
107  public function setDimensions($dimensions)
108  {
109    $this->dimensions = $dimensions;
110  }
111  /**
112   * @return string[]
113   */
114  public function getDimensions()
115  {
116    return $this->dimensions;
117  }
118  /**
119   * @param string
120   */
121  public function setEndDate($endDate)
122  {
123    $this->endDate = $endDate;
124  }
125  /**
126   * @return string
127   */
128  public function getEndDate()
129  {
130    return $this->endDate;
131  }
132  /**
133   * @param int
134   */
135  public function setRowLimit($rowLimit)
136  {
137    $this->rowLimit = $rowLimit;
138  }
139  /**
140   * @return int
141   */
142  public function getRowLimit()
143  {
144    return $this->rowLimit;
145  }
146  /**
147   * @param string
148   */
149  public function setSearchType($searchType)
150  {
151    $this->searchType = $searchType;
152  }
153  /**
154   * @return string
155   */
156  public function getSearchType()
157  {
158    return $this->searchType;
159  }
160  /**
161   * @param string
162   */
163  public function setStartDate($startDate)
164  {
165    $this->startDate = $startDate;
166  }
167  /**
168   * @return string
169   */
170  public function getStartDate()
171  {
172    return $this->startDate;
173  }
174  /**
175   * @param int
176   */
177  public function setStartRow($startRow)
178  {
179    $this->startRow = $startRow;
180  }
181  /**
182   * @return int
183   */
184  public function getStartRow()
185  {
186    return $this->startRow;
187  }
188  /**
189   * @param string
190   */
191  public function setType($type)
192  {
193    $this->type = $type;
194  }
195  /**
196   * @return string
197   */
198  public function getType()
199  {
200    return $this->type;
201  }
202}
203
204// Adding a class alias for backwards compatibility with the previous class name.
205class_alias(SearchAnalyticsQueryRequest::class, 'Google_Service_SearchConsole_SearchAnalyticsQueryRequest');
206