[f9c482b] | 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 |
|
---|
| 18 | namespace Google\Service\Webmasters;
|
---|
| 19 |
|
---|
| 20 | class SearchAnalyticsQueryRequest extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'dimensions';
|
---|
| 23 | public $aggregationType;
|
---|
| 24 | public $dataState;
|
---|
| 25 | protected $dimensionFilterGroupsType = ApiDimensionFilterGroup::class;
|
---|
| 26 | protected $dimensionFilterGroupsDataType = 'array';
|
---|
| 27 | public $dimensions;
|
---|
| 28 | public $endDate;
|
---|
| 29 | public $rowLimit;
|
---|
| 30 | public $searchType;
|
---|
| 31 | public $startDate;
|
---|
| 32 | public $startRow;
|
---|
| 33 |
|
---|
| 34 | public function setAggregationType($aggregationType)
|
---|
| 35 | {
|
---|
| 36 | $this->aggregationType = $aggregationType;
|
---|
| 37 | }
|
---|
| 38 | public function getAggregationType()
|
---|
| 39 | {
|
---|
| 40 | return $this->aggregationType;
|
---|
| 41 | }
|
---|
| 42 | public function setDataState($dataState)
|
---|
| 43 | {
|
---|
| 44 | $this->dataState = $dataState;
|
---|
| 45 | }
|
---|
| 46 | public function getDataState()
|
---|
| 47 | {
|
---|
| 48 | return $this->dataState;
|
---|
| 49 | }
|
---|
| 50 | /**
|
---|
| 51 | * @param ApiDimensionFilterGroup[]
|
---|
| 52 | */
|
---|
| 53 | public function setDimensionFilterGroups($dimensionFilterGroups)
|
---|
| 54 | {
|
---|
| 55 | $this->dimensionFilterGroups = $dimensionFilterGroups;
|
---|
| 56 | }
|
---|
| 57 | /**
|
---|
| 58 | * @return ApiDimensionFilterGroup[]
|
---|
| 59 | */
|
---|
| 60 | public function getDimensionFilterGroups()
|
---|
| 61 | {
|
---|
| 62 | return $this->dimensionFilterGroups;
|
---|
| 63 | }
|
---|
| 64 | public function setDimensions($dimensions)
|
---|
| 65 | {
|
---|
| 66 | $this->dimensions = $dimensions;
|
---|
| 67 | }
|
---|
| 68 | public function getDimensions()
|
---|
| 69 | {
|
---|
| 70 | return $this->dimensions;
|
---|
| 71 | }
|
---|
| 72 | public function setEndDate($endDate)
|
---|
| 73 | {
|
---|
| 74 | $this->endDate = $endDate;
|
---|
| 75 | }
|
---|
| 76 | public function getEndDate()
|
---|
| 77 | {
|
---|
| 78 | return $this->endDate;
|
---|
| 79 | }
|
---|
| 80 | public function setRowLimit($rowLimit)
|
---|
| 81 | {
|
---|
| 82 | $this->rowLimit = $rowLimit;
|
---|
| 83 | }
|
---|
| 84 | public function getRowLimit()
|
---|
| 85 | {
|
---|
| 86 | return $this->rowLimit;
|
---|
| 87 | }
|
---|
| 88 | public function setSearchType($searchType)
|
---|
| 89 | {
|
---|
| 90 | $this->searchType = $searchType;
|
---|
| 91 | }
|
---|
| 92 | public function getSearchType()
|
---|
| 93 | {
|
---|
| 94 | return $this->searchType;
|
---|
| 95 | }
|
---|
| 96 | public function setStartDate($startDate)
|
---|
| 97 | {
|
---|
| 98 | $this->startDate = $startDate;
|
---|
| 99 | }
|
---|
| 100 | public function getStartDate()
|
---|
| 101 | {
|
---|
| 102 | return $this->startDate;
|
---|
| 103 | }
|
---|
| 104 | public function setStartRow($startRow)
|
---|
| 105 | {
|
---|
| 106 | $this->startRow = $startRow;
|
---|
| 107 | }
|
---|
| 108 | public function getStartRow()
|
---|
| 109 | {
|
---|
| 110 | return $this->startRow;
|
---|
| 111 | }
|
---|
| 112 | }
|
---|
| 113 |
|
---|
| 114 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 115 | class_alias(SearchAnalyticsQueryRequest::class, 'Google_Service_Webmasters_SearchAnalyticsQueryRequest');
|
---|