[e3d4e0a] | 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\AirQuality;
|
---|
| 19 |
|
---|
| 20 | class LookupHistoryRequest extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'extraComputations';
|
---|
| 23 | protected $customLocalAqisType = CustomLocalAqi::class;
|
---|
| 24 | protected $customLocalAqisDataType = 'array';
|
---|
| 25 | /**
|
---|
| 26 | * @var string
|
---|
| 27 | */
|
---|
| 28 | public $dateTime;
|
---|
| 29 | /**
|
---|
| 30 | * @var string[]
|
---|
| 31 | */
|
---|
| 32 | public $extraComputations;
|
---|
| 33 | /**
|
---|
| 34 | * @var int
|
---|
| 35 | */
|
---|
| 36 | public $hours;
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $languageCode;
|
---|
| 41 | protected $locationType = LatLng::class;
|
---|
| 42 | protected $locationDataType = '';
|
---|
| 43 | /**
|
---|
| 44 | * @var int
|
---|
| 45 | */
|
---|
| 46 | public $pageSize;
|
---|
| 47 | /**
|
---|
| 48 | * @var string
|
---|
| 49 | */
|
---|
| 50 | public $pageToken;
|
---|
| 51 | protected $periodType = Interval::class;
|
---|
| 52 | protected $periodDataType = '';
|
---|
| 53 | /**
|
---|
| 54 | * @var string
|
---|
| 55 | */
|
---|
| 56 | public $uaqiColorPalette;
|
---|
| 57 | /**
|
---|
| 58 | * @var bool
|
---|
| 59 | */
|
---|
| 60 | public $universalAqi;
|
---|
| 61 |
|
---|
| 62 | /**
|
---|
| 63 | * @param CustomLocalAqi[]
|
---|
| 64 | */
|
---|
| 65 | public function setCustomLocalAqis($customLocalAqis)
|
---|
| 66 | {
|
---|
| 67 | $this->customLocalAqis = $customLocalAqis;
|
---|
| 68 | }
|
---|
| 69 | /**
|
---|
| 70 | * @return CustomLocalAqi[]
|
---|
| 71 | */
|
---|
| 72 | public function getCustomLocalAqis()
|
---|
| 73 | {
|
---|
| 74 | return $this->customLocalAqis;
|
---|
| 75 | }
|
---|
| 76 | /**
|
---|
| 77 | * @param string
|
---|
| 78 | */
|
---|
| 79 | public function setDateTime($dateTime)
|
---|
| 80 | {
|
---|
| 81 | $this->dateTime = $dateTime;
|
---|
| 82 | }
|
---|
| 83 | /**
|
---|
| 84 | * @return string
|
---|
| 85 | */
|
---|
| 86 | public function getDateTime()
|
---|
| 87 | {
|
---|
| 88 | return $this->dateTime;
|
---|
| 89 | }
|
---|
| 90 | /**
|
---|
| 91 | * @param string[]
|
---|
| 92 | */
|
---|
| 93 | public function setExtraComputations($extraComputations)
|
---|
| 94 | {
|
---|
| 95 | $this->extraComputations = $extraComputations;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @return string[]
|
---|
| 99 | */
|
---|
| 100 | public function getExtraComputations()
|
---|
| 101 | {
|
---|
| 102 | return $this->extraComputations;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @param int
|
---|
| 106 | */
|
---|
| 107 | public function setHours($hours)
|
---|
| 108 | {
|
---|
| 109 | $this->hours = $hours;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @return int
|
---|
| 113 | */
|
---|
| 114 | public function getHours()
|
---|
| 115 | {
|
---|
| 116 | return $this->hours;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @param string
|
---|
| 120 | */
|
---|
| 121 | public function setLanguageCode($languageCode)
|
---|
| 122 | {
|
---|
| 123 | $this->languageCode = $languageCode;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @return string
|
---|
| 127 | */
|
---|
| 128 | public function getLanguageCode()
|
---|
| 129 | {
|
---|
| 130 | return $this->languageCode;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @param LatLng
|
---|
| 134 | */
|
---|
| 135 | public function setLocation(LatLng $location)
|
---|
| 136 | {
|
---|
| 137 | $this->location = $location;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @return LatLng
|
---|
| 141 | */
|
---|
| 142 | public function getLocation()
|
---|
| 143 | {
|
---|
| 144 | return $this->location;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @param int
|
---|
| 148 | */
|
---|
| 149 | public function setPageSize($pageSize)
|
---|
| 150 | {
|
---|
| 151 | $this->pageSize = $pageSize;
|
---|
| 152 | }
|
---|
| 153 | /**
|
---|
| 154 | * @return int
|
---|
| 155 | */
|
---|
| 156 | public function getPageSize()
|
---|
| 157 | {
|
---|
| 158 | return $this->pageSize;
|
---|
| 159 | }
|
---|
| 160 | /**
|
---|
| 161 | * @param string
|
---|
| 162 | */
|
---|
| 163 | public function setPageToken($pageToken)
|
---|
| 164 | {
|
---|
| 165 | $this->pageToken = $pageToken;
|
---|
| 166 | }
|
---|
| 167 | /**
|
---|
| 168 | * @return string
|
---|
| 169 | */
|
---|
| 170 | public function getPageToken()
|
---|
| 171 | {
|
---|
| 172 | return $this->pageToken;
|
---|
| 173 | }
|
---|
| 174 | /**
|
---|
| 175 | * @param Interval
|
---|
| 176 | */
|
---|
| 177 | public function setPeriod(Interval $period)
|
---|
| 178 | {
|
---|
| 179 | $this->period = $period;
|
---|
| 180 | }
|
---|
| 181 | /**
|
---|
| 182 | * @return Interval
|
---|
| 183 | */
|
---|
| 184 | public function getPeriod()
|
---|
| 185 | {
|
---|
| 186 | return $this->period;
|
---|
| 187 | }
|
---|
| 188 | /**
|
---|
| 189 | * @param string
|
---|
| 190 | */
|
---|
| 191 | public function setUaqiColorPalette($uaqiColorPalette)
|
---|
| 192 | {
|
---|
| 193 | $this->uaqiColorPalette = $uaqiColorPalette;
|
---|
| 194 | }
|
---|
| 195 | /**
|
---|
| 196 | * @return string
|
---|
| 197 | */
|
---|
| 198 | public function getUaqiColorPalette()
|
---|
| 199 | {
|
---|
| 200 | return $this->uaqiColorPalette;
|
---|
| 201 | }
|
---|
| 202 | /**
|
---|
| 203 | * @param bool
|
---|
| 204 | */
|
---|
| 205 | public function setUniversalAqi($universalAqi)
|
---|
| 206 | {
|
---|
| 207 | $this->universalAqi = $universalAqi;
|
---|
| 208 | }
|
---|
| 209 | /**
|
---|
| 210 | * @return bool
|
---|
| 211 | */
|
---|
| 212 | public function getUniversalAqi()
|
---|
| 213 | {
|
---|
| 214 | return $this->universalAqi;
|
---|
| 215 | }
|
---|
| 216 | }
|
---|
| 217 |
|
---|
| 218 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 219 | class_alias(LookupHistoryRequest::class, 'Google_Service_AirQuality_LookupHistoryRequest');
|
---|