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\MapsPlaces;
|
---|
19 |
|
---|
20 | class GoogleMapsPlacesV1SearchTextRequest extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'priceLevels';
|
---|
23 | protected $evOptionsType = GoogleMapsPlacesV1SearchTextRequestEVOptions::class;
|
---|
24 | protected $evOptionsDataType = '';
|
---|
25 | /**
|
---|
26 | * @var bool
|
---|
27 | */
|
---|
28 | public $includePureServiceAreaBusinesses;
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $includedType;
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $languageCode;
|
---|
37 | protected $locationBiasType = GoogleMapsPlacesV1SearchTextRequestLocationBias::class;
|
---|
38 | protected $locationBiasDataType = '';
|
---|
39 | protected $locationRestrictionType = GoogleMapsPlacesV1SearchTextRequestLocationRestriction::class;
|
---|
40 | protected $locationRestrictionDataType = '';
|
---|
41 | /**
|
---|
42 | * @var int
|
---|
43 | */
|
---|
44 | public $maxResultCount;
|
---|
45 | public $minRating;
|
---|
46 | /**
|
---|
47 | * @var bool
|
---|
48 | */
|
---|
49 | public $openNow;
|
---|
50 | /**
|
---|
51 | * @var int
|
---|
52 | */
|
---|
53 | public $pageSize;
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $pageToken;
|
---|
58 | /**
|
---|
59 | * @var string[]
|
---|
60 | */
|
---|
61 | public $priceLevels;
|
---|
62 | /**
|
---|
63 | * @var string
|
---|
64 | */
|
---|
65 | public $rankPreference;
|
---|
66 | /**
|
---|
67 | * @var string
|
---|
68 | */
|
---|
69 | public $regionCode;
|
---|
70 | protected $routingParametersType = GoogleMapsPlacesV1RoutingParameters::class;
|
---|
71 | protected $routingParametersDataType = '';
|
---|
72 | protected $searchAlongRouteParametersType = GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters::class;
|
---|
73 | protected $searchAlongRouteParametersDataType = '';
|
---|
74 | /**
|
---|
75 | * @var bool
|
---|
76 | */
|
---|
77 | public $strictTypeFiltering;
|
---|
78 | /**
|
---|
79 | * @var string
|
---|
80 | */
|
---|
81 | public $textQuery;
|
---|
82 |
|
---|
83 | /**
|
---|
84 | * @param GoogleMapsPlacesV1SearchTextRequestEVOptions
|
---|
85 | */
|
---|
86 | public function setEvOptions(GoogleMapsPlacesV1SearchTextRequestEVOptions $evOptions)
|
---|
87 | {
|
---|
88 | $this->evOptions = $evOptions;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @return GoogleMapsPlacesV1SearchTextRequestEVOptions
|
---|
92 | */
|
---|
93 | public function getEvOptions()
|
---|
94 | {
|
---|
95 | return $this->evOptions;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @param bool
|
---|
99 | */
|
---|
100 | public function setIncludePureServiceAreaBusinesses($includePureServiceAreaBusinesses)
|
---|
101 | {
|
---|
102 | $this->includePureServiceAreaBusinesses = $includePureServiceAreaBusinesses;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @return bool
|
---|
106 | */
|
---|
107 | public function getIncludePureServiceAreaBusinesses()
|
---|
108 | {
|
---|
109 | return $this->includePureServiceAreaBusinesses;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @param string
|
---|
113 | */
|
---|
114 | public function setIncludedType($includedType)
|
---|
115 | {
|
---|
116 | $this->includedType = $includedType;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @return string
|
---|
120 | */
|
---|
121 | public function getIncludedType()
|
---|
122 | {
|
---|
123 | return $this->includedType;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @param string
|
---|
127 | */
|
---|
128 | public function setLanguageCode($languageCode)
|
---|
129 | {
|
---|
130 | $this->languageCode = $languageCode;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @return string
|
---|
134 | */
|
---|
135 | public function getLanguageCode()
|
---|
136 | {
|
---|
137 | return $this->languageCode;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @param GoogleMapsPlacesV1SearchTextRequestLocationBias
|
---|
141 | */
|
---|
142 | public function setLocationBias(GoogleMapsPlacesV1SearchTextRequestLocationBias $locationBias)
|
---|
143 | {
|
---|
144 | $this->locationBias = $locationBias;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @return GoogleMapsPlacesV1SearchTextRequestLocationBias
|
---|
148 | */
|
---|
149 | public function getLocationBias()
|
---|
150 | {
|
---|
151 | return $this->locationBias;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @param GoogleMapsPlacesV1SearchTextRequestLocationRestriction
|
---|
155 | */
|
---|
156 | public function setLocationRestriction(GoogleMapsPlacesV1SearchTextRequestLocationRestriction $locationRestriction)
|
---|
157 | {
|
---|
158 | $this->locationRestriction = $locationRestriction;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @return GoogleMapsPlacesV1SearchTextRequestLocationRestriction
|
---|
162 | */
|
---|
163 | public function getLocationRestriction()
|
---|
164 | {
|
---|
165 | return $this->locationRestriction;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @param int
|
---|
169 | */
|
---|
170 | public function setMaxResultCount($maxResultCount)
|
---|
171 | {
|
---|
172 | $this->maxResultCount = $maxResultCount;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @return int
|
---|
176 | */
|
---|
177 | public function getMaxResultCount()
|
---|
178 | {
|
---|
179 | return $this->maxResultCount;
|
---|
180 | }
|
---|
181 | public function setMinRating($minRating)
|
---|
182 | {
|
---|
183 | $this->minRating = $minRating;
|
---|
184 | }
|
---|
185 | public function getMinRating()
|
---|
186 | {
|
---|
187 | return $this->minRating;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @param bool
|
---|
191 | */
|
---|
192 | public function setOpenNow($openNow)
|
---|
193 | {
|
---|
194 | $this->openNow = $openNow;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @return bool
|
---|
198 | */
|
---|
199 | public function getOpenNow()
|
---|
200 | {
|
---|
201 | return $this->openNow;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @param int
|
---|
205 | */
|
---|
206 | public function setPageSize($pageSize)
|
---|
207 | {
|
---|
208 | $this->pageSize = $pageSize;
|
---|
209 | }
|
---|
210 | /**
|
---|
211 | * @return int
|
---|
212 | */
|
---|
213 | public function getPageSize()
|
---|
214 | {
|
---|
215 | return $this->pageSize;
|
---|
216 | }
|
---|
217 | /**
|
---|
218 | * @param string
|
---|
219 | */
|
---|
220 | public function setPageToken($pageToken)
|
---|
221 | {
|
---|
222 | $this->pageToken = $pageToken;
|
---|
223 | }
|
---|
224 | /**
|
---|
225 | * @return string
|
---|
226 | */
|
---|
227 | public function getPageToken()
|
---|
228 | {
|
---|
229 | return $this->pageToken;
|
---|
230 | }
|
---|
231 | /**
|
---|
232 | * @param string[]
|
---|
233 | */
|
---|
234 | public function setPriceLevels($priceLevels)
|
---|
235 | {
|
---|
236 | $this->priceLevels = $priceLevels;
|
---|
237 | }
|
---|
238 | /**
|
---|
239 | * @return string[]
|
---|
240 | */
|
---|
241 | public function getPriceLevels()
|
---|
242 | {
|
---|
243 | return $this->priceLevels;
|
---|
244 | }
|
---|
245 | /**
|
---|
246 | * @param string
|
---|
247 | */
|
---|
248 | public function setRankPreference($rankPreference)
|
---|
249 | {
|
---|
250 | $this->rankPreference = $rankPreference;
|
---|
251 | }
|
---|
252 | /**
|
---|
253 | * @return string
|
---|
254 | */
|
---|
255 | public function getRankPreference()
|
---|
256 | {
|
---|
257 | return $this->rankPreference;
|
---|
258 | }
|
---|
259 | /**
|
---|
260 | * @param string
|
---|
261 | */
|
---|
262 | public function setRegionCode($regionCode)
|
---|
263 | {
|
---|
264 | $this->regionCode = $regionCode;
|
---|
265 | }
|
---|
266 | /**
|
---|
267 | * @return string
|
---|
268 | */
|
---|
269 | public function getRegionCode()
|
---|
270 | {
|
---|
271 | return $this->regionCode;
|
---|
272 | }
|
---|
273 | /**
|
---|
274 | * @param GoogleMapsPlacesV1RoutingParameters
|
---|
275 | */
|
---|
276 | public function setRoutingParameters(GoogleMapsPlacesV1RoutingParameters $routingParameters)
|
---|
277 | {
|
---|
278 | $this->routingParameters = $routingParameters;
|
---|
279 | }
|
---|
280 | /**
|
---|
281 | * @return GoogleMapsPlacesV1RoutingParameters
|
---|
282 | */
|
---|
283 | public function getRoutingParameters()
|
---|
284 | {
|
---|
285 | return $this->routingParameters;
|
---|
286 | }
|
---|
287 | /**
|
---|
288 | * @param GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters
|
---|
289 | */
|
---|
290 | public function setSearchAlongRouteParameters(GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters $searchAlongRouteParameters)
|
---|
291 | {
|
---|
292 | $this->searchAlongRouteParameters = $searchAlongRouteParameters;
|
---|
293 | }
|
---|
294 | /**
|
---|
295 | * @return GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters
|
---|
296 | */
|
---|
297 | public function getSearchAlongRouteParameters()
|
---|
298 | {
|
---|
299 | return $this->searchAlongRouteParameters;
|
---|
300 | }
|
---|
301 | /**
|
---|
302 | * @param bool
|
---|
303 | */
|
---|
304 | public function setStrictTypeFiltering($strictTypeFiltering)
|
---|
305 | {
|
---|
306 | $this->strictTypeFiltering = $strictTypeFiltering;
|
---|
307 | }
|
---|
308 | /**
|
---|
309 | * @return bool
|
---|
310 | */
|
---|
311 | public function getStrictTypeFiltering()
|
---|
312 | {
|
---|
313 | return $this->strictTypeFiltering;
|
---|
314 | }
|
---|
315 | /**
|
---|
316 | * @param string
|
---|
317 | */
|
---|
318 | public function setTextQuery($textQuery)
|
---|
319 | {
|
---|
320 | $this->textQuery = $textQuery;
|
---|
321 | }
|
---|
322 | /**
|
---|
323 | * @return string
|
---|
324 | */
|
---|
325 | public function getTextQuery()
|
---|
326 | {
|
---|
327 | return $this->textQuery;
|
---|
328 | }
|
---|
329 | }
|
---|
330 |
|
---|
331 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
332 | class_alias(GoogleMapsPlacesV1SearchTextRequest::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1SearchTextRequest');
|
---|