Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleGeoTypeViewport extends \Google\Model
{
protected $highType = GoogleTypeLatLng::class;
protected $highDataType = '';
protected $lowType = GoogleTypeLatLng::class;
protected $lowDataType = '';
/**
* @param GoogleTypeLatLng
*/
public function setHigh(GoogleTypeLatLng $high)
{
$this->high = $high;
}
/**
* @return GoogleTypeLatLng
*/
public function getHigh()
{
return $this->high;
}
/**
* @param GoogleTypeLatLng
*/
public function setLow(GoogleTypeLatLng $low)
{
$this->low = $low;
}
/**
* @return GoogleTypeLatLng
*/
public function getLow()
{
return $this->low;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleGeoTypeViewport::class, 'Google_Service_MapsPlaces_GoogleGeoTypeViewport');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AddressDescriptor extends \Google\Collection
{
protected $collection_key = 'landmarks';
protected $areasType = GoogleMapsPlacesV1AddressDescriptorArea::class;
protected $areasDataType = 'array';
protected $landmarksType = GoogleMapsPlacesV1AddressDescriptorLandmark::class;
protected $landmarksDataType = 'array';
/**
* @param GoogleMapsPlacesV1AddressDescriptorArea[]
*/
public function setAreas($areas)
{
$this->areas = $areas;
}
/**
* @return GoogleMapsPlacesV1AddressDescriptorArea[]
*/
public function getAreas()
{
return $this->areas;
}
/**
* @param GoogleMapsPlacesV1AddressDescriptorLandmark[]
*/
public function setLandmarks($landmarks)
{
$this->landmarks = $landmarks;
}
/**
* @return GoogleMapsPlacesV1AddressDescriptorLandmark[]
*/
public function getLandmarks()
{
return $this->landmarks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AddressDescriptor::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AddressDescriptor');

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AddressDescriptorArea extends \Google\Model
{
/**
* @var string
*/
public $containment;
protected $displayNameType = GoogleTypeLocalizedText::class;
protected $displayNameDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $placeId;
/**
* @param string
*/
public function setContainment($containment)
{
$this->containment = $containment;
}
/**
* @return string
*/
public function getContainment()
{
return $this->containment;
}
/**
* @param GoogleTypeLocalizedText
*/
public function setDisplayName(GoogleTypeLocalizedText $displayName)
{
$this->displayName = $displayName;
}
/**
* @return GoogleTypeLocalizedText
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPlaceId($placeId)
{
$this->placeId = $placeId;
}
/**
* @return string
*/
public function getPlaceId()
{
return $this->placeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AddressDescriptorArea::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AddressDescriptorArea');

View File

@@ -0,0 +1,151 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AddressDescriptorLandmark extends \Google\Collection
{
protected $collection_key = 'types';
protected $displayNameType = GoogleTypeLocalizedText::class;
protected $displayNameDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $placeId;
/**
* @var string
*/
public $spatialRelationship;
/**
* @var float
*/
public $straightLineDistanceMeters;
/**
* @var float
*/
public $travelDistanceMeters;
/**
* @var string[]
*/
public $types;
/**
* @param GoogleTypeLocalizedText
*/
public function setDisplayName(GoogleTypeLocalizedText $displayName)
{
$this->displayName = $displayName;
}
/**
* @return GoogleTypeLocalizedText
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPlaceId($placeId)
{
$this->placeId = $placeId;
}
/**
* @return string
*/
public function getPlaceId()
{
return $this->placeId;
}
/**
* @param string
*/
public function setSpatialRelationship($spatialRelationship)
{
$this->spatialRelationship = $spatialRelationship;
}
/**
* @return string
*/
public function getSpatialRelationship()
{
return $this->spatialRelationship;
}
/**
* @param float
*/
public function setStraightLineDistanceMeters($straightLineDistanceMeters)
{
$this->straightLineDistanceMeters = $straightLineDistanceMeters;
}
/**
* @return float
*/
public function getStraightLineDistanceMeters()
{
return $this->straightLineDistanceMeters;
}
/**
* @param float
*/
public function setTravelDistanceMeters($travelDistanceMeters)
{
$this->travelDistanceMeters = $travelDistanceMeters;
}
/**
* @return float
*/
public function getTravelDistanceMeters()
{
return $this->travelDistanceMeters;
}
/**
* @param string[]
*/
public function setTypes($types)
{
$this->types = $types;
}
/**
* @return string[]
*/
public function getTypes()
{
return $this->types;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AddressDescriptorLandmark::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AddressDescriptorLandmark');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AuthorAttribution extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $photoUri;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setPhotoUri($photoUri)
{
$this->photoUri = $photoUri;
}
/**
* @return string
*/
public function getPhotoUri()
{
return $this->photoUri;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AuthorAttribution::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AuthorAttribution');

View File

@@ -0,0 +1,237 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AutocompletePlacesRequest extends \Google\Collection
{
protected $collection_key = 'includedRegionCodes';
/**
* @var bool
*/
public $includePureServiceAreaBusinesses;
/**
* @var bool
*/
public $includeQueryPredictions;
/**
* @var string[]
*/
public $includedPrimaryTypes;
/**
* @var string[]
*/
public $includedRegionCodes;
/**
* @var string
*/
public $input;
/**
* @var int
*/
public $inputOffset;
/**
* @var string
*/
public $languageCode;
protected $locationBiasType = GoogleMapsPlacesV1AutocompletePlacesRequestLocationBias::class;
protected $locationBiasDataType = '';
protected $locationRestrictionType = GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction::class;
protected $locationRestrictionDataType = '';
protected $originType = GoogleTypeLatLng::class;
protected $originDataType = '';
/**
* @var string
*/
public $regionCode;
/**
* @var string
*/
public $sessionToken;
/**
* @param bool
*/
public function setIncludePureServiceAreaBusinesses($includePureServiceAreaBusinesses)
{
$this->includePureServiceAreaBusinesses = $includePureServiceAreaBusinesses;
}
/**
* @return bool
*/
public function getIncludePureServiceAreaBusinesses()
{
return $this->includePureServiceAreaBusinesses;
}
/**
* @param bool
*/
public function setIncludeQueryPredictions($includeQueryPredictions)
{
$this->includeQueryPredictions = $includeQueryPredictions;
}
/**
* @return bool
*/
public function getIncludeQueryPredictions()
{
return $this->includeQueryPredictions;
}
/**
* @param string[]
*/
public function setIncludedPrimaryTypes($includedPrimaryTypes)
{
$this->includedPrimaryTypes = $includedPrimaryTypes;
}
/**
* @return string[]
*/
public function getIncludedPrimaryTypes()
{
return $this->includedPrimaryTypes;
}
/**
* @param string[]
*/
public function setIncludedRegionCodes($includedRegionCodes)
{
$this->includedRegionCodes = $includedRegionCodes;
}
/**
* @return string[]
*/
public function getIncludedRegionCodes()
{
return $this->includedRegionCodes;
}
/**
* @param string
*/
public function setInput($input)
{
$this->input = $input;
}
/**
* @return string
*/
public function getInput()
{
return $this->input;
}
/**
* @param int
*/
public function setInputOffset($inputOffset)
{
$this->inputOffset = $inputOffset;
}
/**
* @return int
*/
public function getInputOffset()
{
return $this->inputOffset;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param GoogleMapsPlacesV1AutocompletePlacesRequestLocationBias
*/
public function setLocationBias(GoogleMapsPlacesV1AutocompletePlacesRequestLocationBias $locationBias)
{
$this->locationBias = $locationBias;
}
/**
* @return GoogleMapsPlacesV1AutocompletePlacesRequestLocationBias
*/
public function getLocationBias()
{
return $this->locationBias;
}
/**
* @param GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction
*/
public function setLocationRestriction(GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction $locationRestriction)
{
$this->locationRestriction = $locationRestriction;
}
/**
* @return GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction
*/
public function getLocationRestriction()
{
return $this->locationRestriction;
}
/**
* @param GoogleTypeLatLng
*/
public function setOrigin(GoogleTypeLatLng $origin)
{
$this->origin = $origin;
}
/**
* @return GoogleTypeLatLng
*/
public function getOrigin()
{
return $this->origin;
}
/**
* @param string
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
/**
* @param string
*/
public function setSessionToken($sessionToken)
{
$this->sessionToken = $sessionToken;
}
/**
* @return string
*/
public function getSessionToken()
{
return $this->sessionToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AutocompletePlacesRequest::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AutocompletePlacesRequest');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AutocompletePlacesRequestLocationBias extends \Google\Model
{
protected $circleType = GoogleMapsPlacesV1Circle::class;
protected $circleDataType = '';
protected $rectangleType = GoogleGeoTypeViewport::class;
protected $rectangleDataType = '';
/**
* @param GoogleMapsPlacesV1Circle
*/
public function setCircle(GoogleMapsPlacesV1Circle $circle)
{
$this->circle = $circle;
}
/**
* @return GoogleMapsPlacesV1Circle
*/
public function getCircle()
{
return $this->circle;
}
/**
* @param GoogleGeoTypeViewport
*/
public function setRectangle(GoogleGeoTypeViewport $rectangle)
{
$this->rectangle = $rectangle;
}
/**
* @return GoogleGeoTypeViewport
*/
public function getRectangle()
{
return $this->rectangle;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AutocompletePlacesRequestLocationBias::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AutocompletePlacesRequestLocationBias');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction extends \Google\Model
{
protected $circleType = GoogleMapsPlacesV1Circle::class;
protected $circleDataType = '';
protected $rectangleType = GoogleGeoTypeViewport::class;
protected $rectangleDataType = '';
/**
* @param GoogleMapsPlacesV1Circle
*/
public function setCircle(GoogleMapsPlacesV1Circle $circle)
{
$this->circle = $circle;
}
/**
* @return GoogleMapsPlacesV1Circle
*/
public function getCircle()
{
return $this->circle;
}
/**
* @param GoogleGeoTypeViewport
*/
public function setRectangle(GoogleGeoTypeViewport $rectangle)
{
$this->rectangle = $rectangle;
}
/**
* @return GoogleGeoTypeViewport
*/
public function getRectangle()
{
return $this->rectangle;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AutocompletePlacesResponse extends \Google\Collection
{
protected $collection_key = 'suggestions';
protected $suggestionsType = GoogleMapsPlacesV1AutocompletePlacesResponseSuggestion::class;
protected $suggestionsDataType = 'array';
/**
* @param GoogleMapsPlacesV1AutocompletePlacesResponseSuggestion[]
*/
public function setSuggestions($suggestions)
{
$this->suggestions = $suggestions;
}
/**
* @return GoogleMapsPlacesV1AutocompletePlacesResponseSuggestion[]
*/
public function getSuggestions()
{
return $this->suggestions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AutocompletePlacesResponse::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AutocompletePlacesResponse');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestion extends \Google\Model
{
protected $placePredictionType = GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction::class;
protected $placePredictionDataType = '';
protected $queryPredictionType = GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionQueryPrediction::class;
protected $queryPredictionDataType = '';
/**
* @param GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction
*/
public function setPlacePrediction(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction $placePrediction)
{
$this->placePrediction = $placePrediction;
}
/**
* @return GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction
*/
public function getPlacePrediction()
{
return $this->placePrediction;
}
/**
* @param GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionQueryPrediction
*/
public function setQueryPrediction(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionQueryPrediction $queryPrediction)
{
$this->queryPrediction = $queryPrediction;
}
/**
* @return GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionQueryPrediction
*/
public function getQueryPrediction()
{
return $this->queryPrediction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestion::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AutocompletePlacesResponseSuggestion');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText extends \Google\Collection
{
protected $collection_key = 'matches';
protected $matchesType = GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange::class;
protected $matchesDataType = 'array';
/**
* @var string
*/
public $text;
/**
* @param GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange[]
*/
public function setMatches($matches)
{
$this->matches = $matches;
}
/**
* @return GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange[]
*/
public function getMatches()
{
return $this->matches;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText');

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction extends \Google\Collection
{
protected $collection_key = 'types';
/**
* @var int
*/
public $distanceMeters;
/**
* @var string
*/
public $place;
/**
* @var string
*/
public $placeId;
protected $structuredFormatType = GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat::class;
protected $structuredFormatDataType = '';
protected $textType = GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText::class;
protected $textDataType = '';
/**
* @var string[]
*/
public $types;
/**
* @param int
*/
public function setDistanceMeters($distanceMeters)
{
$this->distanceMeters = $distanceMeters;
}
/**
* @return int
*/
public function getDistanceMeters()
{
return $this->distanceMeters;
}
/**
* @param string
*/
public function setPlace($place)
{
$this->place = $place;
}
/**
* @return string
*/
public function getPlace()
{
return $this->place;
}
/**
* @param string
*/
public function setPlaceId($placeId)
{
$this->placeId = $placeId;
}
/**
* @return string
*/
public function getPlaceId()
{
return $this->placeId;
}
/**
* @param GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat
*/
public function setStructuredFormat(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat $structuredFormat)
{
$this->structuredFormat = $structuredFormat;
}
/**
* @return GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat
*/
public function getStructuredFormat()
{
return $this->structuredFormat;
}
/**
* @param GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText
*/
public function setText(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText $text)
{
$this->text = $text;
}
/**
* @return GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText
*/
public function getText()
{
return $this->text;
}
/**
* @param string[]
*/
public function setTypes($types)
{
$this->types = $types;
}
/**
* @return string[]
*/
public function getTypes()
{
return $this->types;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionQueryPrediction extends \Google\Model
{
protected $structuredFormatType = GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat::class;
protected $structuredFormatDataType = '';
protected $textType = GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText::class;
protected $textDataType = '';
/**
* @param GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat
*/
public function setStructuredFormat(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat $structuredFormat)
{
$this->structuredFormat = $structuredFormat;
}
/**
* @return GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat
*/
public function getStructuredFormat()
{
return $this->structuredFormat;
}
/**
* @param GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText
*/
public function setText(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText $text)
{
$this->text = $text;
}
/**
* @return GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionQueryPrediction::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionQueryPrediction');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange extends \Google\Model
{
/**
* @var int
*/
public $endOffset;
/**
* @var int
*/
public $startOffset;
/**
* @param int
*/
public function setEndOffset($endOffset)
{
$this->endOffset = $endOffset;
}
/**
* @return int
*/
public function getEndOffset()
{
return $this->endOffset;
}
/**
* @param int
*/
public function setStartOffset($startOffset)
{
$this->startOffset = $startOffset;
}
/**
* @return int
*/
public function getStartOffset()
{
return $this->startOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat extends \Google\Model
{
protected $mainTextType = GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText::class;
protected $mainTextDataType = '';
protected $secondaryTextType = GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText::class;
protected $secondaryTextDataType = '';
/**
* @param GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText
*/
public function setMainText(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText $mainText)
{
$this->mainText = $mainText;
}
/**
* @return GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText
*/
public function getMainText()
{
return $this->mainText;
}
/**
* @param GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText
*/
public function setSecondaryText(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText $secondaryText)
{
$this->secondaryText = $secondaryText;
}
/**
* @return GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText
*/
public function getSecondaryText()
{
return $this->secondaryText;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat');

View File

@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1Circle extends \Google\Model
{
protected $centerType = GoogleTypeLatLng::class;
protected $centerDataType = '';
public $radius;
/**
* @param GoogleTypeLatLng
*/
public function setCenter(GoogleTypeLatLng $center)
{
$this->center = $center;
}
/**
* @return GoogleTypeLatLng
*/
public function getCenter()
{
return $this->center;
}
public function setRadius($radius)
{
$this->radius = $radius;
}
public function getRadius()
{
return $this->radius;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1Circle::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1Circle');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1ContentBlock extends \Google\Model
{
protected $contentType = GoogleTypeLocalizedText::class;
protected $contentDataType = '';
protected $referencesType = GoogleMapsPlacesV1References::class;
protected $referencesDataType = '';
/**
* @var string
*/
public $topic;
/**
* @param GoogleTypeLocalizedText
*/
public function setContent(GoogleTypeLocalizedText $content)
{
$this->content = $content;
}
/**
* @return GoogleTypeLocalizedText
*/
public function getContent()
{
return $this->content;
}
/**
* @param GoogleMapsPlacesV1References
*/
public function setReferences(GoogleMapsPlacesV1References $references)
{
$this->references = $references;
}
/**
* @return GoogleMapsPlacesV1References
*/
public function getReferences()
{
return $this->references;
}
/**
* @param string
*/
public function setTopic($topic)
{
$this->topic = $topic;
}
/**
* @return string
*/
public function getTopic()
{
return $this->topic;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1ContentBlock::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1ContentBlock');

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1ContextualContent extends \Google\Collection
{
protected $collection_key = 'reviews';
protected $justificationsType = GoogleMapsPlacesV1ContextualContentJustification::class;
protected $justificationsDataType = 'array';
protected $photosType = GoogleMapsPlacesV1Photo::class;
protected $photosDataType = 'array';
protected $reviewsType = GoogleMapsPlacesV1Review::class;
protected $reviewsDataType = 'array';
/**
* @param GoogleMapsPlacesV1ContextualContentJustification[]
*/
public function setJustifications($justifications)
{
$this->justifications = $justifications;
}
/**
* @return GoogleMapsPlacesV1ContextualContentJustification[]
*/
public function getJustifications()
{
return $this->justifications;
}
/**
* @param GoogleMapsPlacesV1Photo[]
*/
public function setPhotos($photos)
{
$this->photos = $photos;
}
/**
* @return GoogleMapsPlacesV1Photo[]
*/
public function getPhotos()
{
return $this->photos;
}
/**
* @param GoogleMapsPlacesV1Review[]
*/
public function setReviews($reviews)
{
$this->reviews = $reviews;
}
/**
* @return GoogleMapsPlacesV1Review[]
*/
public function getReviews()
{
return $this->reviews;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1ContextualContent::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1ContextualContent');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1ContextualContentJustification extends \Google\Model
{
protected $businessAvailabilityAttributesJustificationType = GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification::class;
protected $businessAvailabilityAttributesJustificationDataType = '';
protected $reviewJustificationType = GoogleMapsPlacesV1ContextualContentJustificationReviewJustification::class;
protected $reviewJustificationDataType = '';
/**
* @param GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification
*/
public function setBusinessAvailabilityAttributesJustification(GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification $businessAvailabilityAttributesJustification)
{
$this->businessAvailabilityAttributesJustification = $businessAvailabilityAttributesJustification;
}
/**
* @return GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification
*/
public function getBusinessAvailabilityAttributesJustification()
{
return $this->businessAvailabilityAttributesJustification;
}
/**
* @param GoogleMapsPlacesV1ContextualContentJustificationReviewJustification
*/
public function setReviewJustification(GoogleMapsPlacesV1ContextualContentJustificationReviewJustification $reviewJustification)
{
$this->reviewJustification = $reviewJustification;
}
/**
* @return GoogleMapsPlacesV1ContextualContentJustificationReviewJustification
*/
public function getReviewJustification()
{
return $this->reviewJustification;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1ContextualContentJustification::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1ContextualContentJustification');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification extends \Google\Model
{
/**
* @var bool
*/
public $delivery;
/**
* @var bool
*/
public $dineIn;
/**
* @var bool
*/
public $takeout;
/**
* @param bool
*/
public function setDelivery($delivery)
{
$this->delivery = $delivery;
}
/**
* @return bool
*/
public function getDelivery()
{
return $this->delivery;
}
/**
* @param bool
*/
public function setDineIn($dineIn)
{
$this->dineIn = $dineIn;
}
/**
* @return bool
*/
public function getDineIn()
{
return $this->dineIn;
}
/**
* @param bool
*/
public function setTakeout($takeout)
{
$this->takeout = $takeout;
}
/**
* @return bool
*/
public function getTakeout()
{
return $this->takeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1ContextualContentJustificationReviewJustification extends \Google\Model
{
protected $highlightedTextType = GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText::class;
protected $highlightedTextDataType = '';
protected $reviewType = GoogleMapsPlacesV1Review::class;
protected $reviewDataType = '';
/**
* @param GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText
*/
public function setHighlightedText(GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText $highlightedText)
{
$this->highlightedText = $highlightedText;
}
/**
* @return GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText
*/
public function getHighlightedText()
{
return $this->highlightedText;
}
/**
* @param GoogleMapsPlacesV1Review
*/
public function setReview(GoogleMapsPlacesV1Review $review)
{
$this->review = $review;
}
/**
* @return GoogleMapsPlacesV1Review
*/
public function getReview()
{
return $this->review;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1ContextualContentJustificationReviewJustification::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustification');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText extends \Google\Collection
{
protected $collection_key = 'highlightedTextRanges';
protected $highlightedTextRangesType = GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange::class;
protected $highlightedTextRangesDataType = 'array';
/**
* @var string
*/
public $text;
/**
* @param GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange[]
*/
public function setHighlightedTextRanges($highlightedTextRanges)
{
$this->highlightedTextRanges = $highlightedTextRanges;
}
/**
* @return GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange[]
*/
public function getHighlightedTextRanges()
{
return $this->highlightedTextRanges;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange extends \Google\Model
{
/**
* @var int
*/
public $endIndex;
/**
* @var int
*/
public $startIndex;
/**
* @param int
*/
public function setEndIndex($endIndex)
{
$this->endIndex = $endIndex;
}
/**
* @return int
*/
public function getEndIndex()
{
return $this->endIndex;
}
/**
* @param int
*/
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
/**
* @return int
*/
public function getStartIndex()
{
return $this->startIndex;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1EVChargeOptions extends \Google\Collection
{
protected $collection_key = 'connectorAggregation';
protected $connectorAggregationType = GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation::class;
protected $connectorAggregationDataType = 'array';
/**
* @var int
*/
public $connectorCount;
/**
* @param GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation[]
*/
public function setConnectorAggregation($connectorAggregation)
{
$this->connectorAggregation = $connectorAggregation;
}
/**
* @return GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation[]
*/
public function getConnectorAggregation()
{
return $this->connectorAggregation;
}
/**
* @param int
*/
public function setConnectorCount($connectorCount)
{
$this->connectorCount = $connectorCount;
}
/**
* @return int
*/
public function getConnectorCount()
{
return $this->connectorCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1EVChargeOptions::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1EVChargeOptions');

View File

@@ -0,0 +1,125 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation extends \Google\Model
{
/**
* @var string
*/
public $availabilityLastUpdateTime;
/**
* @var int
*/
public $availableCount;
/**
* @var int
*/
public $count;
public $maxChargeRateKw;
/**
* @var int
*/
public $outOfServiceCount;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setAvailabilityLastUpdateTime($availabilityLastUpdateTime)
{
$this->availabilityLastUpdateTime = $availabilityLastUpdateTime;
}
/**
* @return string
*/
public function getAvailabilityLastUpdateTime()
{
return $this->availabilityLastUpdateTime;
}
/**
* @param int
*/
public function setAvailableCount($availableCount)
{
$this->availableCount = $availableCount;
}
/**
* @return int
*/
public function getAvailableCount()
{
return $this->availableCount;
}
/**
* @param int
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return int
*/
public function getCount()
{
return $this->count;
}
public function setMaxChargeRateKw($maxChargeRateKw)
{
$this->maxChargeRateKw = $maxChargeRateKw;
}
public function getMaxChargeRateKw()
{
return $this->maxChargeRateKw;
}
/**
* @param int
*/
public function setOutOfServiceCount($outOfServiceCount)
{
$this->outOfServiceCount = $outOfServiceCount;
}
/**
* @return int
*/
public function getOutOfServiceCount()
{
return $this->outOfServiceCount;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1FuelOptions extends \Google\Collection
{
protected $collection_key = 'fuelPrices';
protected $fuelPricesType = GoogleMapsPlacesV1FuelOptionsFuelPrice::class;
protected $fuelPricesDataType = 'array';
/**
* @param GoogleMapsPlacesV1FuelOptionsFuelPrice[]
*/
public function setFuelPrices($fuelPrices)
{
$this->fuelPrices = $fuelPrices;
}
/**
* @return GoogleMapsPlacesV1FuelOptionsFuelPrice[]
*/
public function getFuelPrices()
{
return $this->fuelPrices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1FuelOptions::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1FuelOptions');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1FuelOptionsFuelPrice extends \Google\Model
{
protected $priceType = GoogleTypeMoney::class;
protected $priceDataType = '';
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $updateTime;
/**
* @param GoogleTypeMoney
*/
public function setPrice(GoogleTypeMoney $price)
{
$this->price = $price;
}
/**
* @return GoogleTypeMoney
*/
public function getPrice()
{
return $this->price;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1FuelOptionsFuelPrice::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1FuelOptionsFuelPrice');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1Int32Range extends \Google\Model
{
/**
* @var int
*/
public $max;
/**
* @var int
*/
public $min;
/**
* @param int
*/
public function setMax($max)
{
$this->max = $max;
}
/**
* @return int
*/
public function getMax()
{
return $this->max;
}
/**
* @param int
*/
public function setMin($min)
{
$this->min = $min;
}
/**
* @return int
*/
public function getMin()
{
return $this->min;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1Int32Range::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1Int32Range');

View File

@@ -0,0 +1,133 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1Photo extends \Google\Collection
{
protected $collection_key = 'authorAttributions';
protected $authorAttributionsType = GoogleMapsPlacesV1AuthorAttribution::class;
protected $authorAttributionsDataType = 'array';
/**
* @var string
*/
public $flagContentUri;
/**
* @var string
*/
public $googleMapsUri;
/**
* @var int
*/
public $heightPx;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $widthPx;
/**
* @param GoogleMapsPlacesV1AuthorAttribution[]
*/
public function setAuthorAttributions($authorAttributions)
{
$this->authorAttributions = $authorAttributions;
}
/**
* @return GoogleMapsPlacesV1AuthorAttribution[]
*/
public function getAuthorAttributions()
{
return $this->authorAttributions;
}
/**
* @param string
*/
public function setFlagContentUri($flagContentUri)
{
$this->flagContentUri = $flagContentUri;
}
/**
* @return string
*/
public function getFlagContentUri()
{
return $this->flagContentUri;
}
/**
* @param string
*/
public function setGoogleMapsUri($googleMapsUri)
{
$this->googleMapsUri = $googleMapsUri;
}
/**
* @return string
*/
public function getGoogleMapsUri()
{
return $this->googleMapsUri;
}
/**
* @param int
*/
public function setHeightPx($heightPx)
{
$this->heightPx = $heightPx;
}
/**
* @return int
*/
public function getHeightPx()
{
return $this->heightPx;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setWidthPx($widthPx)
{
$this->widthPx = $widthPx;
}
/**
* @return int
*/
public function getWidthPx()
{
return $this->widthPx;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1Photo::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1Photo');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PhotoMedia extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $photoUri;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPhotoUri($photoUri)
{
$this->photoUri = $photoUri;
}
/**
* @return string
*/
public function getPhotoUri()
{
return $this->photoUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PhotoMedia::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PhotoMedia');

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceAccessibilityOptions extends \Google\Model
{
/**
* @var bool
*/
public $wheelchairAccessibleEntrance;
/**
* @var bool
*/
public $wheelchairAccessibleParking;
/**
* @var bool
*/
public $wheelchairAccessibleRestroom;
/**
* @var bool
*/
public $wheelchairAccessibleSeating;
/**
* @param bool
*/
public function setWheelchairAccessibleEntrance($wheelchairAccessibleEntrance)
{
$this->wheelchairAccessibleEntrance = $wheelchairAccessibleEntrance;
}
/**
* @return bool
*/
public function getWheelchairAccessibleEntrance()
{
return $this->wheelchairAccessibleEntrance;
}
/**
* @param bool
*/
public function setWheelchairAccessibleParking($wheelchairAccessibleParking)
{
$this->wheelchairAccessibleParking = $wheelchairAccessibleParking;
}
/**
* @return bool
*/
public function getWheelchairAccessibleParking()
{
return $this->wheelchairAccessibleParking;
}
/**
* @param bool
*/
public function setWheelchairAccessibleRestroom($wheelchairAccessibleRestroom)
{
$this->wheelchairAccessibleRestroom = $wheelchairAccessibleRestroom;
}
/**
* @return bool
*/
public function getWheelchairAccessibleRestroom()
{
return $this->wheelchairAccessibleRestroom;
}
/**
* @param bool
*/
public function setWheelchairAccessibleSeating($wheelchairAccessibleSeating)
{
$this->wheelchairAccessibleSeating = $wheelchairAccessibleSeating;
}
/**
* @return bool
*/
public function getWheelchairAccessibleSeating()
{
return $this->wheelchairAccessibleSeating;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceAccessibilityOptions::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceAccessibilityOptions');

View File

@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceAddressComponent extends \Google\Collection
{
protected $collection_key = 'types';
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $longText;
/**
* @var string
*/
public $shortText;
/**
* @var string[]
*/
public $types;
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setLongText($longText)
{
$this->longText = $longText;
}
/**
* @return string
*/
public function getLongText()
{
return $this->longText;
}
/**
* @param string
*/
public function setShortText($shortText)
{
$this->shortText = $shortText;
}
/**
* @return string
*/
public function getShortText()
{
return $this->shortText;
}
/**
* @param string[]
*/
public function setTypes($types)
{
$this->types = $types;
}
/**
* @return string[]
*/
public function getTypes()
{
return $this->types;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceAddressComponent::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceAddressComponent');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceAreaSummary extends \Google\Collection
{
protected $collection_key = 'contentBlocks';
protected $contentBlocksType = GoogleMapsPlacesV1ContentBlock::class;
protected $contentBlocksDataType = 'array';
/**
* @var string
*/
public $flagContentUri;
/**
* @param GoogleMapsPlacesV1ContentBlock[]
*/
public function setContentBlocks($contentBlocks)
{
$this->contentBlocks = $contentBlocks;
}
/**
* @return GoogleMapsPlacesV1ContentBlock[]
*/
public function getContentBlocks()
{
return $this->contentBlocks;
}
/**
* @param string
*/
public function setFlagContentUri($flagContentUri)
{
$this->flagContentUri = $flagContentUri;
}
/**
* @return string
*/
public function getFlagContentUri()
{
return $this->flagContentUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceAreaSummary::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceAreaSummary');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceAttribution extends \Google\Model
{
/**
* @var string
*/
public $provider;
/**
* @var string
*/
public $providerUri;
/**
* @param string
*/
public function setProvider($provider)
{
$this->provider = $provider;
}
/**
* @return string
*/
public function getProvider()
{
return $this->provider;
}
/**
* @param string
*/
public function setProviderUri($providerUri)
{
$this->providerUri = $providerUri;
}
/**
* @return string
*/
public function getProviderUri()
{
return $this->providerUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceAttribution::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceAttribution');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceContainingPlace extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceContainingPlace::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceContainingPlace');

View File

@@ -0,0 +1,110 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceGenerativeSummary extends \Google\Model
{
protected $descriptionType = GoogleTypeLocalizedText::class;
protected $descriptionDataType = '';
/**
* @var string
*/
public $descriptionFlagContentUri;
protected $overviewType = GoogleTypeLocalizedText::class;
protected $overviewDataType = '';
/**
* @var string
*/
public $overviewFlagContentUri;
protected $referencesType = GoogleMapsPlacesV1References::class;
protected $referencesDataType = '';
/**
* @param GoogleTypeLocalizedText
*/
public function setDescription(GoogleTypeLocalizedText $description)
{
$this->description = $description;
}
/**
* @return GoogleTypeLocalizedText
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDescriptionFlagContentUri($descriptionFlagContentUri)
{
$this->descriptionFlagContentUri = $descriptionFlagContentUri;
}
/**
* @return string
*/
public function getDescriptionFlagContentUri()
{
return $this->descriptionFlagContentUri;
}
/**
* @param GoogleTypeLocalizedText
*/
public function setOverview(GoogleTypeLocalizedText $overview)
{
$this->overview = $overview;
}
/**
* @return GoogleTypeLocalizedText
*/
public function getOverview()
{
return $this->overview;
}
/**
* @param string
*/
public function setOverviewFlagContentUri($overviewFlagContentUri)
{
$this->overviewFlagContentUri = $overviewFlagContentUri;
}
/**
* @return string
*/
public function getOverviewFlagContentUri()
{
return $this->overviewFlagContentUri;
}
/**
* @param GoogleMapsPlacesV1References
*/
public function setReferences(GoogleMapsPlacesV1References $references)
{
$this->references = $references;
}
/**
* @return GoogleMapsPlacesV1References
*/
public function getReferences()
{
return $this->references;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceGenerativeSummary::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceGenerativeSummary');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceGoogleMapsLinks extends \Google\Model
{
/**
* @var string
*/
public $directionsUri;
/**
* @var string
*/
public $photosUri;
/**
* @var string
*/
public $placeUri;
/**
* @var string
*/
public $reviewsUri;
/**
* @var string
*/
public $writeAReviewUri;
/**
* @param string
*/
public function setDirectionsUri($directionsUri)
{
$this->directionsUri = $directionsUri;
}
/**
* @return string
*/
public function getDirectionsUri()
{
return $this->directionsUri;
}
/**
* @param string
*/
public function setPhotosUri($photosUri)
{
$this->photosUri = $photosUri;
}
/**
* @return string
*/
public function getPhotosUri()
{
return $this->photosUri;
}
/**
* @param string
*/
public function setPlaceUri($placeUri)
{
$this->placeUri = $placeUri;
}
/**
* @return string
*/
public function getPlaceUri()
{
return $this->placeUri;
}
/**
* @param string
*/
public function setReviewsUri($reviewsUri)
{
$this->reviewsUri = $reviewsUri;
}
/**
* @return string
*/
public function getReviewsUri()
{
return $this->reviewsUri;
}
/**
* @param string
*/
public function setWriteAReviewUri($writeAReviewUri)
{
$this->writeAReviewUri = $writeAReviewUri;
}
/**
* @return string
*/
public function getWriteAReviewUri()
{
return $this->writeAReviewUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceGoogleMapsLinks::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceGoogleMapsLinks');

View File

@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceOpeningHours extends \Google\Collection
{
protected $collection_key = 'weekdayDescriptions';
/**
* @var string
*/
public $nextCloseTime;
/**
* @var string
*/
public $nextOpenTime;
/**
* @var bool
*/
public $openNow;
protected $periodsType = GoogleMapsPlacesV1PlaceOpeningHoursPeriod::class;
protected $periodsDataType = 'array';
/**
* @var string
*/
public $secondaryHoursType;
protected $specialDaysType = GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay::class;
protected $specialDaysDataType = 'array';
/**
* @var string[]
*/
public $weekdayDescriptions;
/**
* @param string
*/
public function setNextCloseTime($nextCloseTime)
{
$this->nextCloseTime = $nextCloseTime;
}
/**
* @return string
*/
public function getNextCloseTime()
{
return $this->nextCloseTime;
}
/**
* @param string
*/
public function setNextOpenTime($nextOpenTime)
{
$this->nextOpenTime = $nextOpenTime;
}
/**
* @return string
*/
public function getNextOpenTime()
{
return $this->nextOpenTime;
}
/**
* @param bool
*/
public function setOpenNow($openNow)
{
$this->openNow = $openNow;
}
/**
* @return bool
*/
public function getOpenNow()
{
return $this->openNow;
}
/**
* @param GoogleMapsPlacesV1PlaceOpeningHoursPeriod[]
*/
public function setPeriods($periods)
{
$this->periods = $periods;
}
/**
* @return GoogleMapsPlacesV1PlaceOpeningHoursPeriod[]
*/
public function getPeriods()
{
return $this->periods;
}
/**
* @param string
*/
public function setSecondaryHoursType($secondaryHoursType)
{
$this->secondaryHoursType = $secondaryHoursType;
}
/**
* @return string
*/
public function getSecondaryHoursType()
{
return $this->secondaryHoursType;
}
/**
* @param GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay[]
*/
public function setSpecialDays($specialDays)
{
$this->specialDays = $specialDays;
}
/**
* @return GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay[]
*/
public function getSpecialDays()
{
return $this->specialDays;
}
/**
* @param string[]
*/
public function setWeekdayDescriptions($weekdayDescriptions)
{
$this->weekdayDescriptions = $weekdayDescriptions;
}
/**
* @return string[]
*/
public function getWeekdayDescriptions()
{
return $this->weekdayDescriptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceOpeningHours::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceOpeningHours');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceOpeningHoursPeriod extends \Google\Model
{
protected $closeType = GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint::class;
protected $closeDataType = '';
protected $openType = GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint::class;
protected $openDataType = '';
/**
* @param GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint
*/
public function setClose(GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint $close)
{
$this->close = $close;
}
/**
* @return GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint
*/
public function getClose()
{
return $this->close;
}
/**
* @param GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint
*/
public function setOpen(GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint $open)
{
$this->open = $open;
}
/**
* @return GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint
*/
public function getOpen()
{
return $this->open;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceOpeningHoursPeriod::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceOpeningHoursPeriod');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint extends \Google\Model
{
protected $dateType = GoogleTypeDate::class;
protected $dateDataType = '';
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $hour;
/**
* @var int
*/
public $minute;
/**
* @var bool
*/
public $truncated;
/**
* @param GoogleTypeDate
*/
public function setDate(GoogleTypeDate $date)
{
$this->date = $date;
}
/**
* @return GoogleTypeDate
*/
public function getDate()
{
return $this->date;
}
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setHour($hour)
{
$this->hour = $hour;
}
/**
* @return int
*/
public function getHour()
{
return $this->hour;
}
/**
* @param int
*/
public function setMinute($minute)
{
$this->minute = $minute;
}
/**
* @return int
*/
public function getMinute()
{
return $this->minute;
}
/**
* @param bool
*/
public function setTruncated($truncated)
{
$this->truncated = $truncated;
}
/**
* @return bool
*/
public function getTruncated()
{
return $this->truncated;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay extends \Google\Model
{
protected $dateType = GoogleTypeDate::class;
protected $dateDataType = '';
/**
* @param GoogleTypeDate
*/
public function setDate(GoogleTypeDate $date)
{
$this->date = $date;
}
/**
* @return GoogleTypeDate
*/
public function getDate()
{
return $this->date;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay');

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceParkingOptions extends \Google\Model
{
/**
* @var bool
*/
public $freeGarageParking;
/**
* @var bool
*/
public $freeParkingLot;
/**
* @var bool
*/
public $freeStreetParking;
/**
* @var bool
*/
public $paidGarageParking;
/**
* @var bool
*/
public $paidParkingLot;
/**
* @var bool
*/
public $paidStreetParking;
/**
* @var bool
*/
public $valetParking;
/**
* @param bool
*/
public function setFreeGarageParking($freeGarageParking)
{
$this->freeGarageParking = $freeGarageParking;
}
/**
* @return bool
*/
public function getFreeGarageParking()
{
return $this->freeGarageParking;
}
/**
* @param bool
*/
public function setFreeParkingLot($freeParkingLot)
{
$this->freeParkingLot = $freeParkingLot;
}
/**
* @return bool
*/
public function getFreeParkingLot()
{
return $this->freeParkingLot;
}
/**
* @param bool
*/
public function setFreeStreetParking($freeStreetParking)
{
$this->freeStreetParking = $freeStreetParking;
}
/**
* @return bool
*/
public function getFreeStreetParking()
{
return $this->freeStreetParking;
}
/**
* @param bool
*/
public function setPaidGarageParking($paidGarageParking)
{
$this->paidGarageParking = $paidGarageParking;
}
/**
* @return bool
*/
public function getPaidGarageParking()
{
return $this->paidGarageParking;
}
/**
* @param bool
*/
public function setPaidParkingLot($paidParkingLot)
{
$this->paidParkingLot = $paidParkingLot;
}
/**
* @return bool
*/
public function getPaidParkingLot()
{
return $this->paidParkingLot;
}
/**
* @param bool
*/
public function setPaidStreetParking($paidStreetParking)
{
$this->paidStreetParking = $paidStreetParking;
}
/**
* @return bool
*/
public function getPaidStreetParking()
{
return $this->paidStreetParking;
}
/**
* @param bool
*/
public function setValetParking($valetParking)
{
$this->valetParking = $valetParking;
}
/**
* @return bool
*/
public function getValetParking()
{
return $this->valetParking;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceParkingOptions::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceParkingOptions');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlacePaymentOptions extends \Google\Model
{
/**
* @var bool
*/
public $acceptsCashOnly;
/**
* @var bool
*/
public $acceptsCreditCards;
/**
* @var bool
*/
public $acceptsDebitCards;
/**
* @var bool
*/
public $acceptsNfc;
/**
* @param bool
*/
public function setAcceptsCashOnly($acceptsCashOnly)
{
$this->acceptsCashOnly = $acceptsCashOnly;
}
/**
* @return bool
*/
public function getAcceptsCashOnly()
{
return $this->acceptsCashOnly;
}
/**
* @param bool
*/
public function setAcceptsCreditCards($acceptsCreditCards)
{
$this->acceptsCreditCards = $acceptsCreditCards;
}
/**
* @return bool
*/
public function getAcceptsCreditCards()
{
return $this->acceptsCreditCards;
}
/**
* @param bool
*/
public function setAcceptsDebitCards($acceptsDebitCards)
{
$this->acceptsDebitCards = $acceptsDebitCards;
}
/**
* @return bool
*/
public function getAcceptsDebitCards()
{
return $this->acceptsDebitCards;
}
/**
* @param bool
*/
public function setAcceptsNfc($acceptsNfc)
{
$this->acceptsNfc = $acceptsNfc;
}
/**
* @return bool
*/
public function getAcceptsNfc()
{
return $this->acceptsNfc;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlacePaymentOptions::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlacePaymentOptions');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlacePlusCode extends \Google\Model
{
/**
* @var string
*/
public $compoundCode;
/**
* @var string
*/
public $globalCode;
/**
* @param string
*/
public function setCompoundCode($compoundCode)
{
$this->compoundCode = $compoundCode;
}
/**
* @return string
*/
public function getCompoundCode()
{
return $this->compoundCode;
}
/**
* @param string
*/
public function setGlobalCode($globalCode)
{
$this->globalCode = $globalCode;
}
/**
* @return string
*/
public function getGlobalCode()
{
return $this->globalCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlacePlusCode::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlacePlusCode');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PlaceSubDestination extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PlaceSubDestination::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceSubDestination');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1Polyline extends \Google\Model
{
/**
* @var string
*/
public $encodedPolyline;
/**
* @param string
*/
public function setEncodedPolyline($encodedPolyline)
{
$this->encodedPolyline = $encodedPolyline;
}
/**
* @return string
*/
public function getEncodedPolyline()
{
return $this->encodedPolyline;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1Polyline::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1Polyline');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1PriceRange extends \Google\Model
{
protected $endPriceType = GoogleTypeMoney::class;
protected $endPriceDataType = '';
protected $startPriceType = GoogleTypeMoney::class;
protected $startPriceDataType = '';
/**
* @param GoogleTypeMoney
*/
public function setEndPrice(GoogleTypeMoney $endPrice)
{
$this->endPrice = $endPrice;
}
/**
* @return GoogleTypeMoney
*/
public function getEndPrice()
{
return $this->endPrice;
}
/**
* @param GoogleTypeMoney
*/
public function setStartPrice(GoogleTypeMoney $startPrice)
{
$this->startPrice = $startPrice;
}
/**
* @return GoogleTypeMoney
*/
public function getStartPrice()
{
return $this->startPrice;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1PriceRange::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PriceRange');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1References extends \Google\Collection
{
protected $collection_key = 'reviews';
/**
* @var string[]
*/
public $places;
protected $reviewsType = GoogleMapsPlacesV1Review::class;
protected $reviewsDataType = 'array';
/**
* @param string[]
*/
public function setPlaces($places)
{
$this->places = $places;
}
/**
* @return string[]
*/
public function getPlaces()
{
return $this->places;
}
/**
* @param GoogleMapsPlacesV1Review[]
*/
public function setReviews($reviews)
{
$this->reviews = $reviews;
}
/**
* @return GoogleMapsPlacesV1Review[]
*/
public function getReviews()
{
return $this->reviews;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1References::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1References');

View File

@@ -0,0 +1,173 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1Review extends \Google\Model
{
protected $authorAttributionType = GoogleMapsPlacesV1AuthorAttribution::class;
protected $authorAttributionDataType = '';
/**
* @var string
*/
public $flagContentUri;
/**
* @var string
*/
public $googleMapsUri;
/**
* @var string
*/
public $name;
protected $originalTextType = GoogleTypeLocalizedText::class;
protected $originalTextDataType = '';
/**
* @var string
*/
public $publishTime;
public $rating;
/**
* @var string
*/
public $relativePublishTimeDescription;
protected $textType = GoogleTypeLocalizedText::class;
protected $textDataType = '';
/**
* @param GoogleMapsPlacesV1AuthorAttribution
*/
public function setAuthorAttribution(GoogleMapsPlacesV1AuthorAttribution $authorAttribution)
{
$this->authorAttribution = $authorAttribution;
}
/**
* @return GoogleMapsPlacesV1AuthorAttribution
*/
public function getAuthorAttribution()
{
return $this->authorAttribution;
}
/**
* @param string
*/
public function setFlagContentUri($flagContentUri)
{
$this->flagContentUri = $flagContentUri;
}
/**
* @return string
*/
public function getFlagContentUri()
{
return $this->flagContentUri;
}
/**
* @param string
*/
public function setGoogleMapsUri($googleMapsUri)
{
$this->googleMapsUri = $googleMapsUri;
}
/**
* @return string
*/
public function getGoogleMapsUri()
{
return $this->googleMapsUri;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleTypeLocalizedText
*/
public function setOriginalText(GoogleTypeLocalizedText $originalText)
{
$this->originalText = $originalText;
}
/**
* @return GoogleTypeLocalizedText
*/
public function getOriginalText()
{
return $this->originalText;
}
/**
* @param string
*/
public function setPublishTime($publishTime)
{
$this->publishTime = $publishTime;
}
/**
* @return string
*/
public function getPublishTime()
{
return $this->publishTime;
}
public function setRating($rating)
{
$this->rating = $rating;
}
public function getRating()
{
return $this->rating;
}
/**
* @param string
*/
public function setRelativePublishTimeDescription($relativePublishTimeDescription)
{
$this->relativePublishTimeDescription = $relativePublishTimeDescription;
}
/**
* @return string
*/
public function getRelativePublishTimeDescription()
{
return $this->relativePublishTimeDescription;
}
/**
* @param GoogleTypeLocalizedText
*/
public function setText(GoogleTypeLocalizedText $text)
{
$this->text = $text;
}
/**
* @return GoogleTypeLocalizedText
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1Review::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1Review');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1RouteModifiers extends \Google\Model
{
/**
* @var bool
*/
public $avoidFerries;
/**
* @var bool
*/
public $avoidHighways;
/**
* @var bool
*/
public $avoidIndoor;
/**
* @var bool
*/
public $avoidTolls;
/**
* @param bool
*/
public function setAvoidFerries($avoidFerries)
{
$this->avoidFerries = $avoidFerries;
}
/**
* @return bool
*/
public function getAvoidFerries()
{
return $this->avoidFerries;
}
/**
* @param bool
*/
public function setAvoidHighways($avoidHighways)
{
$this->avoidHighways = $avoidHighways;
}
/**
* @return bool
*/
public function getAvoidHighways()
{
return $this->avoidHighways;
}
/**
* @param bool
*/
public function setAvoidIndoor($avoidIndoor)
{
$this->avoidIndoor = $avoidIndoor;
}
/**
* @return bool
*/
public function getAvoidIndoor()
{
return $this->avoidIndoor;
}
/**
* @param bool
*/
public function setAvoidTolls($avoidTolls)
{
$this->avoidTolls = $avoidTolls;
}
/**
* @return bool
*/
public function getAvoidTolls()
{
return $this->avoidTolls;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1RouteModifiers::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1RouteModifiers');

View File

@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1RoutingParameters extends \Google\Model
{
protected $originType = GoogleTypeLatLng::class;
protected $originDataType = '';
protected $routeModifiersType = GoogleMapsPlacesV1RouteModifiers::class;
protected $routeModifiersDataType = '';
/**
* @var string
*/
public $routingPreference;
/**
* @var string
*/
public $travelMode;
/**
* @param GoogleTypeLatLng
*/
public function setOrigin(GoogleTypeLatLng $origin)
{
$this->origin = $origin;
}
/**
* @return GoogleTypeLatLng
*/
public function getOrigin()
{
return $this->origin;
}
/**
* @param GoogleMapsPlacesV1RouteModifiers
*/
public function setRouteModifiers(GoogleMapsPlacesV1RouteModifiers $routeModifiers)
{
$this->routeModifiers = $routeModifiers;
}
/**
* @return GoogleMapsPlacesV1RouteModifiers
*/
public function getRouteModifiers()
{
return $this->routeModifiers;
}
/**
* @param string
*/
public function setRoutingPreference($routingPreference)
{
$this->routingPreference = $routingPreference;
}
/**
* @return string
*/
public function getRoutingPreference()
{
return $this->routingPreference;
}
/**
* @param string
*/
public function setTravelMode($travelMode)
{
$this->travelMode = $travelMode;
}
/**
* @return string
*/
public function getTravelMode()
{
return $this->travelMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1RoutingParameters::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1RoutingParameters');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1RoutingSummary extends \Google\Collection
{
protected $collection_key = 'legs';
/**
* @var string
*/
public $directionsUri;
protected $legsType = GoogleMapsPlacesV1RoutingSummaryLeg::class;
protected $legsDataType = 'array';
/**
* @param string
*/
public function setDirectionsUri($directionsUri)
{
$this->directionsUri = $directionsUri;
}
/**
* @return string
*/
public function getDirectionsUri()
{
return $this->directionsUri;
}
/**
* @param GoogleMapsPlacesV1RoutingSummaryLeg[]
*/
public function setLegs($legs)
{
$this->legs = $legs;
}
/**
* @return GoogleMapsPlacesV1RoutingSummaryLeg[]
*/
public function getLegs()
{
return $this->legs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1RoutingSummary::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1RoutingSummary');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1RoutingSummaryLeg extends \Google\Model
{
/**
* @var int
*/
public $distanceMeters;
/**
* @var string
*/
public $duration;
/**
* @param int
*/
public function setDistanceMeters($distanceMeters)
{
$this->distanceMeters = $distanceMeters;
}
/**
* @return int
*/
public function getDistanceMeters()
{
return $this->distanceMeters;
}
/**
* @param string
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1RoutingSummaryLeg::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1RoutingSummaryLeg');

View File

@@ -0,0 +1,203 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1SearchNearbyRequest extends \Google\Collection
{
protected $collection_key = 'includedTypes';
/**
* @var string[]
*/
public $excludedPrimaryTypes;
/**
* @var string[]
*/
public $excludedTypes;
/**
* @var string[]
*/
public $includedPrimaryTypes;
/**
* @var string[]
*/
public $includedTypes;
/**
* @var string
*/
public $languageCode;
protected $locationRestrictionType = GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction::class;
protected $locationRestrictionDataType = '';
/**
* @var int
*/
public $maxResultCount;
/**
* @var string
*/
public $rankPreference;
/**
* @var string
*/
public $regionCode;
protected $routingParametersType = GoogleMapsPlacesV1RoutingParameters::class;
protected $routingParametersDataType = '';
/**
* @param string[]
*/
public function setExcludedPrimaryTypes($excludedPrimaryTypes)
{
$this->excludedPrimaryTypes = $excludedPrimaryTypes;
}
/**
* @return string[]
*/
public function getExcludedPrimaryTypes()
{
return $this->excludedPrimaryTypes;
}
/**
* @param string[]
*/
public function setExcludedTypes($excludedTypes)
{
$this->excludedTypes = $excludedTypes;
}
/**
* @return string[]
*/
public function getExcludedTypes()
{
return $this->excludedTypes;
}
/**
* @param string[]
*/
public function setIncludedPrimaryTypes($includedPrimaryTypes)
{
$this->includedPrimaryTypes = $includedPrimaryTypes;
}
/**
* @return string[]
*/
public function getIncludedPrimaryTypes()
{
return $this->includedPrimaryTypes;
}
/**
* @param string[]
*/
public function setIncludedTypes($includedTypes)
{
$this->includedTypes = $includedTypes;
}
/**
* @return string[]
*/
public function getIncludedTypes()
{
return $this->includedTypes;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction
*/
public function setLocationRestriction(GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction $locationRestriction)
{
$this->locationRestriction = $locationRestriction;
}
/**
* @return GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction
*/
public function getLocationRestriction()
{
return $this->locationRestriction;
}
/**
* @param int
*/
public function setMaxResultCount($maxResultCount)
{
$this->maxResultCount = $maxResultCount;
}
/**
* @return int
*/
public function getMaxResultCount()
{
return $this->maxResultCount;
}
/**
* @param string
*/
public function setRankPreference($rankPreference)
{
$this->rankPreference = $rankPreference;
}
/**
* @return string
*/
public function getRankPreference()
{
return $this->rankPreference;
}
/**
* @param string
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
/**
* @param GoogleMapsPlacesV1RoutingParameters
*/
public function setRoutingParameters(GoogleMapsPlacesV1RoutingParameters $routingParameters)
{
$this->routingParameters = $routingParameters;
}
/**
* @return GoogleMapsPlacesV1RoutingParameters
*/
public function getRoutingParameters()
{
return $this->routingParameters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1SearchNearbyRequest::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1SearchNearbyRequest');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction extends \Google\Model
{
protected $circleType = GoogleMapsPlacesV1Circle::class;
protected $circleDataType = '';
/**
* @param GoogleMapsPlacesV1Circle
*/
public function setCircle(GoogleMapsPlacesV1Circle $circle)
{
$this->circle = $circle;
}
/**
* @return GoogleMapsPlacesV1Circle
*/
public function getCircle()
{
return $this->circle;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1SearchNearbyResponse extends \Google\Collection
{
protected $collection_key = 'routingSummaries';
protected $placesType = GoogleMapsPlacesV1Place::class;
protected $placesDataType = 'array';
protected $routingSummariesType = GoogleMapsPlacesV1RoutingSummary::class;
protected $routingSummariesDataType = 'array';
/**
* @param GoogleMapsPlacesV1Place[]
*/
public function setPlaces($places)
{
$this->places = $places;
}
/**
* @return GoogleMapsPlacesV1Place[]
*/
public function getPlaces()
{
return $this->places;
}
/**
* @param GoogleMapsPlacesV1RoutingSummary[]
*/
public function setRoutingSummaries($routingSummaries)
{
$this->routingSummaries = $routingSummaries;
}
/**
* @return GoogleMapsPlacesV1RoutingSummary[]
*/
public function getRoutingSummaries()
{
return $this->routingSummaries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1SearchNearbyResponse::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1SearchNearbyResponse');

View File

@@ -0,0 +1,332 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1SearchTextRequest extends \Google\Collection
{
protected $collection_key = 'priceLevels';
protected $evOptionsType = GoogleMapsPlacesV1SearchTextRequestEVOptions::class;
protected $evOptionsDataType = '';
/**
* @var bool
*/
public $includePureServiceAreaBusinesses;
/**
* @var string
*/
public $includedType;
/**
* @var string
*/
public $languageCode;
protected $locationBiasType = GoogleMapsPlacesV1SearchTextRequestLocationBias::class;
protected $locationBiasDataType = '';
protected $locationRestrictionType = GoogleMapsPlacesV1SearchTextRequestLocationRestriction::class;
protected $locationRestrictionDataType = '';
/**
* @var int
*/
public $maxResultCount;
public $minRating;
/**
* @var bool
*/
public $openNow;
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
/**
* @var string[]
*/
public $priceLevels;
/**
* @var string
*/
public $rankPreference;
/**
* @var string
*/
public $regionCode;
protected $routingParametersType = GoogleMapsPlacesV1RoutingParameters::class;
protected $routingParametersDataType = '';
protected $searchAlongRouteParametersType = GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters::class;
protected $searchAlongRouteParametersDataType = '';
/**
* @var bool
*/
public $strictTypeFiltering;
/**
* @var string
*/
public $textQuery;
/**
* @param GoogleMapsPlacesV1SearchTextRequestEVOptions
*/
public function setEvOptions(GoogleMapsPlacesV1SearchTextRequestEVOptions $evOptions)
{
$this->evOptions = $evOptions;
}
/**
* @return GoogleMapsPlacesV1SearchTextRequestEVOptions
*/
public function getEvOptions()
{
return $this->evOptions;
}
/**
* @param bool
*/
public function setIncludePureServiceAreaBusinesses($includePureServiceAreaBusinesses)
{
$this->includePureServiceAreaBusinesses = $includePureServiceAreaBusinesses;
}
/**
* @return bool
*/
public function getIncludePureServiceAreaBusinesses()
{
return $this->includePureServiceAreaBusinesses;
}
/**
* @param string
*/
public function setIncludedType($includedType)
{
$this->includedType = $includedType;
}
/**
* @return string
*/
public function getIncludedType()
{
return $this->includedType;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param GoogleMapsPlacesV1SearchTextRequestLocationBias
*/
public function setLocationBias(GoogleMapsPlacesV1SearchTextRequestLocationBias $locationBias)
{
$this->locationBias = $locationBias;
}
/**
* @return GoogleMapsPlacesV1SearchTextRequestLocationBias
*/
public function getLocationBias()
{
return $this->locationBias;
}
/**
* @param GoogleMapsPlacesV1SearchTextRequestLocationRestriction
*/
public function setLocationRestriction(GoogleMapsPlacesV1SearchTextRequestLocationRestriction $locationRestriction)
{
$this->locationRestriction = $locationRestriction;
}
/**
* @return GoogleMapsPlacesV1SearchTextRequestLocationRestriction
*/
public function getLocationRestriction()
{
return $this->locationRestriction;
}
/**
* @param int
*/
public function setMaxResultCount($maxResultCount)
{
$this->maxResultCount = $maxResultCount;
}
/**
* @return int
*/
public function getMaxResultCount()
{
return $this->maxResultCount;
}
public function setMinRating($minRating)
{
$this->minRating = $minRating;
}
public function getMinRating()
{
return $this->minRating;
}
/**
* @param bool
*/
public function setOpenNow($openNow)
{
$this->openNow = $openNow;
}
/**
* @return bool
*/
public function getOpenNow()
{
return $this->openNow;
}
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* @param string[]
*/
public function setPriceLevels($priceLevels)
{
$this->priceLevels = $priceLevels;
}
/**
* @return string[]
*/
public function getPriceLevels()
{
return $this->priceLevels;
}
/**
* @param string
*/
public function setRankPreference($rankPreference)
{
$this->rankPreference = $rankPreference;
}
/**
* @return string
*/
public function getRankPreference()
{
return $this->rankPreference;
}
/**
* @param string
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
/**
* @param GoogleMapsPlacesV1RoutingParameters
*/
public function setRoutingParameters(GoogleMapsPlacesV1RoutingParameters $routingParameters)
{
$this->routingParameters = $routingParameters;
}
/**
* @return GoogleMapsPlacesV1RoutingParameters
*/
public function getRoutingParameters()
{
return $this->routingParameters;
}
/**
* @param GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters
*/
public function setSearchAlongRouteParameters(GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters $searchAlongRouteParameters)
{
$this->searchAlongRouteParameters = $searchAlongRouteParameters;
}
/**
* @return GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters
*/
public function getSearchAlongRouteParameters()
{
return $this->searchAlongRouteParameters;
}
/**
* @param bool
*/
public function setStrictTypeFiltering($strictTypeFiltering)
{
$this->strictTypeFiltering = $strictTypeFiltering;
}
/**
* @return bool
*/
public function getStrictTypeFiltering()
{
return $this->strictTypeFiltering;
}
/**
* @param string
*/
public function setTextQuery($textQuery)
{
$this->textQuery = $textQuery;
}
/**
* @return string
*/
public function getTextQuery()
{
return $this->textQuery;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1SearchTextRequest::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1SearchTextRequest');

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1SearchTextRequestEVOptions extends \Google\Collection
{
protected $collection_key = 'connectorTypes';
/**
* @var string[]
*/
public $connectorTypes;
public $minimumChargingRateKw;
/**
* @param string[]
*/
public function setConnectorTypes($connectorTypes)
{
$this->connectorTypes = $connectorTypes;
}
/**
* @return string[]
*/
public function getConnectorTypes()
{
return $this->connectorTypes;
}
public function setMinimumChargingRateKw($minimumChargingRateKw)
{
$this->minimumChargingRateKw = $minimumChargingRateKw;
}
public function getMinimumChargingRateKw()
{
return $this->minimumChargingRateKw;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1SearchTextRequestEVOptions::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1SearchTextRequestEVOptions');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1SearchTextRequestLocation extends \Google\Model
{
protected $rectangleType = GoogleGeoTypeViewport::class;
protected $rectangleDataType = '';
/**
* @var bool
*/
public $strictRestriction;
/**
* @param GoogleGeoTypeViewport
*/
public function setRectangle(GoogleGeoTypeViewport $rectangle)
{
$this->rectangle = $rectangle;
}
/**
* @return GoogleGeoTypeViewport
*/
public function getRectangle()
{
return $this->rectangle;
}
/**
* @param bool
*/
public function setStrictRestriction($strictRestriction)
{
$this->strictRestriction = $strictRestriction;
}
/**
* @return bool
*/
public function getStrictRestriction()
{
return $this->strictRestriction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1SearchTextRequestLocation::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1SearchTextRequestLocation');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1SearchTextRequestLocationBias extends \Google\Model
{
protected $circleType = GoogleMapsPlacesV1Circle::class;
protected $circleDataType = '';
protected $rectangleType = GoogleGeoTypeViewport::class;
protected $rectangleDataType = '';
/**
* @param GoogleMapsPlacesV1Circle
*/
public function setCircle(GoogleMapsPlacesV1Circle $circle)
{
$this->circle = $circle;
}
/**
* @return GoogleMapsPlacesV1Circle
*/
public function getCircle()
{
return $this->circle;
}
/**
* @param GoogleGeoTypeViewport
*/
public function setRectangle(GoogleGeoTypeViewport $rectangle)
{
$this->rectangle = $rectangle;
}
/**
* @return GoogleGeoTypeViewport
*/
public function getRectangle()
{
return $this->rectangle;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1SearchTextRequestLocationBias::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1SearchTextRequestLocationBias');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1SearchTextRequestLocationRestriction extends \Google\Model
{
protected $rectangleType = GoogleGeoTypeViewport::class;
protected $rectangleDataType = '';
/**
* @param GoogleGeoTypeViewport
*/
public function setRectangle(GoogleGeoTypeViewport $rectangle)
{
$this->rectangle = $rectangle;
}
/**
* @return GoogleGeoTypeViewport
*/
public function getRectangle()
{
return $this->rectangle;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1SearchTextRequestLocationRestriction::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1SearchTextRequestLocationRestriction');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters extends \Google\Model
{
protected $polylineType = GoogleMapsPlacesV1Polyline::class;
protected $polylineDataType = '';
/**
* @param GoogleMapsPlacesV1Polyline
*/
public function setPolyline(GoogleMapsPlacesV1Polyline $polyline)
{
$this->polyline = $polyline;
}
/**
* @return GoogleMapsPlacesV1Polyline
*/
public function getPolyline()
{
return $this->polyline;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters');

View File

@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleMapsPlacesV1SearchTextResponse extends \Google\Collection
{
protected $collection_key = 'routingSummaries';
protected $contextualContentsType = GoogleMapsPlacesV1ContextualContent::class;
protected $contextualContentsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
protected $placesType = GoogleMapsPlacesV1Place::class;
protected $placesDataType = 'array';
protected $routingSummariesType = GoogleMapsPlacesV1RoutingSummary::class;
protected $routingSummariesDataType = 'array';
/**
* @var string
*/
public $searchUri;
/**
* @param GoogleMapsPlacesV1ContextualContent[]
*/
public function setContextualContents($contextualContents)
{
$this->contextualContents = $contextualContents;
}
/**
* @return GoogleMapsPlacesV1ContextualContent[]
*/
public function getContextualContents()
{
return $this->contextualContents;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleMapsPlacesV1Place[]
*/
public function setPlaces($places)
{
$this->places = $places;
}
/**
* @return GoogleMapsPlacesV1Place[]
*/
public function getPlaces()
{
return $this->places;
}
/**
* @param GoogleMapsPlacesV1RoutingSummary[]
*/
public function setRoutingSummaries($routingSummaries)
{
$this->routingSummaries = $routingSummaries;
}
/**
* @return GoogleMapsPlacesV1RoutingSummary[]
*/
public function getRoutingSummaries()
{
return $this->routingSummaries;
}
/**
* @param string
*/
public function setSearchUri($searchUri)
{
$this->searchUri = $searchUri;
}
/**
* @return string
*/
public function getSearchUri()
{
return $this->searchUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMapsPlacesV1SearchTextResponse::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1SearchTextResponse');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleTypeDate extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeDate::class, 'Google_Service_MapsPlaces_GoogleTypeDate');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleTypeLatLng extends \Google\Model
{
public $latitude;
public $longitude;
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeLatLng::class, 'Google_Service_MapsPlaces_GoogleTypeLatLng');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleTypeLocalizedText extends \Google\Model
{
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $text;
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeLocalizedText::class, 'Google_Service_MapsPlaces_GoogleTypeLocalizedText');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces;
class GoogleTypeMoney extends \Google\Model
{
/**
* @var string
*/
public $currencyCode;
/**
* @var int
*/
public $nanos;
/**
* @var string
*/
public $units;
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param int
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* @param string
*/
public function setUnits($units)
{
$this->units = $units;
}
/**
* @return string
*/
public function getUnits()
{
return $this->units;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeMoney::class, 'Google_Service_MapsPlaces_GoogleTypeMoney');

View File

@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces\Resource;
use Google\Service\MapsPlaces\GoogleMapsPlacesV1AutocompletePlacesRequest;
use Google\Service\MapsPlaces\GoogleMapsPlacesV1AutocompletePlacesResponse;
use Google\Service\MapsPlaces\GoogleMapsPlacesV1Place;
use Google\Service\MapsPlaces\GoogleMapsPlacesV1SearchNearbyRequest;
use Google\Service\MapsPlaces\GoogleMapsPlacesV1SearchNearbyResponse;
use Google\Service\MapsPlaces\GoogleMapsPlacesV1SearchTextRequest;
use Google\Service\MapsPlaces\GoogleMapsPlacesV1SearchTextResponse;
/**
* The "places" collection of methods.
* Typical usage is:
* <code>
* $placesService = new Google\Service\MapsPlaces(...);
* $places = $placesService->places;
* </code>
*/
class Places extends \Google\Service\Resource
{
/**
* Returns predictions for the given input. (places.autocomplete)
*
* @param GoogleMapsPlacesV1AutocompletePlacesRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleMapsPlacesV1AutocompletePlacesResponse
* @throws \Google\Service\Exception
*/
public function autocomplete(GoogleMapsPlacesV1AutocompletePlacesRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('autocomplete', [$params], GoogleMapsPlacesV1AutocompletePlacesResponse::class);
}
/**
* Get the details of a place based on its resource name, which is a string in
* the `places/{place_id}` format. (places.get)
*
* @param string $name Required. The resource name of a place, in the
* `places/{place_id}` format.
* @param array $optParams Optional parameters.
*
* @opt_param string languageCode Optional. Place details will be displayed with
* the preferred language if available. Current list of supported languages:
* https://developers.google.com/maps/faq#languagesupport.
* @opt_param string regionCode Optional. The Unicode country/region code (CLDR)
* of the location where the request is coming from. This parameter is used to
* display the place details, like region-specific place name, if available. The
* parameter can affect results based on applicable law. For more information,
* see https://www.unicode.org/cldr/charts/latest/supplemental/territory_languag
* e_information.html. Note that 3-digit region codes are not currently
* supported.
* @opt_param string sessionToken Optional. A string which identifies an
* Autocomplete session for billing purposes. Must be a URL and filename safe
* base64 string with at most 36 ASCII characters in length. Otherwise an
* INVALID_ARGUMENT error is returned. The session begins when the user starts
* typing a query, and concludes when they select a place and a call to Place
* Details or Address Validation is made. Each session can have multiple
* queries, followed by one Place Details or Address Validation request. The
* credentials used for each request within a session must belong to the same
* Google Cloud Console project. Once a session has concluded, the token is no
* longer valid; your app must generate a fresh token for each session. If the
* `session_token` parameter is omitted, or if you reuse a session token, the
* session is charged as if no session token was provided (each request is
* billed separately). We recommend the following guidelines: * Use session
* tokens for all Place Autocomplete calls. * Generate a fresh token for each
* session. Using a version 4 UUID is recommended. * Ensure that the credentials
* used for all Place Autocomplete, Place Details, and Address Validation
* requests within a session belong to the same Cloud Console project. * Be sure
* to pass a unique session token for each new session. Using the same token for
* more than one session will result in each request being billed individually.
* @return GoogleMapsPlacesV1Place
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleMapsPlacesV1Place::class);
}
/**
* Search for places near locations. (places.searchNearby)
*
* @param GoogleMapsPlacesV1SearchNearbyRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleMapsPlacesV1SearchNearbyResponse
* @throws \Google\Service\Exception
*/
public function searchNearby(GoogleMapsPlacesV1SearchNearbyRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('searchNearby', [$params], GoogleMapsPlacesV1SearchNearbyResponse::class);
}
/**
* Text query based place search. (places.searchText)
*
* @param GoogleMapsPlacesV1SearchTextRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleMapsPlacesV1SearchTextResponse
* @throws \Google\Service\Exception
*/
public function searchText(GoogleMapsPlacesV1SearchTextRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('searchText', [$params], GoogleMapsPlacesV1SearchTextResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Places::class, 'Google_Service_MapsPlaces_Resource_Places');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces\Resource;
use Google\Service\MapsPlaces\GoogleMapsPlacesV1PhotoMedia;
/**
* The "photos" collection of methods.
* Typical usage is:
* <code>
* $placesService = new Google\Service\MapsPlaces(...);
* $photos = $placesService->places_photos;
* </code>
*/
class PlacesPhotos extends \Google\Service\Resource
{
/**
* Get a photo media with a photo reference string. (photos.getMedia)
*
* @param string $name Required. The resource name of a photo media in the
* format: `places/{place_id}/photos/{photo_reference}/media`. The resource name
* of a photo as returned in a Place object's `photos.name` field comes with the
* format `places/{place_id}/photos/{photo_reference}`. You need to append
* `/media` at the end of the photo resource to get the photo media resource
* name.
* @param array $optParams Optional parameters.
*
* @opt_param int maxHeightPx Optional. Specifies the maximum desired height, in
* pixels, of the image. If the image is smaller than the values specified, the
* original image will be returned. If the image is larger in either dimension,
* it will be scaled to match the smaller of the two dimensions, restricted to
* its original aspect ratio. Both the max_height_px and max_width_px properties
* accept an integer between 1 and 4800, inclusively. If the value is not within
* the allowed range, an INVALID_ARGUMENT error will be returned. At least one
* of max_height_px or max_width_px needs to be specified. If neither
* max_height_px nor max_width_px is specified, an INVALID_ARGUMENT error will
* be returned.
* @opt_param int maxWidthPx Optional. Specifies the maximum desired width, in
* pixels, of the image. If the image is smaller than the values specified, the
* original image will be returned. If the image is larger in either dimension,
* it will be scaled to match the smaller of the two dimensions, restricted to
* its original aspect ratio. Both the max_height_px and max_width_px properties
* accept an integer between 1 and 4800, inclusively. If the value is not within
* the allowed range, an INVALID_ARGUMENT error will be returned. At least one
* of max_height_px or max_width_px needs to be specified. If neither
* max_height_px nor max_width_px is specified, an INVALID_ARGUMENT error will
* be returned.
* @opt_param bool skipHttpRedirect Optional. If set, skip the default HTTP
* redirect behavior and render a text format (for example, in JSON format for
* HTTP use case) response. If not set, an HTTP redirect will be issued to
* redirect the call to the image media. This option is ignored for non-HTTP
* requests.
* @return GoogleMapsPlacesV1PhotoMedia
* @throws \Google\Service\Exception
*/
public function getMedia($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getMedia', [$params], GoogleMapsPlacesV1PhotoMedia::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlacesPhotos::class, 'Google_Service_MapsPlaces_Resource_PlacesPhotos');

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MapsPlaces\Resource;
use Google\Service\MapsPlaces\GoogleMapsPlacesV1SearchTextRequest;
use Google\Service\MapsPlaces\GoogleMapsPlacesV1SearchTextResponse;
/**
* The "Text" collection of methods.
* Typical usage is:
* <code>
* $placesService = new Google\Service\MapsPlaces(...);
* $Text = $placesService->Text;
* </code>
*/
class Text extends \Google\Service\Resource
{
/**
* Text query based place search. (Text.search)
*
* @param GoogleMapsPlacesV1SearchTextRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleMapsPlacesV1SearchTextResponse
*/
public function search(GoogleMapsPlacesV1SearchTextRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], GoogleMapsPlacesV1SearchTextResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Text::class, 'Google_Service_MapsPlaces_Resource_Text');