Skip to content

Commit

Permalink
Add support for remaining isochrone costing models
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthetechie committed Aug 14, 2024
1 parent 1b9a1f7 commit 0d94a38
Show file tree
Hide file tree
Showing 108 changed files with 174 additions and 119 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/GeocodingApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/GeospatialApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/RoutingApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/ApiException.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
4 changes: 2 additions & 2 deletions lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/HeaderSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Access.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/AdminRegion.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Administrative.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/AutoCostingOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/BaseCostingOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/BaseTraceRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/BicycleCostingOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/BikeNetwork.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/BulkRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/BulkSearchResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Contour.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Coordinate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/CostingModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/CostingOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/DirectionsOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/DistanceUnit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/EdgeSign.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/EdgeUse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/EndNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/GeoAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/GeoJSONGeometry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/GeoJSONGeometryBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/GeoJSONLineString.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/GeoJSONPoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/GeoJSONPolygon.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/GeocodingObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/HeightRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/HeightResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/HighwayClassification.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/IntersectingEdge.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down
25 changes: 23 additions & 2 deletions lib/Model/IsochroneCostingModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.7.0
Expand Down Expand Up @@ -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[]
Expand All @@ -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
];
}
}
Expand Down
Loading

0 comments on commit 0d94a38

Please sign in to comment.