diff --git a/CHANGELOG.md b/CHANGELOG.md index 0056da5..0ec1c51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Version 1.2.0 - 2024-08-15 + +### Fixed + +- Isochrone request models now support all costing models + ## Version 1.1.0 - 2024-07-31 -r + ### Added - Add support for bulk geocoding diff --git a/lib/Api/GeocodingApi.php b/lib/Api/GeocodingApi.php index 9f3a323..7430764 100644 --- a/lib/Api/GeocodingApi.php +++ b/lib/Api/GeocodingApi.php @@ -14,7 +14,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Api/GeospatialApi.php b/lib/Api/GeospatialApi.php index a50a497..b218e5e 100644 --- a/lib/Api/GeospatialApi.php +++ b/lib/Api/GeospatialApi.php @@ -14,7 +14,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Api/RoutingApi.php b/lib/Api/RoutingApi.php index 88d42b3..835adb7 100644 --- a/lib/Api/RoutingApi.php +++ b/lib/Api/RoutingApi.php @@ -14,7 +14,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/ApiException.php b/lib/ApiException.php index 57c5527..48f090d 100644 --- a/lib/ApiException.php +++ b/lib/ApiException.php @@ -14,7 +14,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Configuration.php b/lib/Configuration.php index 60fd6ed..b107c05 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -14,7 +14,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 @@ -433,7 +433,7 @@ public static function toDebugReport() $report = 'PHP SDK (OpenAPI\Client) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' The version of the OpenAPI document: 6.6.0' . PHP_EOL; + $report .= ' The version of the OpenAPI document: 6.6.2' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/HeaderSelector.php b/lib/HeaderSelector.php index aff3ac2..9a6bd63 100644 --- a/lib/HeaderSelector.php +++ b/lib/HeaderSelector.php @@ -14,7 +14,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/Access.php b/lib/Model/Access.php index 955cfc5..f33c66d 100644 --- a/lib/Model/Access.php +++ b/lib/Model/Access.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/AdminRegion.php b/lib/Model/AdminRegion.php index 97c4362..1e4ad11 100644 --- a/lib/Model/AdminRegion.php +++ b/lib/Model/AdminRegion.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/Administrative.php b/lib/Model/Administrative.php index 5137ed0..f2adc0d 100644 --- a/lib/Model/Administrative.php +++ b/lib/Model/Administrative.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/AutoCostingOptions.php b/lib/Model/AutoCostingOptions.php index 134c31a..be9e4dc 100644 --- a/lib/Model/AutoCostingOptions.php +++ b/lib/Model/AutoCostingOptions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/BaseCostingOptions.php b/lib/Model/BaseCostingOptions.php index c6aca7c..66e3e06 100644 --- a/lib/Model/BaseCostingOptions.php +++ b/lib/Model/BaseCostingOptions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/BaseTraceRequest.php b/lib/Model/BaseTraceRequest.php index addb763..c4302c4 100644 --- a/lib/Model/BaseTraceRequest.php +++ b/lib/Model/BaseTraceRequest.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/BicycleCostingOptions.php b/lib/Model/BicycleCostingOptions.php index a31287d..65bc604 100644 --- a/lib/Model/BicycleCostingOptions.php +++ b/lib/Model/BicycleCostingOptions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/BikeNetwork.php b/lib/Model/BikeNetwork.php index 947ec3a..a4c0b17 100644 --- a/lib/Model/BikeNetwork.php +++ b/lib/Model/BikeNetwork.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/BulkRequest.php b/lib/Model/BulkRequest.php index 52da6d5..fb7fa20 100644 --- a/lib/Model/BulkRequest.php +++ b/lib/Model/BulkRequest.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/BulkSearchResponse.php b/lib/Model/BulkSearchResponse.php index afc28b4..bc94531 100644 --- a/lib/Model/BulkSearchResponse.php +++ b/lib/Model/BulkSearchResponse.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/Contour.php b/lib/Model/Contour.php index 6902d01..459f567 100644 --- a/lib/Model/Contour.php +++ b/lib/Model/Contour.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/Coordinate.php b/lib/Model/Coordinate.php index 787c963..1249c1b 100644 --- a/lib/Model/Coordinate.php +++ b/lib/Model/Coordinate.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/CostingModel.php b/lib/Model/CostingModel.php index ed12206..48ed58e 100644 --- a/lib/Model/CostingModel.php +++ b/lib/Model/CostingModel.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/CostingOptions.php b/lib/Model/CostingOptions.php index 44b3eb4..d8d21c0 100644 --- a/lib/Model/CostingOptions.php +++ b/lib/Model/CostingOptions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/DirectionsOptions.php b/lib/Model/DirectionsOptions.php index 1657f3c..db80d64 100644 --- a/lib/Model/DirectionsOptions.php +++ b/lib/Model/DirectionsOptions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/DistanceUnit.php b/lib/Model/DistanceUnit.php index 4bf8e61..3d5772d 100644 --- a/lib/Model/DistanceUnit.php +++ b/lib/Model/DistanceUnit.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/EdgeSign.php b/lib/Model/EdgeSign.php index 5fcf0cb..14a7716 100644 --- a/lib/Model/EdgeSign.php +++ b/lib/Model/EdgeSign.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/EdgeUse.php b/lib/Model/EdgeUse.php index c4188ad..db112d7 100644 --- a/lib/Model/EdgeUse.php +++ b/lib/Model/EdgeUse.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/EndNode.php b/lib/Model/EndNode.php index 3dfba8e..d820d70 100644 --- a/lib/Model/EndNode.php +++ b/lib/Model/EndNode.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/GeoAttributes.php b/lib/Model/GeoAttributes.php index 3ad5c42..796483d 100644 --- a/lib/Model/GeoAttributes.php +++ b/lib/Model/GeoAttributes.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/GeoJSONGeometry.php b/lib/Model/GeoJSONGeometry.php index 4523977..94cc493 100644 --- a/lib/Model/GeoJSONGeometry.php +++ b/lib/Model/GeoJSONGeometry.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/GeoJSONGeometryBase.php b/lib/Model/GeoJSONGeometryBase.php index 1309003..57130d6 100644 --- a/lib/Model/GeoJSONGeometryBase.php +++ b/lib/Model/GeoJSONGeometryBase.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/GeoJSONLineString.php b/lib/Model/GeoJSONLineString.php index c9684d3..260d964 100644 --- a/lib/Model/GeoJSONLineString.php +++ b/lib/Model/GeoJSONLineString.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/GeoJSONPoint.php b/lib/Model/GeoJSONPoint.php index 9825568..f3448f9 100644 --- a/lib/Model/GeoJSONPoint.php +++ b/lib/Model/GeoJSONPoint.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/GeoJSONPolygon.php b/lib/Model/GeoJSONPolygon.php index 43189c4..66e13c3 100644 --- a/lib/Model/GeoJSONPolygon.php +++ b/lib/Model/GeoJSONPolygon.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/GeocodingObject.php b/lib/Model/GeocodingObject.php index 476d64f..52bff5e 100644 --- a/lib/Model/GeocodingObject.php +++ b/lib/Model/GeocodingObject.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/HeightRequest.php b/lib/Model/HeightRequest.php index a76e5a7..888c770 100644 --- a/lib/Model/HeightRequest.php +++ b/lib/Model/HeightRequest.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/HeightResponse.php b/lib/Model/HeightResponse.php index 23cda0e..9a3d1a4 100644 --- a/lib/Model/HeightResponse.php +++ b/lib/Model/HeightResponse.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/HighwayClassification.php b/lib/Model/HighwayClassification.php index fce63f6..a624608 100644 --- a/lib/Model/HighwayClassification.php +++ b/lib/Model/HighwayClassification.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/IntersectingEdge.php b/lib/Model/IntersectingEdge.php index 9cdb70a..5008cb5 100644 --- a/lib/Model/IntersectingEdge.php +++ b/lib/Model/IntersectingEdge.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/IsochroneCostingModel.php b/lib/Model/IsochroneCostingModel.php index b0b2771..bf36c56 100644 --- a/lib/Model/IsochroneCostingModel.php +++ b/lib/Model/IsochroneCostingModel.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 @@ -45,10 +45,24 @@ class IsochroneCostingModel */ public const AUTO = 'auto'; + public const BUS = 'bus'; + + public const TAXI = 'taxi'; + + public const TRUCK = 'truck'; + public const BICYCLE = 'bicycle'; + public const BIKESHARE = 'bikeshare'; + + public const MOTOR_SCOOTER = 'motor_scooter'; + + public const MOTORCYCLE = 'motorcycle'; + public const PEDESTRIAN = 'pedestrian'; + public const LOW_SPEED_VEHICLE = 'low_speed_vehicle'; + /** * Gets allowable values of the enum * @return string[] @@ -57,8 +71,15 @@ public static function getAllowableEnumValues() { return [ self::AUTO, + self::BUS, + self::TAXI, + self::TRUCK, self::BICYCLE, - self::PEDESTRIAN + self::BIKESHARE, + self::MOTOR_SCOOTER, + self::MOTORCYCLE, + self::PEDESTRIAN, + self::LOW_SPEED_VEHICLE ]; } } diff --git a/lib/Model/IsochroneFeature.php b/lib/Model/IsochroneFeature.php index 4e5c0a9..cfd4625 100644 --- a/lib/Model/IsochroneFeature.php +++ b/lib/Model/IsochroneFeature.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/IsochroneProperties.php b/lib/Model/IsochroneProperties.php index cf3b558..9fe75d7 100644 --- a/lib/Model/IsochroneProperties.php +++ b/lib/Model/IsochroneProperties.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/IsochroneRequest.php b/lib/Model/IsochroneRequest.php index bdb0de8..cb6b733 100644 --- a/lib/Model/IsochroneRequest.php +++ b/lib/Model/IsochroneRequest.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/IsochroneResponse.php b/lib/Model/IsochroneResponse.php index c383222..fc8dda5 100644 --- a/lib/Model/IsochroneResponse.php +++ b/lib/Model/IsochroneResponse.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/LocateDetailedEdge.php b/lib/Model/LocateDetailedEdge.php index a0dfbfd..53aa0a3 100644 --- a/lib/Model/LocateDetailedEdge.php +++ b/lib/Model/LocateDetailedEdge.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/LocateEdge.php b/lib/Model/LocateEdge.php index 22d8a65..0ff6790 100644 --- a/lib/Model/LocateEdge.php +++ b/lib/Model/LocateEdge.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/LocateEdgeInfo.php b/lib/Model/LocateEdgeInfo.php index fda699a..45e0869 100644 --- a/lib/Model/LocateEdgeInfo.php +++ b/lib/Model/LocateEdgeInfo.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/LocateNode.php b/lib/Model/LocateNode.php index 5e0be25..a057e5e 100644 --- a/lib/Model/LocateNode.php +++ b/lib/Model/LocateNode.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/LocateObject.php b/lib/Model/LocateObject.php index f585273..2565528 100644 --- a/lib/Model/LocateObject.php +++ b/lib/Model/LocateObject.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 @@ -89,8 +89,8 @@ class LocateObject implements ModelInterface, ArrayAccess, \JsonSerializable 'id' => false, 'input_lat' => false, 'input_lon' => false, - 'nodes' => false, - 'edges' => false + 'nodes' => true, + 'edges' => true ]; /** @@ -419,7 +419,14 @@ public function getNodes() public function setNodes($nodes) { if (is_null($nodes)) { - throw new \InvalidArgumentException('non-nullable nodes cannot be null'); + array_push($this->openAPINullablesSetToNull, 'nodes'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('nodes', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } } $this->container['nodes'] = $nodes; @@ -446,7 +453,14 @@ public function getEdges() public function setEdges($edges) { if (is_null($edges)) { - throw new \InvalidArgumentException('non-nullable edges cannot be null'); + array_push($this->openAPINullablesSetToNull, 'edges'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('edges', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } } $this->container['edges'] = $edges; diff --git a/lib/Model/LowSpeedVehicleCostingOptions.php b/lib/Model/LowSpeedVehicleCostingOptions.php index 6e2bdb9..835dee9 100644 --- a/lib/Model/LowSpeedVehicleCostingOptions.php +++ b/lib/Model/LowSpeedVehicleCostingOptions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/ManeuverSign.php b/lib/Model/ManeuverSign.php index 711ffc2..697481a 100644 --- a/lib/Model/ManeuverSign.php +++ b/lib/Model/ManeuverSign.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/ManeuverSignElement.php b/lib/Model/ManeuverSignElement.php index ef707b6..b1fe2dc 100644 --- a/lib/Model/ManeuverSignElement.php +++ b/lib/Model/ManeuverSignElement.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MapMatchCostingModel.php b/lib/Model/MapMatchCostingModel.php index 226ce27..6e38ca4 100644 --- a/lib/Model/MapMatchCostingModel.php +++ b/lib/Model/MapMatchCostingModel.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MapMatchRequest.php b/lib/Model/MapMatchRequest.php index 08e3dff..d945516 100644 --- a/lib/Model/MapMatchRequest.php +++ b/lib/Model/MapMatchRequest.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MapMatchRouteResponse.php b/lib/Model/MapMatchRouteResponse.php index 23912ec..6fd9c1d 100644 --- a/lib/Model/MapMatchRouteResponse.php +++ b/lib/Model/MapMatchRouteResponse.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MapMatchTraceOptions.php b/lib/Model/MapMatchTraceOptions.php index 188035d..cc8a3f3 100644 --- a/lib/Model/MapMatchTraceOptions.php +++ b/lib/Model/MapMatchTraceOptions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MapMatchWaypoint.php b/lib/Model/MapMatchWaypoint.php index 573880a..1d11ccc 100644 --- a/lib/Model/MapMatchWaypoint.php +++ b/lib/Model/MapMatchWaypoint.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MatchedPoint.php b/lib/Model/MatchedPoint.php index 5af3f89..a6dacc9 100644 --- a/lib/Model/MatchedPoint.php +++ b/lib/Model/MatchedPoint.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MatrixCostingModel.php b/lib/Model/MatrixCostingModel.php index b52bcc5..011e56d 100644 --- a/lib/Model/MatrixCostingModel.php +++ b/lib/Model/MatrixCostingModel.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MatrixDistance.php b/lib/Model/MatrixDistance.php index 29aaccb..5e3223f 100644 --- a/lib/Model/MatrixDistance.php +++ b/lib/Model/MatrixDistance.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MatrixRequest.php b/lib/Model/MatrixRequest.php index 37ebed4..45410ee 100644 --- a/lib/Model/MatrixRequest.php +++ b/lib/Model/MatrixRequest.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MatrixResponse.php b/lib/Model/MatrixResponse.php index 104a955..539b11b 100644 --- a/lib/Model/MatrixResponse.php +++ b/lib/Model/MatrixResponse.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MatrixWaypoint.php b/lib/Model/MatrixWaypoint.php index dc9f4c2..477d765 100644 --- a/lib/Model/MatrixWaypoint.php +++ b/lib/Model/MatrixWaypoint.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/ModelInterface.php b/lib/Model/ModelInterface.php index efc2e7a..d1ca000 100644 --- a/lib/Model/ModelInterface.php +++ b/lib/Model/ModelInterface.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MotorScooterCostingOptions.php b/lib/Model/MotorScooterCostingOptions.php index 6db13dd..c750fbf 100644 --- a/lib/Model/MotorScooterCostingOptions.php +++ b/lib/Model/MotorScooterCostingOptions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/MotorcycleCostingOptions.php b/lib/Model/MotorcycleCostingOptions.php index e32a731..9232851 100644 --- a/lib/Model/MotorcycleCostingOptions.php +++ b/lib/Model/MotorcycleCostingOptions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/NearestRoadsRequest.php b/lib/Model/NearestRoadsRequest.php index 58d8307..09c1485 100644 --- a/lib/Model/NearestRoadsRequest.php +++ b/lib/Model/NearestRoadsRequest.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/NodeId.php b/lib/Model/NodeId.php index 12da215..ee89a94 100644 --- a/lib/Model/NodeId.php +++ b/lib/Model/NodeId.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/NodeType.php b/lib/Model/NodeType.php index 66f95ca..1d60e04 100644 --- a/lib/Model/NodeType.php +++ b/lib/Model/NodeType.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/OptimizedRouteRequest.php b/lib/Model/OptimizedRouteRequest.php index 6ef8e05..219a058 100644 --- a/lib/Model/OptimizedRouteRequest.php +++ b/lib/Model/OptimizedRouteRequest.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/PedestrianCostingOptions.php b/lib/Model/PedestrianCostingOptions.php index 2e15f47..37144b0 100644 --- a/lib/Model/PedestrianCostingOptions.php +++ b/lib/Model/PedestrianCostingOptions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/PeliasGeoJSONFeature.php b/lib/Model/PeliasGeoJSONFeature.php index 12fc329..268d7c1 100644 --- a/lib/Model/PeliasGeoJSONFeature.php +++ b/lib/Model/PeliasGeoJSONFeature.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/PeliasGeoJSONProperties.php b/lib/Model/PeliasGeoJSONProperties.php index d2ca0f4..a9f5050 100644 --- a/lib/Model/PeliasGeoJSONProperties.php +++ b/lib/Model/PeliasGeoJSONProperties.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/PeliasGeoJSONPropertiesAddendum.php b/lib/Model/PeliasGeoJSONPropertiesAddendum.php index 146fd04..77dc93f 100644 --- a/lib/Model/PeliasGeoJSONPropertiesAddendum.php +++ b/lib/Model/PeliasGeoJSONPropertiesAddendum.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/PeliasGeoJSONPropertiesAddendumOsm.php b/lib/Model/PeliasGeoJSONPropertiesAddendumOsm.php index 46cf6c0..ac4e2cf 100644 --- a/lib/Model/PeliasGeoJSONPropertiesAddendumOsm.php +++ b/lib/Model/PeliasGeoJSONPropertiesAddendumOsm.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/PeliasLayer.php b/lib/Model/PeliasLayer.php index 669aec7..58340a5 100644 --- a/lib/Model/PeliasLayer.php +++ b/lib/Model/PeliasLayer.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/PeliasResponse.php b/lib/Model/PeliasResponse.php index 0d11597..7993654 100644 --- a/lib/Model/PeliasResponse.php +++ b/lib/Model/PeliasResponse.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/PeliasSource.php b/lib/Model/PeliasSource.php index a7d3554..bdf13fe 100644 --- a/lib/Model/PeliasSource.php +++ b/lib/Model/PeliasSource.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/Restrictions.php b/lib/Model/Restrictions.php index 3811dfd..fbe8902 100644 --- a/lib/Model/Restrictions.php +++ b/lib/Model/Restrictions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/RoadClass.php b/lib/Model/RoadClass.php index 8f13b25..d8c9468 100644 --- a/lib/Model/RoadClass.php +++ b/lib/Model/RoadClass.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/RouteLeg.php b/lib/Model/RouteLeg.php index 6c4d4af..d8b9405 100644 --- a/lib/Model/RouteLeg.php +++ b/lib/Model/RouteLeg.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 @@ -430,7 +430,7 @@ public function getElevationInterval() /** * Sets elevation_interval * - * @param float|null $elevation_interval The sampling distance between elevation values along the route. This echoes the request parameter having the same name. + * @param float|null $elevation_interval The sampling distance between elevation values along the route. This echoes the request parameter having the same name (converted to `units` if necessary). * * @return self */ diff --git a/lib/Model/RouteManeuver.php b/lib/Model/RouteManeuver.php index 8fae09c..c591302 100644 --- a/lib/Model/RouteManeuver.php +++ b/lib/Model/RouteManeuver.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/RouteRequest.php b/lib/Model/RouteRequest.php index efcf680..333079d 100644 --- a/lib/Model/RouteRequest.php +++ b/lib/Model/RouteRequest.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/RouteResponse.php b/lib/Model/RouteResponse.php index c74e818..f7e889c 100644 --- a/lib/Model/RouteResponse.php +++ b/lib/Model/RouteResponse.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/RouteResponseAlternatesInner.php b/lib/Model/RouteResponseAlternatesInner.php index 8c6df87..3415b80 100644 --- a/lib/Model/RouteResponseAlternatesInner.php +++ b/lib/Model/RouteResponseAlternatesInner.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/RouteSummary.php b/lib/Model/RouteSummary.php index 2898a98..e728e60 100644 --- a/lib/Model/RouteSummary.php +++ b/lib/Model/RouteSummary.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/RouteTrip.php b/lib/Model/RouteTrip.php index 24e5ea7..4d397f2 100644 --- a/lib/Model/RouteTrip.php +++ b/lib/Model/RouteTrip.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/RoutingResponseWaypoint.php b/lib/Model/RoutingResponseWaypoint.php index 01b8f47..702507a 100644 --- a/lib/Model/RoutingResponseWaypoint.php +++ b/lib/Model/RoutingResponseWaypoint.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/RoutingWaypoint.php b/lib/Model/RoutingWaypoint.php index 8d29319..5164767 100644 --- a/lib/Model/RoutingWaypoint.php +++ b/lib/Model/RoutingWaypoint.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/RoutingWaypointAllOfSearchFilter.php b/lib/Model/RoutingWaypointAllOfSearchFilter.php index 6109728..29ae4dc 100644 --- a/lib/Model/RoutingWaypointAllOfSearchFilter.php +++ b/lib/Model/RoutingWaypointAllOfSearchFilter.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/SearchBulkQuery.php b/lib/Model/SearchBulkQuery.php index ee35134..c0b9df3 100644 --- a/lib/Model/SearchBulkQuery.php +++ b/lib/Model/SearchBulkQuery.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/SearchQuery.php b/lib/Model/SearchQuery.php index 88c51e7..08b3c3d 100644 --- a/lib/Model/SearchQuery.php +++ b/lib/Model/SearchQuery.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/SearchStructuredBulkQuery.php b/lib/Model/SearchStructuredBulkQuery.php index baf306e..359ba93 100644 --- a/lib/Model/SearchStructuredBulkQuery.php +++ b/lib/Model/SearchStructuredBulkQuery.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/SearchStructuredQuery.php b/lib/Model/SearchStructuredQuery.php index 0832a01..ad9f2df 100644 --- a/lib/Model/SearchStructuredQuery.php +++ b/lib/Model/SearchStructuredQuery.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/SimpleRoutingWaypoint.php b/lib/Model/SimpleRoutingWaypoint.php index 1b504ee..515989d 100644 --- a/lib/Model/SimpleRoutingWaypoint.php +++ b/lib/Model/SimpleRoutingWaypoint.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/Speeds.php b/lib/Model/Speeds.php index 787dd52..0f2d045 100644 --- a/lib/Model/Speeds.php +++ b/lib/Model/Speeds.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/TraceAttributeFilterOptions.php b/lib/Model/TraceAttributeFilterOptions.php index 69e4b36..d936b8a 100644 --- a/lib/Model/TraceAttributeFilterOptions.php +++ b/lib/Model/TraceAttributeFilterOptions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/TraceAttributeKey.php b/lib/Model/TraceAttributeKey.php index 3df26a2..f48c7af 100644 --- a/lib/Model/TraceAttributeKey.php +++ b/lib/Model/TraceAttributeKey.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/TraceAttributesBaseResponse.php b/lib/Model/TraceAttributesBaseResponse.php index bd12d84..fc6d7a8 100644 --- a/lib/Model/TraceAttributesBaseResponse.php +++ b/lib/Model/TraceAttributesBaseResponse.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 @@ -88,7 +88,7 @@ class TraceAttributesBaseResponse implements ModelInterface, ArrayAccess, \JsonS * @var boolean[] */ protected static array $openAPINullables = [ - 'edges' => false, + 'edges' => true, 'admins' => false, 'matched_points' => false, 'osm_changeset' => false, @@ -353,7 +353,14 @@ public function getEdges() public function setEdges($edges) { if (is_null($edges)) { - throw new \InvalidArgumentException('non-nullable edges cannot be null'); + array_push($this->openAPINullablesSetToNull, 'edges'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('edges', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } } $this->container['edges'] = $edges; diff --git a/lib/Model/TraceAttributesRequest.php b/lib/Model/TraceAttributesRequest.php index 6e08857..9c35af3 100644 --- a/lib/Model/TraceAttributesRequest.php +++ b/lib/Model/TraceAttributesRequest.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/TraceAttributesResponse.php b/lib/Model/TraceAttributesResponse.php index 882052b..40d9d6b 100644 --- a/lib/Model/TraceAttributesResponse.php +++ b/lib/Model/TraceAttributesResponse.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 @@ -94,7 +94,7 @@ class TraceAttributesResponse implements ModelInterface, ArrayAccess, \JsonSeria * @var boolean[] */ protected static array $openAPINullables = [ - 'edges' => false, + 'edges' => true, 'admins' => false, 'matched_points' => false, 'osm_changeset' => false, @@ -374,7 +374,14 @@ public function getEdges() public function setEdges($edges) { if (is_null($edges)) { - throw new \InvalidArgumentException('non-nullable edges cannot be null'); + array_push($this->openAPINullablesSetToNull, 'edges'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('edges', $nullablesSetToNull); + if ($index !== FALSE) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } } $this->container['edges'] = $edges; diff --git a/lib/Model/TraceEdge.php b/lib/Model/TraceEdge.php index 3f3cd37..5a03440 100644 --- a/lib/Model/TraceEdge.php +++ b/lib/Model/TraceEdge.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/TravelMode.php b/lib/Model/TravelMode.php index 250a653..25d8efa 100644 --- a/lib/Model/TravelMode.php +++ b/lib/Model/TravelMode.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/Traversability.php b/lib/Model/Traversability.php index 180b6e1..ecf9b6b 100644 --- a/lib/Model/Traversability.php +++ b/lib/Model/Traversability.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/TruckCostingOptions.php b/lib/Model/TruckCostingOptions.php index 75d6d3b..236b897 100644 --- a/lib/Model/TruckCostingOptions.php +++ b/lib/Model/TruckCostingOptions.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/TzResponse.php b/lib/Model/TzResponse.php index 7044732..37f4862 100644 --- a/lib/Model/TzResponse.php +++ b/lib/Model/TzResponse.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/ValhallaLanguages.php b/lib/Model/ValhallaLanguages.php index 5e16e9b..c746063 100644 --- a/lib/Model/ValhallaLanguages.php +++ b/lib/Model/ValhallaLanguages.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/ValhallaLongUnits.php b/lib/Model/ValhallaLongUnits.php index 753923c..219c4f9 100644 --- a/lib/Model/ValhallaLongUnits.php +++ b/lib/Model/ValhallaLongUnits.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/Model/Warning.php b/lib/Model/Warning.php index 7d1e4f0..cb82b05 100644 --- a/lib/Model/Warning.php +++ b/lib/Model/Warning.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0 diff --git a/lib/ObjectSerializer.php b/lib/ObjectSerializer.php index 5b4b7fa..d2df6bf 100644 --- a/lib/ObjectSerializer.php +++ b/lib/ObjectSerializer.php @@ -15,7 +15,7 @@ * * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * - * The version of the OpenAPI document: 6.6.0 + * The version of the OpenAPI document: 6.6.2 * Contact: support@stadiamaps.com * Generated by: https://openapi-generator.tech * Generator version: 7.7.0