├── .gitignore ├── LICENSE.txt ├── README.md ├── create.sh ├── csharp ├── .gitignore ├── .swagger-codegen-ignore ├── .travis.yml ├── GraphHopper.sln ├── IO.Swagger.sln ├── README.md ├── build.bat ├── build.sh ├── docs │ ├── Activity.md │ ├── Address.md │ ├── Algorithm.md │ ├── AnyOfVehicleBreak.md │ ├── BadRequest.md │ ├── Break.md │ ├── Configuration.md │ ├── CostMatrix.md │ ├── CostMatrixData.md │ ├── CostMatrixDataInfo.md │ ├── Detail.md │ ├── DriveTimeBreak.md │ ├── EncodedLineString.md │ ├── ErrorMessage.md │ ├── GHError.md │ ├── GHErrorHints.md │ ├── GeocodingApi.md │ ├── GeocodingLocation.md │ ├── GeocodingPoint.md │ ├── GeocodingResponse.md │ ├── GroupRelation.md │ ├── InfoResponse.md │ ├── InlineResponse404.md │ ├── InternalErrorMessage.md │ ├── IsochroneApi.md │ ├── IsochroneResponse.md │ ├── IsochroneResponsePolygon.md │ ├── IsochroneResponsePolygonGeometry.md │ ├── IsochroneResponsePolygonProperties.md │ ├── JobId.md │ ├── JobRelation.md │ ├── LineString.md │ ├── Location.md │ ├── MapMatchingApi.md │ ├── MatrixApi.md │ ├── MatrixRequest.md │ ├── MatrixResponse.md │ ├── MatrixResponseHints.md │ ├── Objective.md │ ├── Pickup.md │ ├── Polygon.md │ ├── Relation.md │ ├── Request.md │ ├── Response.md │ ├── ResponseAddress.md │ ├── ResponseCoordinates.md │ ├── ResponseCoordinatesArray.md │ ├── ResponseInfo.md │ ├── ResponseInstruction.md │ ├── ResponseInstructions.md │ ├── Route.md │ ├── RouteOptimizationApi.md │ ├── RoutePoint.md │ ├── RouteResponse.md │ ├── RouteResponsePath.md │ ├── RouteResponsePathInstructions.md │ ├── Routing.md │ ├── RoutingApi.md │ ├── Service.md │ ├── Shipment.md │ ├── SnappedWaypoint.md │ ├── Solution.md │ ├── SolutionApi.md │ ├── SolutionUnassigned.md │ ├── Stop.md │ ├── SymmetricalMatrixRequest.md │ ├── TimeWindow.md │ ├── TimeWindowBreak.md │ ├── Vehicle.md │ ├── VehicleProfileId.md │ ├── VehicleType.md │ └── VrpApi.md ├── git_push.sh ├── mono_nunit_test.sh └── src │ ├── GraphHopper.Test │ ├── Api │ │ ├── GeocodingApiTests.cs │ │ ├── IsochroneApiTests.cs │ │ ├── MapMatchingApiTests.cs │ │ ├── MatrixApiTests.cs │ │ ├── RouteOptimizationApiTests.cs │ │ └── RoutingApiTests.cs │ ├── GraphHopper.Test.csproj │ ├── Model │ │ ├── ActivityTests.cs │ │ ├── AddressTests.cs │ │ ├── AlgorithmTests.cs │ │ ├── AnyOfVehicleBreakTests.cs │ │ ├── BadRequestTests.cs │ │ ├── ConfigurationTests.cs │ │ ├── CostMatrixDataInfoTests.cs │ │ ├── CostMatrixDataTests.cs │ │ ├── CostMatrixTests.cs │ │ ├── DetailTests.cs │ │ ├── DriveTimeBreakTests.cs │ │ ├── EncodedLineStringTests.cs │ │ ├── ErrorMessageTests.cs │ │ ├── GHErrorHintsTests.cs │ │ ├── GHErrorTests.cs │ │ ├── GeocodingLocationTests.cs │ │ ├── GeocodingPointTests.cs │ │ ├── GeocodingResponseTests.cs │ │ ├── GroupRelationTests.cs │ │ ├── InfoResponseTests.cs │ │ ├── InlineResponse404Tests.cs │ │ ├── InternalErrorMessageTests.cs │ │ ├── IsochroneResponsePolygonPropertiesTests.cs │ │ ├── IsochroneResponsePolygonTests.cs │ │ ├── IsochroneResponseTests.cs │ │ ├── JobIdTests.cs │ │ ├── JobRelationTests.cs │ │ ├── LineStringTests.cs │ │ ├── MatrixRequestTests.cs │ │ ├── MatrixResponseHintsTests.cs │ │ ├── MatrixResponseTests.cs │ │ ├── ObjectiveTests.cs │ │ ├── PickupTests.cs │ │ ├── PolygonTests.cs │ │ ├── RequestTests.cs │ │ ├── ResponseAddressTests.cs │ │ ├── ResponseInfoTests.cs │ │ ├── ResponseTests.cs │ │ ├── RoutePointTests.cs │ │ ├── RouteResponsePathInstructionsTests.cs │ │ ├── RouteResponsePathTests.cs │ │ ├── RouteResponseTests.cs │ │ ├── RouteTests.cs │ │ ├── RoutingTests.cs │ │ ├── ServiceTests.cs │ │ ├── ShipmentTests.cs │ │ ├── SnappedWaypointTests.cs │ │ ├── SolutionTests.cs │ │ ├── SolutionUnassignedTests.cs │ │ ├── StopTests.cs │ │ ├── SymmetricalMatrixRequestTests.cs │ │ ├── TimeWindowBreakTests.cs │ │ ├── TimeWindowTests.cs │ │ ├── VehicleProfileIdTests.cs │ │ ├── VehicleTests.cs │ │ └── VehicleTypeTests.cs │ └── packages.config │ ├── GraphHopper │ ├── Api │ │ ├── GeocodingApi.cs │ │ ├── IsochroneApi.cs │ │ ├── MapMatchingApi.cs │ │ ├── MatrixApi.cs │ │ ├── RouteOptimizationApi.cs │ │ └── RoutingApi.cs │ ├── Client │ │ ├── ApiClient.cs │ │ ├── ApiException.cs │ │ ├── ApiResponse.cs │ │ ├── Configuration.cs │ │ ├── ExceptionFactory.cs │ │ ├── GlobalConfiguration.cs │ │ ├── IApiAccessor.cs │ │ ├── IReadableConfiguration.cs │ │ └── SwaggerDateConverter.cs │ ├── GraphHopper.csproj │ ├── GraphHopper.nuspec │ ├── Model │ │ ├── Activity.cs │ │ ├── Address.cs │ │ ├── Algorithm.cs │ │ ├── AnyOfVehicleBreak.cs │ │ ├── BadRequest.cs │ │ ├── Configuration.cs │ │ ├── CostMatrix.cs │ │ ├── CostMatrixData.cs │ │ ├── CostMatrixDataInfo.cs │ │ ├── Detail.cs │ │ ├── DriveTimeBreak.cs │ │ ├── EncodedLineString.cs │ │ ├── ErrorMessage.cs │ │ ├── GHError.cs │ │ ├── GHErrorHints.cs │ │ ├── GeocodingLocation.cs │ │ ├── GeocodingPoint.cs │ │ ├── GeocodingResponse.cs │ │ ├── GroupRelation.cs │ │ ├── InfoResponse.cs │ │ ├── InlineResponse404.cs │ │ ├── InternalErrorMessage.cs │ │ ├── IsochroneResponse.cs │ │ ├── IsochroneResponsePolygon.cs │ │ ├── IsochroneResponsePolygonProperties.cs │ │ ├── JobId.cs │ │ ├── JobRelation.cs │ │ ├── LineString.cs │ │ ├── MatrixRequest.cs │ │ ├── MatrixResponse.cs │ │ ├── MatrixResponseHints.cs │ │ ├── Objective.cs │ │ ├── Pickup.cs │ │ ├── Polygon.cs │ │ ├── Request.cs │ │ ├── Response.cs │ │ ├── ResponseAddress.cs │ │ ├── ResponseInfo.cs │ │ ├── Route.cs │ │ ├── RoutePoint.cs │ │ ├── RouteResponse.cs │ │ ├── RouteResponsePath.cs │ │ ├── RouteResponsePathInstructions.cs │ │ ├── Routing.cs │ │ ├── Service.cs │ │ ├── Shipment.cs │ │ ├── SnappedWaypoint.cs │ │ ├── Solution.cs │ │ ├── SolutionUnassigned.cs │ │ ├── Stop.cs │ │ ├── SymmetricalMatrixRequest.cs │ │ ├── TimeWindow.cs │ │ ├── TimeWindowBreak.cs │ │ ├── Vehicle.cs │ │ ├── VehicleProfileId.cs │ │ └── VehicleType.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── packages.config │ ├── IO.Swagger.Test │ ├── Api │ │ ├── GeocodingApiTests.cs │ │ ├── IsochroneApiTests.cs │ │ ├── MapMatchingApiTests.cs │ │ ├── MatrixApiTests.cs │ │ ├── RouteOptimizationApiTests.cs │ │ ├── RoutingApiTests.cs │ │ ├── SolutionApiTests.cs │ │ └── VrpApiTests.cs │ ├── IO.Swagger.Test.csproj │ ├── Model │ │ ├── ActivityTests.cs │ │ ├── AddressTests.cs │ │ ├── AlgorithmTests.cs │ │ ├── AnyOfVehicleBreakTests.cs │ │ ├── BadRequestTests.cs │ │ ├── BreakTests.cs │ │ ├── ConfigurationTests.cs │ │ ├── CostMatrixDataInfoTests.cs │ │ ├── CostMatrixDataTests.cs │ │ ├── CostMatrixTests.cs │ │ ├── DetailTests.cs │ │ ├── DriveTimeBreakTests.cs │ │ ├── EncodedLineStringTests.cs │ │ ├── ErrorMessageTests.cs │ │ ├── GHErrorHintsTests.cs │ │ ├── GHErrorTests.cs │ │ ├── GeocodingLocationTests.cs │ │ ├── GeocodingPointTests.cs │ │ ├── GeocodingResponseTests.cs │ │ ├── GroupRelationTests.cs │ │ ├── InfoResponseTests.cs │ │ ├── InlineResponse404Tests.cs │ │ ├── InternalErrorMessageTests.cs │ │ ├── IsochroneResponsePolygonGeometryTests.cs │ │ ├── IsochroneResponsePolygonPropertiesTests.cs │ │ ├── IsochroneResponsePolygonTests.cs │ │ ├── IsochroneResponseTests.cs │ │ ├── JobIdTests.cs │ │ ├── JobRelationTests.cs │ │ ├── LineStringTests.cs │ │ ├── LocationTests.cs │ │ ├── MatrixRequestTests.cs │ │ ├── MatrixResponseHintsTests.cs │ │ ├── MatrixResponseTests.cs │ │ ├── ObjectiveTests.cs │ │ ├── PickupTests.cs │ │ ├── PolygonTests.cs │ │ ├── RelationTests.cs │ │ ├── RequestTests.cs │ │ ├── ResponseAddressTests.cs │ │ ├── ResponseCoordinatesArrayTests.cs │ │ ├── ResponseCoordinatesTests.cs │ │ ├── ResponseInfoTests.cs │ │ ├── ResponseInstructionTests.cs │ │ ├── ResponseInstructionsTests.cs │ │ ├── ResponseTests.cs │ │ ├── RoutePointTests.cs │ │ ├── RouteResponsePathInstructionsTests.cs │ │ ├── RouteResponsePathTests.cs │ │ ├── RouteResponseTests.cs │ │ ├── RouteTests.cs │ │ ├── RoutingTests.cs │ │ ├── ServiceTests.cs │ │ ├── ShipmentTests.cs │ │ ├── SnappedWaypointTests.cs │ │ ├── SolutionTests.cs │ │ ├── SolutionUnassignedTests.cs │ │ ├── StopTests.cs │ │ ├── SymmetricalMatrixRequestTests.cs │ │ ├── TimeWindowBreakTests.cs │ │ ├── TimeWindowTests.cs │ │ ├── VehicleProfileIdTests.cs │ │ ├── VehicleTests.cs │ │ └── VehicleTypeTests.cs │ └── packages.config │ └── IO.Swagger │ ├── Api │ ├── GeocodingApi.cs │ ├── IsochroneApi.cs │ ├── MapMatchingApi.cs │ ├── MatrixApi.cs │ ├── RouteOptimizationApi.cs │ ├── RoutingApi.cs │ ├── SolutionApi.cs │ └── VrpApi.cs │ ├── Client │ ├── ApiClient.cs │ ├── ApiException.cs │ ├── ApiResponse.cs │ ├── Configuration.cs │ ├── ExceptionFactory.cs │ ├── GlobalConfiguration.cs │ ├── IApiAccessor.cs │ ├── IReadableConfiguration.cs │ └── SwaggerDateConverter.cs │ ├── IO.Swagger.csproj │ ├── IO.Swagger.nuspec │ ├── Model │ ├── Activity.cs │ ├── Address.cs │ ├── Algorithm.cs │ ├── AnyOfVehicleBreak.cs │ ├── BadRequest.cs │ ├── Break.cs │ ├── Configuration.cs │ ├── CostMatrix.cs │ ├── CostMatrixData.cs │ ├── CostMatrixDataInfo.cs │ ├── Detail.cs │ ├── DriveTimeBreak.cs │ ├── EncodedLineString.cs │ ├── ErrorMessage.cs │ ├── GHError.cs │ ├── GHErrorHints.cs │ ├── GeocodingLocation.cs │ ├── GeocodingPoint.cs │ ├── GeocodingResponse.cs │ ├── GroupRelation.cs │ ├── InfoResponse.cs │ ├── InlineResponse404.cs │ ├── InternalErrorMessage.cs │ ├── IsochroneResponse.cs │ ├── IsochroneResponsePolygon.cs │ ├── IsochroneResponsePolygonGeometry.cs │ ├── IsochroneResponsePolygonProperties.cs │ ├── JobId.cs │ ├── JobRelation.cs │ ├── LineString.cs │ ├── Location.cs │ ├── MatrixRequest.cs │ ├── MatrixResponse.cs │ ├── MatrixResponseHints.cs │ ├── Objective.cs │ ├── Pickup.cs │ ├── Polygon.cs │ ├── Relation.cs │ ├── Request.cs │ ├── Response.cs │ ├── ResponseAddress.cs │ ├── ResponseCoordinates.cs │ ├── ResponseCoordinatesArray.cs │ ├── ResponseInfo.cs │ ├── ResponseInstruction.cs │ ├── ResponseInstructions.cs │ ├── Route.cs │ ├── RoutePoint.cs │ ├── RouteResponse.cs │ ├── RouteResponsePath.cs │ ├── RouteResponsePathInstructions.cs │ ├── Routing.cs │ ├── Service.cs │ ├── Shipment.cs │ ├── SnappedWaypoint.cs │ ├── Solution.cs │ ├── SolutionUnassigned.cs │ ├── Stop.cs │ ├── SymmetricalMatrixRequest.cs │ ├── TimeWindow.cs │ ├── TimeWindowBreak.cs │ ├── Vehicle.cs │ ├── VehicleProfileId.cs │ └── VehicleType.cs │ ├── Properties │ └── AssemblyInfo.cs │ └── packages.config ├── haskell ├── .swagger-codegen-ignore ├── README.md ├── Setup.hs ├── graphhopper-directions.cabal ├── lib │ └── GraphHopperDirections │ │ ├── API.hs │ │ └── Types.hs └── stack.yaml ├── java-examples ├── pom.xml └── src │ ├── main │ └── java │ │ └── com │ │ └── graphhopper │ │ └── directions │ │ └── api │ │ └── examples │ │ ├── GHApiUtil.java │ │ ├── GeocodingExample.java │ │ ├── IsochroneExample.java │ │ ├── RouteOptWithShipmentExample.java │ │ ├── RoutingExample.java │ │ ├── TSP_BiggestCitiesInGermanyByBikeExample.java │ │ ├── TSP_BiggestCitiesInGermanyExample.java │ │ ├── VRP_DemoExample.java │ │ └── VRP_WithSkillsExample.java │ └── test │ └── java │ └── com │ └── graphhopper │ └── directions │ └── api │ └── client │ └── api │ ├── GeocodingApiTest.java │ ├── IsochroneApiTest.java │ ├── MatrixApiTest.java │ ├── RouteOptimizationApiTest.java │ └── RoutingApiTest.java ├── java ├── .gitignore ├── .swagger-codegen-ignore ├── .travis.yml ├── README.md ├── build.gradle ├── build.sbt ├── docs │ ├── Activity.md │ ├── Address.md │ ├── Algorithm.md │ ├── AnyOfVehicleModelBreak.md │ ├── BadRequest.md │ ├── CostMatrix.md │ ├── CostMatrixData.md │ ├── CostMatrixDataInfo.md │ ├── Detail.md │ ├── DriveTimeBreak.md │ ├── ErrorMessage.md │ ├── GHError.md │ ├── GHErrorHints.md │ ├── GeocodingApi.md │ ├── GeocodingApiApi.md │ ├── GeocodingLocation.md │ ├── GeocodingPoint.md │ ├── GeocodingResponse.md │ ├── GroupRelation.md │ ├── InfoResponse.md │ ├── InlineResponse404.md │ ├── InternalErrorMessage.md │ ├── IsochroneApi.md │ ├── IsochroneApiApi.md │ ├── IsochroneResponse.md │ ├── IsochroneResponsePolygon.md │ ├── IsochroneResponsePolygonGeometry.md │ ├── IsochroneResponsePolygonProperties.md │ ├── JobId.md │ ├── JobRelation.md │ ├── LineString.md │ ├── Location.md │ ├── MapMatchingApi.md │ ├── MapMatchingApiApi.md │ ├── MatrixApi.md │ ├── MatrixApiApi.md │ ├── MatrixRequest.md │ ├── MatrixResponse.md │ ├── MatrixResponseHints.md │ ├── ModelBreak.md │ ├── ModelConfiguration.md │ ├── Objective.md │ ├── Pickup.md │ ├── Polygon.md │ ├── Relation.md │ ├── Request.md │ ├── Response.md │ ├── ResponseAddress.md │ ├── ResponseCoordinates.md │ ├── ResponseCoordinatesArray.md │ ├── ResponseInfo.md │ ├── ResponseInstruction.md │ ├── ResponseInstructions.md │ ├── Route.md │ ├── RouteOptimizationApi.md │ ├── RouteOptimizationApiApi.md │ ├── RoutePoint.md │ ├── RouteResponse.md │ ├── RouteResponsePath.md │ ├── RouteResponsePathInstructions.md │ ├── Routing.md │ ├── RoutingApi.md │ ├── RoutingApiApi.md │ ├── Service.md │ ├── Shipment.md │ ├── SnappedWaypoint.md │ ├── Solution.md │ ├── SolutionApi.md │ ├── SolutionUnassigned.md │ ├── Stop.md │ ├── SymmetricalMatrixRequest.md │ ├── TimeWindow.md │ ├── TimeWindowBreak.md │ ├── Vehicle.md │ ├── VehicleProfileId.md │ ├── VehicleType.md │ └── VrpApi.md ├── git_push.sh ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── pom.xml ├── settings.gradle └── src │ ├── main │ ├── AndroidManifest.xml │ └── java │ │ └── com │ │ └── graphhopper │ │ └── directions │ │ └── api │ │ └── client │ │ ├── ApiCallback.java │ │ ├── ApiClient.java │ │ ├── ApiException.java │ │ ├── ApiResponse.java │ │ ├── Configuration.java │ │ ├── GzipRequestInterceptor.java │ │ ├── JSON.java │ │ ├── Pair.java │ │ ├── ProgressRequestBody.java │ │ ├── ProgressResponseBody.java │ │ ├── StringUtil.java │ │ ├── api │ │ ├── GeocodingApi.java │ │ ├── IsochroneApi.java │ │ ├── MapMatchingApi.java │ │ ├── MatrixApi.java │ │ ├── RouteOptimizationApi.java │ │ └── RoutingApi.java │ │ ├── auth │ │ ├── ApiKeyAuth.java │ │ ├── Authentication.java │ │ ├── HttpBasicAuth.java │ │ ├── OAuth.java │ │ └── OAuthFlow.java │ │ └── model │ │ ├── Activity.java │ │ ├── Address.java │ │ ├── Algorithm.java │ │ ├── AnyOfVehicleModelBreak.java │ │ ├── BadRequest.java │ │ ├── CostMatrix.java │ │ ├── CostMatrixData.java │ │ ├── CostMatrixDataInfo.java │ │ ├── Detail.java │ │ ├── DriveTimeBreak.java │ │ ├── ErrorMessage.java │ │ ├── GHError.java │ │ ├── GHErrorHints.java │ │ ├── GeocodingLocation.java │ │ ├── GeocodingPoint.java │ │ ├── GeocodingResponse.java │ │ ├── GroupRelation.java │ │ ├── InfoResponse.java │ │ ├── InlineResponse404.java │ │ ├── InternalErrorMessage.java │ │ ├── IsochroneResponse.java │ │ ├── IsochroneResponsePolygon.java │ │ ├── IsochroneResponsePolygonProperties.java │ │ ├── JobId.java │ │ ├── JobRelation.java │ │ ├── LineString.java │ │ ├── MatrixRequest.java │ │ ├── MatrixResponse.java │ │ ├── MatrixResponseHints.java │ │ ├── ModelConfiguration.java │ │ ├── Objective.java │ │ ├── Pickup.java │ │ ├── Polygon.java │ │ ├── Request.java │ │ ├── Response.java │ │ ├── ResponseAddress.java │ │ ├── ResponseInfo.java │ │ ├── Route.java │ │ ├── RoutePoint.java │ │ ├── RouteResponse.java │ │ ├── RouteResponsePath.java │ │ ├── RouteResponsePathInstructions.java │ │ ├── Routing.java │ │ ├── Service.java │ │ ├── Shipment.java │ │ ├── SnappedWaypoint.java │ │ ├── Solution.java │ │ ├── SolutionUnassigned.java │ │ ├── Stop.java │ │ ├── SymmetricalMatrixRequest.java │ │ ├── TimeWindow.java │ │ ├── TimeWindowBreak.java │ │ ├── Vehicle.java │ │ ├── VehicleProfileId.java │ │ └── VehicleType.java │ └── test │ └── java │ └── com │ └── graphhopper │ └── directions │ └── api │ └── client │ └── api │ ├── GeocodingApiTest.java │ ├── IsochroneApiTest.java │ ├── MapMatchingApiTest.java │ ├── MatrixApiTest.java │ ├── RouteOptimizationApiTest.java │ └── RoutingApiTest.java ├── kotlin-client ├── .swagger-codegen-ignore ├── README.md ├── build.gradle ├── docs │ ├── Activity.md │ ├── Address.md │ ├── Algorithm.md │ ├── AnyOfVehicleBacktickbreakBacktick.md │ ├── BadRequest.md │ ├── Configuration.md │ ├── CostMatrix.md │ ├── CostMatrix_data.md │ ├── CostMatrix_data_info.md │ ├── Detail.md │ ├── DriveTimeBreak.md │ ├── EncodedLineString.md │ ├── ErrorMessage.md │ ├── GHError.md │ ├── GHError_hints.md │ ├── GeocodingApi.md │ ├── GeocodingLocation.md │ ├── GeocodingPoint.md │ ├── GeocodingResponse.md │ ├── GroupRelation.md │ ├── InfoResponse.md │ ├── Inline_response_404.md │ ├── InternalErrorMessage.md │ ├── IsochroneApi.md │ ├── IsochroneResponse.md │ ├── IsochroneResponsePolygon.md │ ├── IsochroneResponsePolygon_properties.md │ ├── JobId.md │ ├── JobRelation.md │ ├── LineString.md │ ├── MapMatchingApi.md │ ├── MatrixApi.md │ ├── MatrixRequest.md │ ├── MatrixResponse.md │ ├── MatrixResponse_hints.md │ ├── Objective.md │ ├── Pickup.md │ ├── Polygon.md │ ├── Request.md │ ├── Response.md │ ├── ResponseAddress.md │ ├── ResponseInfo.md │ ├── Route.md │ ├── RouteOptimizationApi.md │ ├── RoutePoint.md │ ├── RouteResponse.md │ ├── RouteResponsePath.md │ ├── RouteResponsePath_instructions.md │ ├── Routing.md │ ├── RoutingApi.md │ ├── Service.md │ ├── Shipment.md │ ├── SnappedWaypoint.md │ ├── Solution.md │ ├── Solution_unassigned.md │ ├── Stop.md │ ├── SymmetricalMatrixRequest.md │ ├── TimeWindow.md │ ├── TimeWindowBreak.md │ ├── Vehicle.md │ ├── VehicleProfileId.md │ └── VehicleType.md ├── settings.gradle └── src │ └── main │ └── kotlin │ └── io │ └── swagger │ └── client │ ├── apis │ ├── GeocodingApi.kt │ ├── IsochroneApi.kt │ ├── MapMatchingApi.kt │ ├── MatrixApi.kt │ ├── RouteOptimizationApi.kt │ └── RoutingApi.kt │ ├── infrastructure │ ├── ApiAbstractions.kt │ ├── ApiClient.kt │ ├── ApiInfrastructureResponse.kt │ ├── ApplicationDelegates.kt │ ├── Errors.kt │ ├── RequestConfig.kt │ ├── RequestMethod.kt │ ├── ResponseExtensions.kt │ └── Serializer.kt │ └── models │ ├── Activity.kt │ ├── Address.kt │ ├── Algorithm.kt │ ├── AnyOfVehicleBacktickbreakBacktick.kt │ ├── BadRequest.kt │ ├── Configuration.kt │ ├── CostMatrix.kt │ ├── CostMatrix_data.kt │ ├── CostMatrix_data_info.kt │ ├── Detail.kt │ ├── DriveTimeBreak.kt │ ├── EncodedLineString.kt │ ├── ErrorMessage.kt │ ├── GHError.kt │ ├── GHError_hints.kt │ ├── GeocodingLocation.kt │ ├── GeocodingPoint.kt │ ├── GeocodingResponse.kt │ ├── GroupRelation.kt │ ├── InfoResponse.kt │ ├── Inline_response_404.kt │ ├── InternalErrorMessage.kt │ ├── IsochroneResponse.kt │ ├── IsochroneResponsePolygon.kt │ ├── IsochroneResponsePolygon_properties.kt │ ├── JobId.kt │ ├── JobRelation.kt │ ├── LineString.kt │ ├── MatrixRequest.kt │ ├── MatrixResponse.kt │ ├── MatrixResponse_hints.kt │ ├── Objective.kt │ ├── Pickup.kt │ ├── Polygon.kt │ ├── Request.kt │ ├── Response.kt │ ├── ResponseAddress.kt │ ├── ResponseInfo.kt │ ├── Route.kt │ ├── RoutePoint.kt │ ├── RouteResponse.kt │ ├── RouteResponsePath.kt │ ├── RouteResponsePath_instructions.kt │ ├── Routing.kt │ ├── Service.kt │ ├── Shipment.kt │ ├── SnappedWaypoint.kt │ ├── Solution.kt │ ├── Solution_unassigned.kt │ ├── Stop.kt │ ├── SymmetricalMatrixRequest.kt │ ├── TimeWindow.kt │ ├── TimeWindowBreak.kt │ ├── Vehicle.kt │ ├── VehicleProfileId.kt │ └── VehicleType.kt ├── oldreadme.md ├── php ├── .swagger-codegen-ignore └── SwaggerClient-php │ ├── .php_cs │ ├── .travis.yml │ ├── README.md │ ├── composer.json │ ├── docs │ ├── Api │ │ ├── GeocodingApi.md │ │ ├── IsochroneApi.md │ │ ├── MapMatchingApi.md │ │ ├── MatrixApi.md │ │ ├── RouteOptimizationApi.md │ │ ├── RoutingApi.md │ │ ├── SolutionApi.md │ │ └── VrpApi.md │ └── Model │ │ ├── Activity.md │ │ ├── Address.md │ │ ├── Algorithm.md │ │ ├── AnyOfVehicleModelBreak.md │ │ ├── BadRequest.md │ │ ├── Configuration.md │ │ ├── CostMatrix.md │ │ ├── CostMatrixData.md │ │ ├── CostMatrixDataInfo.md │ │ ├── Detail.md │ │ ├── DriveTimeBreak.md │ │ ├── EncodedLineString.md │ │ ├── ErrorMessage.md │ │ ├── GHError.md │ │ ├── GHErrorHints.md │ │ ├── GeocodingLocation.md │ │ ├── GeocodingPoint.md │ │ ├── GeocodingResponse.md │ │ ├── GroupRelation.md │ │ ├── InfoResponse.md │ │ ├── InlineResponse404.md │ │ ├── InternalErrorMessage.md │ │ ├── IsochroneResponse.md │ │ ├── IsochroneResponsePolygon.md │ │ ├── IsochroneResponsePolygonGeometry.md │ │ ├── IsochroneResponsePolygonProperties.md │ │ ├── JobId.md │ │ ├── JobRelation.md │ │ ├── LineString.md │ │ ├── Location.md │ │ ├── MatrixRequest.md │ │ ├── MatrixResponse.md │ │ ├── MatrixResponseHints.md │ │ ├── ModelBreak.md │ │ ├── Objective.md │ │ ├── Pickup.md │ │ ├── Polygon.md │ │ ├── Relation.md │ │ ├── Request.md │ │ ├── Response.md │ │ ├── ResponseAddress.md │ │ ├── ResponseCoordinates.md │ │ ├── ResponseCoordinatesArray.md │ │ ├── ResponseInfo.md │ │ ├── ResponseInstruction.md │ │ ├── ResponseInstructions.md │ │ ├── Route.md │ │ ├── RoutePoint.md │ │ ├── RouteResponse.md │ │ ├── RouteResponsePath.md │ │ ├── RouteResponsePathInstructions.md │ │ ├── Routing.md │ │ ├── Service.md │ │ ├── Shipment.md │ │ ├── SnappedWaypoint.md │ │ ├── Solution.md │ │ ├── SolutionUnassigned.md │ │ ├── Stop.md │ │ ├── SymmetricalMatrixRequest.md │ │ ├── TimeWindow.md │ │ ├── TimeWindowBreak.md │ │ ├── Vehicle.md │ │ ├── VehicleProfileId.md │ │ └── VehicleType.md │ ├── git_push.sh │ ├── lib │ ├── ApiException.php │ ├── Configuration.php │ ├── HeaderSelector.php │ ├── Model │ │ ├── Activity.php │ │ ├── Address.php │ │ ├── Algorithm.php │ │ ├── AnyOfVehicleModelBreak.php │ │ ├── BadRequest.php │ │ ├── Configuration.php │ │ ├── CostMatrix.php │ │ ├── CostMatrixData.php │ │ ├── CostMatrixDataInfo.php │ │ ├── Detail.php │ │ ├── DriveTimeBreak.php │ │ ├── EncodedLineString.php │ │ ├── ErrorMessage.php │ │ ├── GHError.php │ │ ├── GHErrorHints.php │ │ ├── GeocodingLocation.php │ │ ├── GeocodingPoint.php │ │ ├── GeocodingResponse.php │ │ ├── GroupRelation.php │ │ ├── InfoResponse.php │ │ ├── InlineResponse404.php │ │ ├── InternalErrorMessage.php │ │ ├── IsochroneResponse.php │ │ ├── IsochroneResponsePolygon.php │ │ ├── IsochroneResponsePolygonGeometry.php │ │ ├── IsochroneResponsePolygonProperties.php │ │ ├── JobId.php │ │ ├── JobRelation.php │ │ ├── LineString.php │ │ ├── Location.php │ │ ├── MatrixRequest.php │ │ ├── MatrixResponse.php │ │ ├── MatrixResponseHints.php │ │ ├── ModelBreak.php │ │ ├── ModelInterface.php │ │ ├── Objective.php │ │ ├── Pickup.php │ │ ├── Polygon.php │ │ ├── Relation.php │ │ ├── Request.php │ │ ├── Response.php │ │ ├── ResponseAddress.php │ │ ├── ResponseCoordinates.php │ │ ├── ResponseCoordinatesArray.php │ │ ├── ResponseInfo.php │ │ ├── ResponseInstruction.php │ │ ├── ResponseInstructions.php │ │ ├── Route.php │ │ ├── RoutePoint.php │ │ ├── RouteResponse.php │ │ ├── RouteResponsePath.php │ │ ├── RouteResponsePathInstructions.php │ │ ├── Routing.php │ │ ├── Service.php │ │ ├── Shipment.php │ │ ├── SnappedWaypoint.php │ │ ├── Solution.php │ │ ├── SolutionUnassigned.php │ │ ├── Stop.php │ │ ├── SymmetricalMatrixRequest.php │ │ ├── TimeWindow.php │ │ ├── TimeWindowBreak.php │ │ ├── Vehicle.php │ │ ├── VehicleProfileId.php │ │ └── VehicleType.php │ ├── ObjectSerializer.php │ └── directions-api-client │ │ ├── GeocodingApi.php │ │ ├── IsochroneApi.php │ │ ├── MapMatchingApi.php │ │ ├── MatrixApi.php │ │ ├── RouteOptimizationApi.php │ │ ├── RoutingApi.php │ │ ├── SolutionApi.php │ │ └── VrpApi.php │ ├── phpunit.xml.dist │ └── test │ ├── Api │ ├── GeocodingApiTest.php │ ├── IsochroneApiTest.php │ ├── MapMatchingApiTest.php │ ├── MatrixApiTest.php │ ├── RouteOptimizationApiTest.php │ ├── RoutingApiTest.php │ ├── SolutionApiTest.php │ └── VrpApiTest.php │ └── Model │ ├── ActivityTest.php │ ├── AddressTest.php │ ├── AlgorithmTest.php │ ├── AnyOfVehicleModelBreakTest.php │ ├── BadRequestTest.php │ ├── ConfigurationTest.php │ ├── CostMatrixDataInfoTest.php │ ├── CostMatrixDataTest.php │ ├── CostMatrixTest.php │ ├── DetailTest.php │ ├── DriveTimeBreakTest.php │ ├── EncodedLineStringTest.php │ ├── ErrorMessageTest.php │ ├── GHErrorHintsTest.php │ ├── GHErrorTest.php │ ├── GeocodingLocationTest.php │ ├── GeocodingPointTest.php │ ├── GeocodingResponseTest.php │ ├── GroupRelationTest.php │ ├── InfoResponseTest.php │ ├── InlineResponse404Test.php │ ├── InternalErrorMessageTest.php │ ├── IsochroneResponsePolygonGeometryTest.php │ ├── IsochroneResponsePolygonPropertiesTest.php │ ├── IsochroneResponsePolygonTest.php │ ├── IsochroneResponseTest.php │ ├── JobIdTest.php │ ├── JobRelationTest.php │ ├── LineStringTest.php │ ├── LocationTest.php │ ├── MatrixRequestTest.php │ ├── MatrixResponseHintsTest.php │ ├── MatrixResponseTest.php │ ├── ModelBreakTest.php │ ├── ObjectiveTest.php │ ├── PickupTest.php │ ├── PolygonTest.php │ ├── RelationTest.php │ ├── RequestTest.php │ ├── ResponseAddressTest.php │ ├── ResponseCoordinatesArrayTest.php │ ├── ResponseCoordinatesTest.php │ ├── ResponseInfoTest.php │ ├── ResponseInstructionTest.php │ ├── ResponseInstructionsTest.php │ ├── ResponseTest.php │ ├── RoutePointTest.php │ ├── RouteResponsePathInstructionsTest.php │ ├── RouteResponsePathTest.php │ ├── RouteResponseTest.php │ ├── RouteTest.php │ ├── RoutingTest.php │ ├── ServiceTest.php │ ├── ShipmentTest.php │ ├── SnappedWaypointTest.php │ ├── SolutionTest.php │ ├── SolutionUnassignedTest.php │ ├── StopTest.php │ ├── SymmetricalMatrixRequestTest.php │ ├── TimeWindowBreakTest.php │ ├── TimeWindowTest.php │ ├── VehicleProfileIdTest.php │ ├── VehicleTest.php │ └── VehicleTypeTest.php ├── python ├── .gitignore ├── .swagger-codegen-ignore ├── .travis.yml ├── README.md ├── docs │ ├── Activity.md │ ├── Address.md │ ├── Algorithm.md │ ├── AnyOfVehicleBreak.md │ ├── BadRequest.md │ ├── Configuration.md │ ├── CostMatrix.md │ ├── CostMatrixData.md │ ├── CostMatrixDataInfo.md │ ├── Detail.md │ ├── DriveTimeBreak.md │ ├── EncodedLineString.md │ ├── ErrorMessage.md │ ├── GHError.md │ ├── GHErrorHints.md │ ├── GeocodingApi.md │ ├── GeocodingLocation.md │ ├── GeocodingPoint.md │ ├── GeocodingResponse.md │ ├── GroupRelation.md │ ├── InfoResponse.md │ ├── InlineResponse404.md │ ├── InternalErrorMessage.md │ ├── IsochroneApi.md │ ├── IsochroneResponse.md │ ├── IsochroneResponsePolygon.md │ ├── IsochroneResponsePolygonGeometry.md │ ├── IsochroneResponsePolygonProperties.md │ ├── JobId.md │ ├── JobRelation.md │ ├── LineString.md │ ├── Location.md │ ├── MapMatchingApi.md │ ├── MatrixApi.md │ ├── MatrixRequest.md │ ├── MatrixResponse.md │ ├── MatrixResponseHints.md │ ├── ModelBreak.md │ ├── Objective.md │ ├── Pickup.md │ ├── Polygon.md │ ├── Relation.md │ ├── Request.md │ ├── Response.md │ ├── ResponseAddress.md │ ├── ResponseCoordinates.md │ ├── ResponseCoordinatesArray.md │ ├── ResponseInfo.md │ ├── ResponseInstruction.md │ ├── ResponseInstructions.md │ ├── Route.md │ ├── RouteOptimizationApi.md │ ├── RoutePoint.md │ ├── RouteResponse.md │ ├── RouteResponsePath.md │ ├── RouteResponsePathInstructions.md │ ├── Routing.md │ ├── RoutingApi.md │ ├── Service.md │ ├── Shipment.md │ ├── SnappedWaypoint.md │ ├── Solution.md │ ├── SolutionApi.md │ ├── SolutionUnassigned.md │ ├── Stop.md │ ├── SymmetricalMatrixRequest.md │ ├── TimeWindow.md │ ├── TimeWindowBreak.md │ ├── Vehicle.md │ ├── VehicleProfileId.md │ ├── VehicleType.md │ └── VrpApi.md ├── git_push.sh ├── requirements.txt ├── setup.py ├── swagger_client │ ├── __init__.py │ ├── api │ │ ├── __init__.py │ │ ├── geocoding_api.py │ │ ├── isochrone_api.py │ │ ├── map_matching_api.py │ │ ├── matrix_api.py │ │ ├── route_optimization_api.py │ │ ├── routing_api.py │ │ ├── solution_api.py │ │ └── vrp_api.py │ ├── api_client.py │ ├── configuration.py │ ├── models │ │ ├── __init__.py │ │ ├── activity.py │ │ ├── address.py │ │ ├── algorithm.py │ │ ├── any_of_vehicle_break.py │ │ ├── bad_request.py │ │ ├── configuration.py │ │ ├── cost_matrix.py │ │ ├── cost_matrix_data.py │ │ ├── cost_matrix_data_info.py │ │ ├── detail.py │ │ ├── drive_time_break.py │ │ ├── encoded_line_string.py │ │ ├── error_message.py │ │ ├── geocoding_location.py │ │ ├── geocoding_point.py │ │ ├── geocoding_response.py │ │ ├── gh_error.py │ │ ├── gh_error_hints.py │ │ ├── group_relation.py │ │ ├── info_response.py │ │ ├── inline_response404.py │ │ ├── internal_error_message.py │ │ ├── isochrone_response.py │ │ ├── isochrone_response_polygon.py │ │ ├── isochrone_response_polygon_geometry.py │ │ ├── isochrone_response_polygon_properties.py │ │ ├── job_id.py │ │ ├── job_relation.py │ │ ├── line_string.py │ │ ├── location.py │ │ ├── matrix_request.py │ │ ├── matrix_response.py │ │ ├── matrix_response_hints.py │ │ ├── model_break.py │ │ ├── objective.py │ │ ├── pickup.py │ │ ├── polygon.py │ │ ├── relation.py │ │ ├── request.py │ │ ├── response.py │ │ ├── response_address.py │ │ ├── response_coordinates.py │ │ ├── response_coordinates_array.py │ │ ├── response_info.py │ │ ├── response_instruction.py │ │ ├── response_instructions.py │ │ ├── route.py │ │ ├── route_point.py │ │ ├── route_response.py │ │ ├── route_response_path.py │ │ ├── route_response_path_instructions.py │ │ ├── routing.py │ │ ├── service.py │ │ ├── shipment.py │ │ ├── snapped_waypoint.py │ │ ├── solution.py │ │ ├── solution_unassigned.py │ │ ├── stop.py │ │ ├── symmetrical_matrix_request.py │ │ ├── time_window.py │ │ ├── time_window_break.py │ │ ├── vehicle.py │ │ ├── vehicle_profile_id.py │ │ └── vehicle_type.py │ └── rest.py ├── test-requirements.txt ├── test │ ├── __init__.py │ ├── test_activity.py │ ├── test_address.py │ ├── test_algorithm.py │ ├── test_any_of_vehicle_break.py │ ├── test_bad_request.py │ ├── test_configuration.py │ ├── test_cost_matrix.py │ ├── test_cost_matrix_data.py │ ├── test_cost_matrix_data_info.py │ ├── test_detail.py │ ├── test_drive_time_break.py │ ├── test_encoded_line_string.py │ ├── test_error_message.py │ ├── test_geocoding_api.py │ ├── test_geocoding_location.py │ ├── test_geocoding_point.py │ ├── test_geocoding_response.py │ ├── test_gh_error.py │ ├── test_gh_error_hints.py │ ├── test_group_relation.py │ ├── test_info_response.py │ ├── test_inline_response404.py │ ├── test_internal_error_message.py │ ├── test_isochrone_api.py │ ├── test_isochrone_response.py │ ├── test_isochrone_response_polygon.py │ ├── test_isochrone_response_polygon_geometry.py │ ├── test_isochrone_response_polygon_properties.py │ ├── test_job_id.py │ ├── test_job_relation.py │ ├── test_line_string.py │ ├── test_location.py │ ├── test_map_matching_api.py │ ├── test_matrix_api.py │ ├── test_matrix_request.py │ ├── test_matrix_response.py │ ├── test_matrix_response_hints.py │ ├── test_model_break.py │ ├── test_objective.py │ ├── test_pickup.py │ ├── test_polygon.py │ ├── test_relation.py │ ├── test_request.py │ ├── test_response.py │ ├── test_response_address.py │ ├── test_response_coordinates.py │ ├── test_response_coordinates_array.py │ ├── test_response_info.py │ ├── test_response_instruction.py │ ├── test_response_instructions.py │ ├── test_route.py │ ├── test_route_optimization_api.py │ ├── test_route_point.py │ ├── test_route_response.py │ ├── test_route_response_path.py │ ├── test_route_response_path_instructions.py │ ├── test_routing.py │ ├── test_routing_api.py │ ├── test_service.py │ ├── test_shipment.py │ ├── test_snapped_waypoint.py │ ├── test_solution.py │ ├── test_solution_api.py │ ├── test_solution_unassigned.py │ ├── test_stop.py │ ├── test_symmetrical_matrix_request.py │ ├── test_time_window.py │ ├── test_time_window_break.py │ ├── test_vehicle.py │ ├── test_vehicle_profile_id.py │ ├── test_vehicle_type.py │ └── test_vrp_api.py └── tox.ini ├── qt5cpp ├── .swagger-codegen-ignore └── client │ ├── SWGActivity.cpp │ ├── SWGActivity.h │ ├── SWGAddress.cpp │ ├── SWGAddress.h │ ├── SWGBreak.cpp │ ├── SWGBreak.h │ ├── SWGConfiguration.cpp │ ├── SWGConfiguration.h │ ├── SWGCostMatrix.cpp │ ├── SWGCostMatrix.h │ ├── SWGCostMatrix_data.cpp │ ├── SWGCostMatrix_data.h │ ├── SWGCostMatrix_data_info.cpp │ ├── SWGCostMatrix_data_info.h │ ├── SWGDetail.cpp │ ├── SWGDetail.h │ ├── SWGGHError.cpp │ ├── SWGGHError.h │ ├── SWGGHError_hints.cpp │ ├── SWGGHError_hints.h │ ├── SWGGeocodingApi.cpp │ ├── SWGGeocodingApi.h │ ├── SWGGeocodingLocation.cpp │ ├── SWGGeocodingLocation.h │ ├── SWGGeocodingPoint.cpp │ ├── SWGGeocodingPoint.h │ ├── SWGGeocodingResponse.cpp │ ├── SWGGeocodingResponse.h │ ├── SWGHelpers.cpp │ ├── SWGHelpers.h │ ├── SWGHttpRequest.cpp │ ├── SWGHttpRequest.h │ ├── SWGIsochroneApi.cpp │ ├── SWGIsochroneApi.h │ ├── SWGIsochroneResponse.cpp │ ├── SWGIsochroneResponse.h │ ├── SWGIsochroneResponsePolygon.cpp │ ├── SWGIsochroneResponsePolygon.h │ ├── SWGIsochroneResponsePolygon_geometry.cpp │ ├── SWGIsochroneResponsePolygon_geometry.h │ ├── SWGIsochroneResponsePolygon_properties.cpp │ ├── SWGIsochroneResponsePolygon_properties.h │ ├── SWGJobId.cpp │ ├── SWGJobId.h │ ├── SWGLocation.cpp │ ├── SWGLocation.h │ ├── SWGMatrixApi.cpp │ ├── SWGMatrixApi.h │ ├── SWGMatrixRequest.cpp │ ├── SWGMatrixRequest.h │ ├── SWGMatrixResponse.cpp │ ├── SWGMatrixResponse.h │ ├── SWGModelFactory.h │ ├── SWGObject.h │ ├── SWGObjective.cpp │ ├── SWGObjective.h │ ├── SWGRelation.cpp │ ├── SWGRelation.h │ ├── SWGRequest.cpp │ ├── SWGRequest.h │ ├── SWGResponse.cpp │ ├── SWGResponse.h │ ├── SWGResponseCoordinates.cpp │ ├── SWGResponseCoordinates.h │ ├── SWGResponseCoordinatesArray.cpp │ ├── SWGResponseCoordinatesArray.h │ ├── SWGResponseInfo.cpp │ ├── SWGResponseInfo.h │ ├── SWGResponseInstruction.cpp │ ├── SWGResponseInstruction.h │ ├── SWGResponseInstructions.cpp │ ├── SWGResponseInstructions.h │ ├── SWGRoute.cpp │ ├── SWGRoute.h │ ├── SWGRoutePoint.cpp │ ├── SWGRoutePoint.h │ ├── SWGRouteResponse.cpp │ ├── SWGRouteResponse.h │ ├── SWGRouteResponsePath.cpp │ ├── SWGRouteResponsePath.h │ ├── SWGRouting.cpp │ ├── SWGRouting.h │ ├── SWGRoutingApi.cpp │ ├── SWGRoutingApi.h │ ├── SWGService.cpp │ ├── SWGService.h │ ├── SWGShipment.cpp │ ├── SWGShipment.h │ ├── SWGSolution.cpp │ ├── SWGSolution.h │ ├── SWGSolutionApi.cpp │ ├── SWGSolutionApi.h │ ├── SWGSolution_unassigned.cpp │ ├── SWGSolution_unassigned.h │ ├── SWGStop.cpp │ ├── SWGStop.h │ ├── SWGTimeWindow.cpp │ ├── SWGTimeWindow.h │ ├── SWGVehicle.cpp │ ├── SWGVehicle.h │ ├── SWGVehicleType.cpp │ ├── SWGVehicleType.h │ ├── SWGVrpApi.cpp │ └── SWGVrpApi.h ├── r ├── .Rbuildignore ├── .gitignore ├── .swagger-codegen-ignore ├── .swagger-codegen │ └── VERSION ├── .travis.yml ├── DESCRIPTION ├── R │ ├── Activity.r │ ├── Address.r │ ├── ApiClient.r │ ├── Configuration.r │ ├── CostMatrix.r │ ├── CostMatrixData.r │ ├── CostMatrixDataInfo.r │ ├── Detail.r │ ├── Element.r │ ├── GHError.r │ ├── GHErrorHints.r │ ├── GeocodingApi.r │ ├── GeocodingLocation.r │ ├── GeocodingPoint.r │ ├── GeocodingResponse.r │ ├── IsochroneApi.r │ ├── IsochroneResponse.r │ ├── IsochroneResponsePolygon.r │ ├── IsochroneResponsePolygonGeometry.r │ ├── IsochroneResponsePolygonProperties.r │ ├── JobId.r │ ├── Location.r │ ├── MatrixApi.r │ ├── MatrixRequest.r │ ├── MatrixResponse.r │ ├── ModelBreak.r │ ├── Objective.r │ ├── Relation.r │ ├── Request.r │ ├── Response.r │ ├── ResponseCoordinates.r │ ├── ResponseCoordinatesArray.r │ ├── ResponseInfo.r │ ├── ResponseInstruction.r │ ├── ResponseInstructions.r │ ├── Route.r │ ├── RoutePoint.r │ ├── RouteResponse.r │ ├── RouteResponsePath.r │ ├── Routing.r │ ├── RoutingApi.r │ ├── Service.r │ ├── Shipment.r │ ├── Solution.r │ ├── SolutionApi.r │ ├── SolutionUnassigned.r │ ├── Stop.r │ ├── TimeWindow.r │ ├── Vehicle.r │ ├── VehicleType.r │ └── VrpApi.r ├── README.md └── git_push.sh ├── scala ├── .gitignore ├── .swagger-codegen-ignore ├── build.gradle ├── build.sbt ├── git_push.sh ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── pom.xml ├── settings.gradle └── src │ └── main │ └── scala │ └── io │ └── swagger │ └── client │ ├── ApiInvoker.scala │ ├── AsyncClient.scala │ ├── api │ ├── GeocodingApi.scala │ ├── IsochroneApi.scala │ ├── MapMatchingApi.scala │ ├── MatrixApi.scala │ ├── RouteOptimizationApi.scala │ ├── RoutingApi.scala │ ├── SolutionApi.scala │ └── VrpApi.scala │ └── model │ ├── Activity.scala │ ├── Address.scala │ ├── Algorithm.scala │ ├── AnyOfVehicleBreak.scala │ ├── BadRequest.scala │ ├── Break.scala │ ├── Configuration.scala │ ├── CostMatrix.scala │ ├── CostMatrixData.scala │ ├── CostMatrixDataInfo.scala │ ├── Detail.scala │ ├── DriveTimeBreak.scala │ ├── EncodedLineString.scala │ ├── ErrorMessage.scala │ ├── GHError.scala │ ├── GHErrorHints.scala │ ├── GeocodingLocation.scala │ ├── GeocodingPoint.scala │ ├── GeocodingResponse.scala │ ├── GroupRelation.scala │ ├── InfoResponse.scala │ ├── InlineResponse404.scala │ ├── InternalErrorMessage.scala │ ├── IsochroneResponse.scala │ ├── IsochroneResponsePolygon.scala │ ├── IsochroneResponsePolygonGeometry.scala │ ├── IsochroneResponsePolygonProperties.scala │ ├── JobId.scala │ ├── JobRelation.scala │ ├── LineString.scala │ ├── Location.scala │ ├── MatrixRequest.scala │ ├── MatrixResponse.scala │ ├── MatrixResponseHints.scala │ ├── Objective.scala │ ├── Pickup.scala │ ├── Polygon.scala │ ├── Relation.scala │ ├── Request.scala │ ├── Response.scala │ ├── ResponseAddress.scala │ ├── ResponseCoordinates.scala │ ├── ResponseCoordinatesArray.scala │ ├── ResponseInfo.scala │ ├── ResponseInstruction.scala │ ├── ResponseInstructions.scala │ ├── Route.scala │ ├── RoutePoint.scala │ ├── RouteResponse.scala │ ├── RouteResponsePath.scala │ ├── RouteResponsePathInstructions.scala │ ├── Routing.scala │ ├── Service.scala │ ├── Shipment.scala │ ├── SnappedWaypoint.scala │ ├── Solution.scala │ ├── SolutionUnassigned.scala │ ├── Stop.scala │ ├── SymmetricalMatrixRequest.scala │ ├── TimeWindow.scala │ ├── TimeWindowBreak.scala │ ├── Vehicle.scala │ ├── VehicleProfileId.scala │ └── VehicleType.scala └── swift4 ├── .gitignore ├── .swagger-codegen-ignore ├── Cartfile ├── SwaggerClient.podspec ├── SwaggerClient └── Classes │ └── Swaggers │ ├── APIHelper.swift │ ├── APIs.swift │ ├── APIs │ ├── GeocodingAPI.swift │ ├── IsochroneAPI.swift │ ├── MapMatchingAPI.swift │ ├── MatrixAPI.swift │ ├── RouteOptimizationAPI.swift │ └── RoutingAPI.swift │ ├── AlamofireImplementations.swift │ ├── CodableHelper.swift │ ├── Configuration.swift │ ├── Extensions.swift │ ├── JSONEncodableEncoding.swift │ ├── JSONEncodingHelper.swift │ ├── Models.swift │ └── Models │ ├── Activity.swift │ ├── Address.swift │ ├── Algorithm.swift │ ├── AnyOfVehicleBreak.swift │ ├── BadRequest.swift │ ├── Configuration.swift │ ├── CostMatrix.swift │ ├── CostMatrixData.swift │ ├── CostMatrixDataInfo.swift │ ├── Detail.swift │ ├── DriveTimeBreak.swift │ ├── EncodedLineString.swift │ ├── ErrorMessage.swift │ ├── GHError.swift │ ├── GHErrorHints.swift │ ├── GeocodingLocation.swift │ ├── GeocodingPoint.swift │ ├── GeocodingResponse.swift │ ├── GroupRelation.swift │ ├── InfoResponse.swift │ ├── InlineResponse404.swift │ ├── InternalErrorMessage.swift │ ├── IsochroneResponse.swift │ ├── IsochroneResponsePolygon.swift │ ├── IsochroneResponsePolygonProperties.swift │ ├── JobId.swift │ ├── JobRelation.swift │ ├── LineString.swift │ ├── MatrixRequest.swift │ ├── MatrixResponse.swift │ ├── MatrixResponseHints.swift │ ├── ModelResponse.swift │ ├── Objective.swift │ ├── Pickup.swift │ ├── Polygon.swift │ ├── Request.swift │ ├── ResponseAddress.swift │ ├── ResponseInfo.swift │ ├── Route.swift │ ├── RoutePoint.swift │ ├── RouteResponse.swift │ ├── RouteResponsePath.swift │ ├── RouteResponsePathInstructions.swift │ ├── Routing.swift │ ├── Service.swift │ ├── Shipment.swift │ ├── SnappedWaypoint.swift │ ├── Solution.swift │ ├── SolutionUnassigned.swift │ ├── Stop.swift │ ├── SymmetricalMatrixRequest.swift │ ├── TimeWindow.swift │ ├── TimeWindowBreak.swift │ ├── Vehicle.swift │ ├── VehicleProfileId.swift │ └── VehicleType.swift └── git_push.sh /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | */.swagger-codegen/ 3 | swagger-codegen/ 4 | swagger-codegen-cli.jar 5 | swagger-codegen-cli*.jar 6 | nodejs-server/ 7 | .idea/ 8 | *iml 9 | csharp/nuget.exe 10 | java-examples/target 11 | openapi.yaml 12 | openapi_tmp.yaml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Deprecated Notice 3 | 4 | The sources in this repository are outdated. Instead create fresh sources from [within the browser](https://editor.swagger.io/?url=https://docs.graphhopper.com/openapi.json) (click on 'Generate Client') or via docker where more languages like ruby are possible: 5 | 6 | ``` 7 | docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli generate \ 8 | -i https://docs.graphhopper.com/openapi.json 9 | -g go \ 10 | -o /local/out/go 11 | ``` 12 | 13 | To improve the naming of the classes you can do the following: 14 | 15 | ```bash 16 | curl https://docs.graphhopper.com/openapi.yaml | sed -e 's/Matrix API/Matrix/g' | sed -e 's/Routing API/Routing/g' | sed -e 's/Geocoding API/Geocoding/g' | sed -e 's/Route Optimization API/Route Optimization/g' | sed -e 's/Map Matching API/Map Matching/g' | sed -e 's/Isochrone API/Isochrone/g' > openapi.yaml 17 | ``` 18 | 19 | ---- 20 | 21 | ## Old Readme 22 | 23 | See [old readme](oldreadme.md). 24 | -------------------------------------------------------------------------------- /csharp/.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /csharp/.travis.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Generated by: https://github.com/swagger-api/swagger-codegen.git 3 | # 4 | language: csharp 5 | mono: 6 | - latest 7 | solution: GraphHopper.sln 8 | script: 9 | - /bin/sh ./mono_nunit_test.sh 10 | -------------------------------------------------------------------------------- /csharp/build.bat: -------------------------------------------------------------------------------- 1 | :: Generated by: https://github.com/swagger-api/swagger-codegen.git 2 | :: 3 | 4 | @echo off 5 | 6 | SET CSCPATH=%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319 7 | 8 | if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient).DownloadFile('https://dist.nuget.org/win-x86-commandline/latest/nuget.exe', '.\nuget.exe')" 9 | .\nuget.exe install src\GraphHopper\packages.config -o packages 10 | 11 | if not exist ".\bin" mkdir bin 12 | 13 | copy packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll 14 | copy packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll bin\JsonSubTypes.dll 15 | copy packages\RestSharp.105.1.0\lib\net45\RestSharp.dll bin\RestSharp.dll 16 | %CSCPATH%\csc /reference:bin\Newtonsoft.Json.dll;bin\JsonSubTypes.dll;bin\RestSharp.dll;System.ComponentModel.DataAnnotations.dll /target:library /out:bin\GraphHopper.dll /recurse:src\GraphHopper\*.cs /doc:bin\GraphHopper.xml 17 | 18 | -------------------------------------------------------------------------------- /csharp/docs/Address.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.Address 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **LocationId** | **string** | Specifies the id of the location. | 7 | **Name** | **string** | Name of location. | [optional] 8 | **Lon** | **double?** | Longitude of location. | 9 | **Lat** | **double?** | Latitude of location. | 10 | **StreetHint** | **string** | Optional parameter. Specifies a hint for each address to better snap the coordinates (lon,lat) to road network. E.g. if there is an address or house with two or more neighboring streets you can control for which street the closest location is looked up. | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | -------------------------------------------------------------------------------- /csharp/docs/Algorithm.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.Algorithm 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **ProblemType** | **string** | | [optional] 7 | **Objective** | **string** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/AnyOfVehicleBreak.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.AnyOfVehicleBreak 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | -------------------------------------------------------------------------------- /csharp/docs/BadRequest.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.BadRequest 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Message** | **string** | Short error message | [optional] 7 | **Hints** | [**List<ErrorMessage>**](ErrorMessage.md) | More detailed information about the error. | [optional] 8 | **Status** | **string** | status | [optional] [default to "finished"] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /csharp/docs/Break.md: -------------------------------------------------------------------------------- 1 | # IO.Swagger.Model.Break 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Earliest** | **long?** | earliest start of break | [optional] 7 | **Latest** | **long?** | latest start of break | [optional] 8 | **Duration** | **long?** | duration of break | [optional] 9 | **MaxDrivingTime** | **long?** | max driving time without break | [optional] 10 | **InitialDrivingTime** | **long?** | initial driving time, i.e. the time your driver has already spent for driving | [optional] 11 | **PossibleSplit** | **List<long?>** | array of splits | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | -------------------------------------------------------------------------------- /csharp/docs/Configuration.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.Configuration 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Routing** | [**Routing**](Routing.md) | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /csharp/docs/CostMatrix.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.CostMatrix 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Type** | **string** | type of cost matrix, currently default or google are supported | [optional] 7 | **LocationIds** | **List<string>** | | [optional] 8 | **Data** | [**CostMatrixData**](CostMatrixData.md) | | [optional] 9 | **Profile** | **string** | vehicle profile or empty if catch all fallback | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | -------------------------------------------------------------------------------- /csharp/docs/CostMatrixData.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.CostMatrixData 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Times** | **List<List<long?>>** | | [optional] 7 | **Distances** | **List<List<double?>>** | | [optional] 8 | **Info** | [**CostMatrixDataInfo**](CostMatrixDataInfo.md) | | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /csharp/docs/CostMatrixDataInfo.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.CostMatrixDataInfo 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Copyrights** | **List<string>** | | [optional] 7 | **Took** | **double?** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/DriveTimeBreak.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.DriveTimeBreak 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Duration** | **long?** | Specifies the duration of the break in seconds. | 7 | **MaxDrivingTime** | **long?** | Specifies the max driving time (in a row) without break in seconds. | 8 | **InitialDrivingTime** | **long?** | Specifies the initial (current) driving time of a driver to allow dynamic adaptations in seconds. | [optional] 9 | **PossibleSplit** | **List<long?>** | Array specifying how a break duration (in seconds) can be split into several smaller breaks | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | -------------------------------------------------------------------------------- /csharp/docs/EncodedLineString.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.EncodedLineString 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | -------------------------------------------------------------------------------- /csharp/docs/ErrorMessage.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.ErrorMessage 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Message** | **string** | error message | [optional] 7 | **Details** | **string** | Details | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/GHError.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.GHError 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Message** | **string** | | [optional] 7 | **Hints** | [**List<GHErrorHints>**](GHErrorHints.md) | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/GHErrorHints.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.GHErrorHints 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Message** | **string** | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /csharp/docs/GeocodingLocation.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.GeocodingLocation 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Point** | [**GeocodingPoint**](GeocodingPoint.md) | | [optional] 7 | **OsmId** | **string** | The OSM ID of the entity | [optional] 8 | **OsmType** | **string** | N = node, R = relation, W = way | [optional] 9 | **OsmKey** | **string** | The OSM key of the entity | [optional] 10 | **Name** | **string** | The name of the entity. Can be a boundary, POI, address, etc | [optional] 11 | **Country** | **string** | The country of the address | [optional] 12 | **City** | **string** | The city of the address | [optional] 13 | **State** | **string** | The state of the address | [optional] 14 | **Street** | **string** | The street of the address | [optional] 15 | **Housenumber** | **string** | The housenumber of the address | [optional] 16 | **Postcode** | **string** | The postcode of the address | [optional] 17 | 18 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 19 | 20 | -------------------------------------------------------------------------------- /csharp/docs/GeocodingPoint.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.GeocodingPoint 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Lat** | **double?** | Latitude | [optional] 7 | **Lng** | **double?** | Longitude | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/GeocodingResponse.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.GeocodingResponse 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Hits** | [**List<GeocodingLocation>**](GeocodingLocation.md) | | [optional] 7 | **Took** | [**decimal?**](BigDecimal.md) | in ms | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/GroupRelation.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.GroupRelation 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Type** | **string** | Specifies the type of relation. It must be either of type `in_sequence` or `in_direct_sequence`. | 7 | **Groups** | **List<string>** | An array of groups that should be related | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/InfoResponse.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.InfoResponse 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Version** | **string** | The version of the GraphHopper server that provided this response. This is not related to the API version. | [optional] 7 | **Bbox** | **string** | The bounding box of the geographical area covered by this GraphHopper instance. Format: `\"minLon,minLat,maxLon,maxLat\" | [optional] 8 | **Features** | **Object** | The supported features, such as elevation, per vehicle profile. | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /csharp/docs/InlineResponse404.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.InlineResponse404 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Message** | **string** | Error message | [optional] 7 | **Status** | **string** | status | [optional] [default to "finished"] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/InternalErrorMessage.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.InternalErrorMessage 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Code** | **int?** | | [optional] [default to 500] 7 | **Message** | **string** | Details | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/IsochroneResponse.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.IsochroneResponse 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Polygons** | [**List<IsochroneResponsePolygon>**](IsochroneResponsePolygon.md) | The list of polygons in GeoJson format. It can be used e.g. in the Leaflet framework: ``` L.geoJson(json.polygons).addTo(map) ``` The number of polygon is identical to the specified buckets in the query. Every polygon contains the bucket number in the properties section of the GeoJson. | [optional] 7 | **Copyrights** | **List<string>** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/IsochroneResponsePolygon.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.IsochroneResponsePolygon 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Properties** | [**IsochroneResponsePolygonProperties**](IsochroneResponsePolygonProperties.md) | | [optional] 7 | **Type** | **string** | | [optional] 8 | **Geometry** | [**Polygon**](Polygon.md) | | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /csharp/docs/IsochroneResponsePolygonGeometry.md: -------------------------------------------------------------------------------- 1 | # IO.Swagger.Model.IsochroneResponsePolygonGeometry 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Type** | **string** | | [optional] 7 | **Coordinates** | [**List<ResponseCoordinatesArray>**](ResponseCoordinatesArray.md) | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/IsochroneResponsePolygonProperties.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.IsochroneResponsePolygonProperties 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Bucket** | **int?** | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /csharp/docs/JobId.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.JobId 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **_JobId** | **Guid?** | UUID. Unique id for your job/request with which you can fetch your solution | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /csharp/docs/LineString.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.LineString 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Type** | **string** | | [optional] 7 | **Coordinates** | **List<List<decimal?>>** | A list of coordinate pairs or triples, `[lon,lat]` or `[lon,lat,elevation]`. | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/Location.md: -------------------------------------------------------------------------------- 1 | # IO.Swagger.Model.Location 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Lon** | **double?** | longitude | [optional] 7 | **Lat** | **double?** | latitude | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/Pickup.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.Pickup 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | -------------------------------------------------------------------------------- /csharp/docs/Polygon.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.Polygon 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Type** | **string** | | [optional] 7 | **Coordinates** | **List<List<List<decimal?>>>** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/Relation.md: -------------------------------------------------------------------------------- 1 | # IO.Swagger.Model.Relation 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Type** | **string** | identifier of relation | [optional] 7 | **Ids** | **List<string>** | An array of ids that should be related | [optional] 8 | **VehicleId** | **string** | vehicle id | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /csharp/docs/Response.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.Response 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Copyrights** | **List<string>** | | [optional] 7 | **JobId** | **Guid?** | UUID. Unique identifier of job - which you get when posting your request to the large problem solver | [optional] 8 | **Status** | **string** | Indicates the current status of the job | [optional] 9 | **WaitingTimeInQueue** | **long?** | Waiting time in ms | [optional] 10 | **ProcessingTime** | **long?** | Processing time in ms. If job is still waiting in queue, processing_time is 0 | [optional] 11 | **Solution** | [**Solution**](Solution.md) | | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | -------------------------------------------------------------------------------- /csharp/docs/ResponseAddress.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.ResponseAddress 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **LocationId** | **string** | Specifies the id of the location. | [optional] 7 | **Name** | **string** | Name of location. | [optional] 8 | **Lon** | **double?** | Longitude of location. | [optional] 9 | **Lat** | **double?** | Latitude of location. | [optional] 10 | **StreetHint** | **string** | Optional parameter. Specifies a hint for each address to better snap the coordinates (lon,lat) to road network. E.g. if there is an address or house with two or more neighboring streets you can control for which street the closest location is looked up. | [optional] 11 | **SnappedWaypoint** | [**SnappedWaypoint**](SnappedWaypoint.md) | | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | -------------------------------------------------------------------------------- /csharp/docs/ResponseCoordinates.md: -------------------------------------------------------------------------------- 1 | # IO.Swagger.Model.ResponseCoordinates 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Coordinates** | [**ResponseCoordinatesArray**](ResponseCoordinatesArray.md) | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /csharp/docs/ResponseCoordinatesArray.md: -------------------------------------------------------------------------------- 1 | # IO.Swagger.Model.ResponseCoordinatesArray 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | -------------------------------------------------------------------------------- /csharp/docs/ResponseInfo.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.ResponseInfo 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Copyrights** | **List<string>** | Attribution according to our documentation is necessary if no white-label option included. | [optional] 7 | **Took** | **double?** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/ResponseInstructions.md: -------------------------------------------------------------------------------- 1 | # IO.Swagger.Model.ResponseInstructions 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | -------------------------------------------------------------------------------- /csharp/docs/Route.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.Route 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **VehicleId** | **string** | Id of vehicle that operates route | [optional] 7 | **Distance** | **long?** | Distance of route in meter | [optional] 8 | **TransportTime** | **long?** | Transport time of route in seconds | [optional] 9 | **CompletionTime** | **long?** | Completion time of route in seconds | [optional] 10 | **WaitingTime** | **long?** | Waiting time of route in seconds | [optional] 11 | **ServiceDuration** | **long?** | Service duration of route in seconds | [optional] 12 | **PreparationTime** | **long?** | Preparation time of route in seconds | [optional] 13 | **Activities** | [**List<Activity>**](Activity.md) | Array of activities | [optional] 14 | **Points** | [**List<RoutePoint>**](RoutePoint.md) | Array of route planning points | [optional] 15 | 16 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 17 | 18 | -------------------------------------------------------------------------------- /csharp/docs/RoutePoint.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.RoutePoint 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Type** | **string** | | [optional] 7 | **Coordinates** | **List<Object>** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/RouteResponse.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.RouteResponse 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Paths** | [**List<RouteResponsePath>**](RouteResponsePath.md) | | [optional] 7 | **Info** | [**ResponseInfo**](ResponseInfo.md) | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/SnappedWaypoint.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.SnappedWaypoint 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Lon** | **double?** | Longitude of location. | [optional] 7 | **Lat** | **double?** | Latitude of location. | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/SolutionUnassigned.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.SolutionUnassigned 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Services** | **List<string>** | An array of ids of unassigned services | [optional] 7 | **Shipments** | **List<string>** | An array of ids of unassigned shipments | [optional] 8 | **Breaks** | **List<string>** | An array of ids of unassigned breaks | [optional] 9 | **Details** | [**List<Detail>**](Detail.md) | An array of details, i.e. reason for unassigned services or shipments | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | -------------------------------------------------------------------------------- /csharp/docs/TimeWindow.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.TimeWindow 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Earliest** | **long?** | Specifies the opening time of the time window in seconds, i.e. the earliest time the service can start. | [optional] [default to 0F] 7 | **Latest** | **long?** | Specifies the closing time of the time window in seconds, i.e. the latest time the service can start. | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /csharp/docs/TimeWindowBreak.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.TimeWindowBreak 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **Earliest** | **long?** | Specifies the earliest start time of the break in seconds. | 7 | **Latest** | **long?** | Specifies the latest start time of break in seconds. | 8 | **Duration** | **long?** | Specifies the duration of the break in seconds. | 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /csharp/docs/VehicleProfileId.md: -------------------------------------------------------------------------------- 1 | # GraphHopper.Model.VehicleProfileId 2 | ## Properties 3 | 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | -------------------------------------------------------------------------------- /csharp/mono_nunit_test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Generated by: https://github.com/swagger-api/swagger-codegen.git 4 | # 5 | 6 | wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe 7 | mozroots --import --sync 8 | 9 | echo "[INFO] remove bin/Debug/SwaggerClientTest.dll" 10 | rm src/GraphHopper.Test/bin/Debug/GraphHopper.Test.dll 2> /dev/null 11 | 12 | echo "[INFO] install NUnit runners via NuGet" 13 | wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe 14 | mozroots --import --sync 15 | mono nuget.exe install src/GraphHopper.Test/packages.config -o packages 16 | 17 | echo "[INFO] Install NUnit runners via NuGet" 18 | mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory packages 19 | 20 | echo "[INFO] Build the solution and run the unit test" 21 | xbuild GraphHopper.sln && \ 22 | mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/GraphHopper.Test/bin/Debug/GraphHopper.Test.dll 23 | -------------------------------------------------------------------------------- /csharp/src/GraphHopper.Test/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /csharp/src/GraphHopper/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /csharp/src/IO.Swagger.Test/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /csharp/src/IO.Swagger/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /haskell/.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /haskell/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /haskell/stack.yaml: -------------------------------------------------------------------------------- 1 | resolver: lts-8.5 2 | extra-deps: 3 | - servant-0.9.1.1 4 | - servant-client-0.9.1.1 5 | - servant-server-0.9.1.1 6 | - http-api-data-0.3.5 7 | packages: 8 | - '.' 9 | -------------------------------------------------------------------------------- /java-examples/src/main/java/com/graphhopper/directions/api/examples/GHApiUtil.java: -------------------------------------------------------------------------------- 1 | package com.graphhopper.directions.api.examples; 2 | 3 | import com.graphhopper.directions.api.client.ApiClient; 4 | 5 | public class GHApiUtil { 6 | 7 | public static ApiClient createClient() { 8 | ApiClient client = new ApiClient().setDebugging(true); 9 | client.setApiKey(System.getProperty("graphhopper.key", "")); 10 | return client; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /java-examples/src/main/java/com/graphhopper/directions/api/examples/GeocodingExample.java: -------------------------------------------------------------------------------- 1 | package com.graphhopper.directions.api.examples; 2 | 3 | import com.graphhopper.directions.api.client.api.GeocodingApi; 4 | import com.graphhopper.directions.api.client.model.GeocodingLocation; 5 | import com.graphhopper.directions.api.client.model.GeocodingResponse; 6 | 7 | /** 8 | * A simple geocoding request. 9 | */ 10 | public class GeocodingExample { 11 | public static void main(String[] args) { 12 | new GeocodingExample().start(); 13 | } 14 | 15 | private void start() { 16 | GeocodingApi geocoding = new GeocodingApi(); 17 | geocoding.setApiClient(GHApiUtil.createClient()); 18 | try { 19 | GeocodingResponse geocodingResponse = geocoding.getGeocode("bautzen", "de", 5, false, false, null, null); 20 | GeocodingLocation loc0 = geocodingResponse.getHits().get(0); 21 | System.out.println(loc0.getPoint() + ", " + loc0.getName() + ", " + loc0.getCountry() + ", " + loc0.getState()); 22 | } catch (Exception ex) { 23 | throw new RuntimeException(ex); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /java/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Mobile Tools for Java (J2ME) 4 | .mtj.tmp/ 5 | 6 | # Package Files # 7 | *.jar 8 | *.war 9 | *.ear 10 | 11 | # exclude jar for gradle wrapper 12 | !gradle/wrapper/*.jar 13 | 14 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 15 | hs_err_pid* 16 | 17 | # build files 18 | **/target 19 | target 20 | .gradle 21 | build 22 | -------------------------------------------------------------------------------- /java/.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /java/.travis.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Generated by: https://github.com/swagger-api/swagger-codegen.git 3 | # 4 | language: java 5 | jdk: 6 | - oraclejdk8 7 | - oraclejdk7 8 | before_install: 9 | # ensure gradlew has proper permission 10 | - chmod a+x ./gradlew 11 | script: 12 | # test using maven 13 | - mvn test 14 | # uncomment below to test using gradle 15 | # - gradle test 16 | # uncomment below to test using sbt 17 | # - sbt test 18 | -------------------------------------------------------------------------------- /java/build.sbt: -------------------------------------------------------------------------------- 1 | lazy val root = (project in file(".")). 2 | settings( 3 | organization := "com.graphhopper", 4 | name := "directions-api-client", 5 | version := "0.11-SNAPSHOT", 6 | scalaVersion := "2.11.4", 7 | scalacOptions ++= Seq("-feature"), 8 | javacOptions in compile ++= Seq("-Xlint:deprecation"), 9 | publishArtifact in (Compile, packageDoc) := false, 10 | resolvers += Resolver.mavenLocal, 11 | libraryDependencies ++= Seq( 12 | "io.swagger" % "swagger-annotations" % "1.5.15", 13 | "com.squareup.okhttp" % "okhttp" % "2.7.5", 14 | "com.squareup.okhttp" % "logging-interceptor" % "2.7.5", 15 | "com.google.code.gson" % "gson" % "2.8.1", 16 | "org.threeten" % "threetenbp" % "1.3.5" % "compile", 17 | "io.gsonfire" % "gson-fire" % "1.8.0" % "compile", 18 | "junit" % "junit" % "4.12" % "test", 19 | "com.novocode" % "junit-interface" % "0.10" % "test" 20 | ) 21 | ) 22 | -------------------------------------------------------------------------------- /java/docs/Address.md: -------------------------------------------------------------------------------- 1 | # Address 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **locationId** | **String** | Specifies the id of the location. | 7 | **name** | **String** | Name of location. | [optional] 8 | **lon** | **Double** | Longitude of location. | 9 | **lat** | **Double** | Latitude of location. | 10 | **streetHint** | **String** | Optional parameter. Specifies a hint for each address to better snap the coordinates (lon,lat) to road network. E.g. if there is an address or house with two or more neighboring streets you can control for which street the closest location is looked up. | [optional] 11 | -------------------------------------------------------------------------------- /java/docs/Algorithm.md: -------------------------------------------------------------------------------- 1 | # Algorithm 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **problemType** | [**ProblemTypeEnum**](#ProblemTypeEnum) | | [optional] 7 | **objective** | [**ObjectiveEnum**](#ObjectiveEnum) | | [optional] 8 | 9 | 10 | ## Enum: ProblemTypeEnum 11 | Name | Value 12 | ---- | ----- 13 | MIN | "min" 14 | MIN_MAX | "min-max" 15 | 16 | 17 | ## Enum: ObjectiveEnum 18 | Name | Value 19 | ---- | ----- 20 | TRANSPORT_TIME | "transport_time" 21 | COMPLETION_TIME | "completion_time" 22 | -------------------------------------------------------------------------------- /java/docs/AnyOfVehicleModelBreak.md: -------------------------------------------------------------------------------- 1 | # AnyOfVehicleModelBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | -------------------------------------------------------------------------------- /java/docs/BadRequest.md: -------------------------------------------------------------------------------- 1 | # BadRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **String** | Short error message | [optional] 7 | **hints** | [**List<ErrorMessage>**](ErrorMessage.md) | More detailed information about the error. | [optional] 8 | **status** | **String** | status | [optional] 9 | -------------------------------------------------------------------------------- /java/docs/CostMatrix.md: -------------------------------------------------------------------------------- 1 | # CostMatrix 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | [**TypeEnum**](#TypeEnum) | type of cost matrix, currently default or google are supported | [optional] 7 | **locationIds** | **List<String>** | | [optional] 8 | **data** | [**CostMatrixData**](CostMatrixData.md) | | [optional] 9 | **profile** | **String** | vehicle profile or empty if catch all fallback | [optional] 10 | 11 | 12 | ## Enum: TypeEnum 13 | Name | Value 14 | ---- | ----- 15 | DEFAULT | "default" 16 | GOOGLE | "google" 17 | -------------------------------------------------------------------------------- /java/docs/CostMatrixData.md: -------------------------------------------------------------------------------- 1 | # CostMatrixData 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **times** | [**List<List<Long>>**](List.md) | | [optional] 7 | **distances** | [**List<List<Double>>**](List.md) | | [optional] 8 | **info** | [**CostMatrixDataInfo**](CostMatrixDataInfo.md) | | [optional] 9 | -------------------------------------------------------------------------------- /java/docs/CostMatrixDataInfo.md: -------------------------------------------------------------------------------- 1 | # CostMatrixDataInfo 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **copyrights** | **List<String>** | | [optional] 7 | **took** | **Double** | | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/Detail.md: -------------------------------------------------------------------------------- 1 | # Detail 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **String** | Id of unassigned service/shipment | [optional] 7 | **code** | **Integer** | Reason code Code | Reason :------|:--------- 1 | cannot serve required skill 2 | cannot be visited within time window 3 | does not fit into any vehicle due to capacity 4 | cannot be assigned due to max distance constraint of vehicles 21 | could not be assigned due to relation constraint 22 | could not be assigned due to allowed vehicle constraint 23 | could not be assigned due to max-time-in-vehicle constraint 24 | driver does not need a break 25 | could not be assigned due to disallowed vehicle constraint 26 | could not be assigned due to max drive time constraint 27 | could not be assigned due to max job constraint 28 | could not be assigned due to max activity constraint 50 | underlying location cannot be accessed over road network by at least one vehicle | [optional] 8 | **reason** | **String** | Human readable reason as listed above | [optional] 9 | -------------------------------------------------------------------------------- /java/docs/DriveTimeBreak.md: -------------------------------------------------------------------------------- 1 | # DriveTimeBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **duration** | **Long** | Specifies the duration of the break in seconds. | 7 | **maxDrivingTime** | **Long** | Specifies the max driving time (in a row) without break in seconds. | 8 | **initialDrivingTime** | **Long** | Specifies the initial (current) driving time of a driver to allow dynamic adaptations in seconds. | [optional] 9 | **possibleSplit** | **List<Long>** | Array specifying how a break duration (in seconds) can be split into several smaller breaks | [optional] 10 | -------------------------------------------------------------------------------- /java/docs/ErrorMessage.md: -------------------------------------------------------------------------------- 1 | # ErrorMessage 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **String** | error message | [optional] 7 | **details** | **String** | Details | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/GHError.md: -------------------------------------------------------------------------------- 1 | # GHError 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **String** | | [optional] 7 | **hints** | [**List<GHErrorHints>**](GHErrorHints.md) | | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/GHErrorHints.md: -------------------------------------------------------------------------------- 1 | # GHErrorHints 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **String** | | [optional] 7 | -------------------------------------------------------------------------------- /java/docs/GeocodingLocation.md: -------------------------------------------------------------------------------- 1 | # GeocodingLocation 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **point** | [**GeocodingPoint**](GeocodingPoint.md) | | [optional] 7 | **osmId** | **String** | The OSM ID of the entity | [optional] 8 | **osmType** | **String** | N = node, R = relation, W = way | [optional] 9 | **osmKey** | **String** | The OSM key of the entity | [optional] 10 | **name** | **String** | The name of the entity. Can be a boundary, POI, address, etc | [optional] 11 | **country** | **String** | The country of the address | [optional] 12 | **city** | **String** | The city of the address | [optional] 13 | **state** | **String** | The state of the address | [optional] 14 | **street** | **String** | The street of the address | [optional] 15 | **housenumber** | **String** | The housenumber of the address | [optional] 16 | **postcode** | **String** | The postcode of the address | [optional] 17 | -------------------------------------------------------------------------------- /java/docs/GeocodingPoint.md: -------------------------------------------------------------------------------- 1 | # GeocodingPoint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **lat** | **Double** | Latitude | [optional] 7 | **lng** | **Double** | Longitude | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/GeocodingResponse.md: -------------------------------------------------------------------------------- 1 | # GeocodingResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **hits** | [**List<GeocodingLocation>**](GeocodingLocation.md) | | [optional] 7 | **took** | [**BigDecimal**](BigDecimal.md) | in ms | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/GroupRelation.md: -------------------------------------------------------------------------------- 1 | # GroupRelation 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **String** | Specifies the type of relation. It must be either of type `in_sequence` or `in_direct_sequence`. | 7 | **groups** | **List<String>** | An array of groups that should be related | 8 | -------------------------------------------------------------------------------- /java/docs/InfoResponse.md: -------------------------------------------------------------------------------- 1 | # InfoResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **version** | **String** | The version of the GraphHopper server that provided this response. This is not related to the API version. | [optional] 7 | **bbox** | **String** | The bounding box of the geographical area covered by this GraphHopper instance. Format: `\"minLon,minLat,maxLon,maxLat\" | [optional] 8 | **features** | **Object** | The supported features, such as elevation, per vehicle profile. | [optional] 9 | -------------------------------------------------------------------------------- /java/docs/InlineResponse404.md: -------------------------------------------------------------------------------- 1 | # InlineResponse404 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **String** | Error message | [optional] 7 | **status** | **String** | status | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/InternalErrorMessage.md: -------------------------------------------------------------------------------- 1 | # InternalErrorMessage 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **code** | **Integer** | | [optional] 7 | **message** | **String** | Details | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/IsochroneResponse.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **polygons** | [**List<IsochroneResponsePolygon>**](IsochroneResponsePolygon.md) | The list of polygons in GeoJson format. It can be used e.g. in the Leaflet framework: ``` L.geoJson(json.polygons).addTo(map) ``` The number of polygon is identical to the specified buckets in the query. Every polygon contains the bucket number in the properties section of the GeoJson. | [optional] 7 | **copyrights** | **List<String>** | | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/IsochroneResponsePolygon.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponsePolygon 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **properties** | [**IsochroneResponsePolygonProperties**](IsochroneResponsePolygonProperties.md) | | [optional] 7 | **type** | **String** | | [optional] 8 | **geometry** | [**Polygon**](Polygon.md) | | [optional] 9 | -------------------------------------------------------------------------------- /java/docs/IsochroneResponsePolygonGeometry.md: -------------------------------------------------------------------------------- 1 | 2 | # IsochroneResponsePolygonGeometry 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **type** | **String** | | [optional] 8 | **coordinates** | [**List<ResponseCoordinatesArray>**](ResponseCoordinatesArray.md) | | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /java/docs/IsochroneResponsePolygonProperties.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponsePolygonProperties 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **bucket** | **Integer** | | [optional] 7 | -------------------------------------------------------------------------------- /java/docs/JobId.md: -------------------------------------------------------------------------------- 1 | # JobId 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **jobId** | [**UUID**](UUID.md) | UUID. Unique id for your job/request with which you can fetch your solution | [optional] 7 | -------------------------------------------------------------------------------- /java/docs/LineString.md: -------------------------------------------------------------------------------- 1 | # LineString 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **String** | | [optional] 7 | **coordinates** | [**List<List<BigDecimal>>**](List.md) | A list of coordinate pairs or triples, `[lon,lat]` or `[lon,lat,elevation]`. | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/Location.md: -------------------------------------------------------------------------------- 1 | 2 | # Location 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **lon** | **Double** | longitude | [optional] 8 | **lat** | **Double** | latitude | [optional] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /java/docs/MatrixResponseHints.md: -------------------------------------------------------------------------------- 1 | # MatrixResponseHints 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **String** | Short description of this hint | [optional] 7 | **details** | **String** | Details of this hint | [optional] 8 | **invalidFromPoints** | [**List<BigDecimal>**](BigDecimal.md) | Optional. An array of from_point indices of points that could not be found. Will only be added if `fail_fast=false` and some `from_point`s were not found.` | [optional] 9 | **invalidToPoints** | [**List<BigDecimal>**](BigDecimal.md) | Optional. An array of to_point indices of points that could not be found. Will only be added if `fail_fast=false` and some `to_point`s were not found.` | [optional] 10 | **pointPairs** | [**List<List<BigDecimal>>**](List.md) | Optional. An array of two-element arrays representing the from/to_point indices of points for which no connection could be found. Will only be added if `fail_fast=false` and some connections were not found. | [optional] 11 | -------------------------------------------------------------------------------- /java/docs/ModelBreak.md: -------------------------------------------------------------------------------- 1 | 2 | # ModelBreak 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **earliest** | **Long** | earliest start of break | [optional] 8 | **latest** | **Long** | latest start of break | [optional] 9 | **duration** | **Long** | duration of break | [optional] 10 | **maxDrivingTime** | **Long** | max driving time without break | [optional] 11 | **initialDrivingTime** | **Long** | initial driving time, i.e. the time your driver has already spent for driving | [optional] 12 | **possibleSplit** | **List<Long>** | array of splits | [optional] 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /java/docs/ModelConfiguration.md: -------------------------------------------------------------------------------- 1 | # ModelConfiguration 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **routing** | [**Routing**](Routing.md) | | [optional] 7 | -------------------------------------------------------------------------------- /java/docs/Pickup.md: -------------------------------------------------------------------------------- 1 | # Pickup 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | -------------------------------------------------------------------------------- /java/docs/Polygon.md: -------------------------------------------------------------------------------- 1 | # Polygon 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **String** | | [optional] 7 | **coordinates** | [**List<List<List<BigDecimal>>>**](List.md) | | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/Relation.md: -------------------------------------------------------------------------------- 1 | 2 | # Relation 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **type** | **String** | identifier of relation | [optional] 8 | **ids** | **List<String>** | An array of ids that should be related | [optional] 9 | **vehicleId** | **String** | vehicle id | [optional] 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /java/docs/Response.md: -------------------------------------------------------------------------------- 1 | # Response 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **copyrights** | **List<String>** | | [optional] 7 | **jobId** | [**UUID**](UUID.md) | UUID. Unique identifier of job - which you get when posting your request to the large problem solver | [optional] 8 | **status** | [**StatusEnum**](#StatusEnum) | Indicates the current status of the job | [optional] 9 | **waitingTimeInQueue** | **Long** | Waiting time in ms | [optional] 10 | **processingTime** | **Long** | Processing time in ms. If job is still waiting in queue, processing_time is 0 | [optional] 11 | **solution** | [**Solution**](Solution.md) | | [optional] 12 | 13 | 14 | ## Enum: StatusEnum 15 | Name | Value 16 | ---- | ----- 17 | WAITING_IN_QUEUE | "waiting_in_queue" 18 | PROCESSING | "processing" 19 | FINISHED | "finished" 20 | -------------------------------------------------------------------------------- /java/docs/ResponseAddress.md: -------------------------------------------------------------------------------- 1 | # ResponseAddress 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **locationId** | **String** | Specifies the id of the location. | [optional] 7 | **name** | **String** | Name of location. | [optional] 8 | **lon** | **Double** | Longitude of location. | [optional] 9 | **lat** | **Double** | Latitude of location. | [optional] 10 | **streetHint** | **String** | Optional parameter. Specifies a hint for each address to better snap the coordinates (lon,lat) to road network. E.g. if there is an address or house with two or more neighboring streets you can control for which street the closest location is looked up. | [optional] 11 | **snappedWaypoint** | [**SnappedWaypoint**](SnappedWaypoint.md) | | [optional] 12 | -------------------------------------------------------------------------------- /java/docs/ResponseCoordinates.md: -------------------------------------------------------------------------------- 1 | 2 | # ResponseCoordinates 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **coordinates** | [**ResponseCoordinatesArray**](ResponseCoordinatesArray.md) | | [optional] 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /java/docs/ResponseCoordinatesArray.md: -------------------------------------------------------------------------------- 1 | 2 | # ResponseCoordinatesArray 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /java/docs/ResponseInfo.md: -------------------------------------------------------------------------------- 1 | # ResponseInfo 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **copyrights** | **List<String>** | Attribution according to our documentation is necessary if no white-label option included. | [optional] 7 | **took** | **Double** | | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/ResponseInstructions.md: -------------------------------------------------------------------------------- 1 | 2 | # ResponseInstructions 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /java/docs/Route.md: -------------------------------------------------------------------------------- 1 | # Route 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **vehicleId** | **String** | Id of vehicle that operates route | [optional] 7 | **distance** | **Long** | Distance of route in meter | [optional] 8 | **transportTime** | **Long** | Transport time of route in seconds | [optional] 9 | **completionTime** | **Long** | Completion time of route in seconds | [optional] 10 | **waitingTime** | **Long** | Waiting time of route in seconds | [optional] 11 | **serviceDuration** | **Long** | Service duration of route in seconds | [optional] 12 | **preparationTime** | **Long** | Preparation time of route in seconds | [optional] 13 | **activities** | [**List<Activity>**](Activity.md) | Array of activities | [optional] 14 | **points** | [**List<RoutePoint>**](RoutePoint.md) | Array of route planning points | [optional] 15 | -------------------------------------------------------------------------------- /java/docs/RoutePoint.md: -------------------------------------------------------------------------------- 1 | # RoutePoint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **String** | | [optional] 7 | **coordinates** | **List<Object>** | | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/RouteResponse.md: -------------------------------------------------------------------------------- 1 | # RouteResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **paths** | [**List<RouteResponsePath>**](RouteResponsePath.md) | | [optional] 7 | **info** | [**ResponseInfo**](ResponseInfo.md) | | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/SnappedWaypoint.md: -------------------------------------------------------------------------------- 1 | # SnappedWaypoint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **lon** | **Double** | Longitude of location. | [optional] 7 | **lat** | **Double** | Latitude of location. | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/SolutionUnassigned.md: -------------------------------------------------------------------------------- 1 | # SolutionUnassigned 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **services** | **List<String>** | An array of ids of unassigned services | [optional] 7 | **shipments** | **List<String>** | An array of ids of unassigned shipments | [optional] 8 | **breaks** | **List<String>** | An array of ids of unassigned breaks | [optional] 9 | **details** | [**List<Detail>**](Detail.md) | An array of details, i.e. reason for unassigned services or shipments | [optional] 10 | -------------------------------------------------------------------------------- /java/docs/Stop.md: -------------------------------------------------------------------------------- 1 | # Stop 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **address** | [**Address**](Address.md) | | [optional] 7 | **duration** | **Long** | Specifies the duration of the pickup or delivery in seconds, e.g. how long it takes unload items at the customer site. | [optional] 8 | **preparationTime** | **Long** | Specifies the preparation time in seconds. It can be used to model parking lot search time since if you have 3 identical locations in a row, it only falls due once. | [optional] 9 | **timeWindows** | [**List<TimeWindow>**](TimeWindow.md) | Specifies an array of time window objects (see time window object below). For example, if an item needs to be delivered between 7am and 10am then specify the array as follows: [ { \"earliest\": 25200, \"latest\" : 32400 } ] (starting the day from 0 in seconds). | [optional] 10 | **group** | **String** | Group this stop belongs to | [optional] 11 | -------------------------------------------------------------------------------- /java/docs/TimeWindow.md: -------------------------------------------------------------------------------- 1 | # TimeWindow 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **earliest** | **Long** | Specifies the opening time of the time window in seconds, i.e. the earliest time the service can start. | [optional] 7 | **latest** | **Long** | Specifies the closing time of the time window in seconds, i.e. the latest time the service can start. | [optional] 8 | -------------------------------------------------------------------------------- /java/docs/TimeWindowBreak.md: -------------------------------------------------------------------------------- 1 | # TimeWindowBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **earliest** | **Long** | Specifies the earliest start time of the break in seconds. | 7 | **latest** | **Long** | Specifies the latest start time of break in seconds. | 8 | **duration** | **Long** | Specifies the duration of the break in seconds. | 9 | -------------------------------------------------------------------------------- /java/docs/VehicleProfileId.md: -------------------------------------------------------------------------------- 1 | # VehicleProfileId 2 | 3 | ## Enum 4 | 5 | * `CAR` (value: `"car"`) 6 | * `BIKE` (value: `"bike"`) 7 | * `FOOT` (value: `"foot"`) 8 | * `HIKE` (value: `"hike"`) 9 | * `MTB` (value: `"mtb"`) 10 | * `RACINGBIKE` (value: `"racingbike"`) 11 | * `SCOOTER` (value: `"scooter"`) 12 | * `TRUCK` (value: `"truck"`) 13 | * `SMALL_TRUCK` (value: `"small_truck"`) 14 | -------------------------------------------------------------------------------- /java/gradle.properties: -------------------------------------------------------------------------------- 1 | # Uncomment to build for Android 2 | #target = android -------------------------------------------------------------------------------- /java/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphhopper/directions-api-clients/2abbeb16a23f4dc5aaaaff45d17750f2b65e6502/java/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /java/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue May 17 23:08:05 CST 2016 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip 7 | -------------------------------------------------------------------------------- /java/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = "directions-api-client" -------------------------------------------------------------------------------- /java/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /kotlin-client/.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /kotlin-client/build.gradle: -------------------------------------------------------------------------------- 1 | group 'io.swagger' 2 | version '1.0.0' 3 | 4 | task wrapper(type: Wrapper) { 5 | gradleVersion = '3.3' 6 | distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip" 7 | } 8 | 9 | buildscript { 10 | ext.kotlin_version = '1.1.2' 11 | 12 | repositories { 13 | mavenCentral() 14 | } 15 | dependencies { 16 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 17 | } 18 | } 19 | 20 | apply plugin: 'kotlin' 21 | 22 | repositories { 23 | mavenCentral() 24 | } 25 | 26 | dependencies { 27 | compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version" 28 | compile "com.squareup.moshi:moshi-kotlin:1.5.0" 29 | compile "com.squareup.moshi:moshi-adapters:1.5.0" 30 | compile "com.squareup.okhttp3:okhttp:3.8.0" 31 | compile "org.threeten:threetenbp:1.3.6" 32 | testCompile "io.kotlintest:kotlintest:2.0.2" 33 | } 34 | -------------------------------------------------------------------------------- /kotlin-client/docs/Address.md: -------------------------------------------------------------------------------- 1 | # Address 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **locationId** | [**kotlin.String**](.md) | Specifies the id of the location. | 7 | **name** | [**kotlin.String**](.md) | Name of location. | [optional] 8 | **lon** | [**kotlin.Double**](.md) | Longitude of location. | 9 | **lat** | [**kotlin.Double**](.md) | Latitude of location. | 10 | **streetHint** | [**kotlin.String**](.md) | Optional parameter. Specifies a hint for each address to better snap the coordinates (lon,lat) to road network. E.g. if there is an address or house with two or more neighboring streets you can control for which street the closest location is looked up. | [optional] 11 | -------------------------------------------------------------------------------- /kotlin-client/docs/Algorithm.md: -------------------------------------------------------------------------------- 1 | # Algorithm 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **problemType** | [**inline**](#ProblemTypeEnum) | | [optional] 7 | **objective** | [**inline**](#ObjectiveEnum) | | [optional] 8 | 9 | 10 | ## Enum: problem_type 11 | Name | Value 12 | ---- | ----- 13 | problemType | min, min-max 14 | 15 | 16 | ## Enum: objective 17 | Name | Value 18 | ---- | ----- 19 | objective | transport_time, completion_time 20 | -------------------------------------------------------------------------------- /kotlin-client/docs/AnyOfVehicleBacktickbreakBacktick.md: -------------------------------------------------------------------------------- 1 | # AnyOfVehicleBacktickbreakBacktick 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | -------------------------------------------------------------------------------- /kotlin-client/docs/BadRequest.md: -------------------------------------------------------------------------------- 1 | # BadRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | [**kotlin.String**](.md) | Short error message | [optional] 7 | **hints** | [**kotlin.Array<ErrorMessage>**](ErrorMessage.md) | More detailed information about the error. | [optional] 8 | **status** | [**kotlin.String**](.md) | status | [optional] 9 | -------------------------------------------------------------------------------- /kotlin-client/docs/Configuration.md: -------------------------------------------------------------------------------- 1 | # Configuration 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **routing** | [**Routing**](Routing.md) | | [optional] 7 | -------------------------------------------------------------------------------- /kotlin-client/docs/CostMatrix.md: -------------------------------------------------------------------------------- 1 | # CostMatrix 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | [**inline**](#TypeEnum) | type of cost matrix, currently default or google are supported | [optional] 7 | **locationIds** | [**kotlin.Array<kotlin.String>**](.md) | | [optional] 8 | **`data`** | [**CostMatrixData**](CostMatrixData.md) | | [optional] 9 | **profile** | [**kotlin.String**](.md) | vehicle profile or empty if catch all fallback | [optional] 10 | 11 | 12 | ## Enum: type 13 | Name | Value 14 | ---- | ----- 15 | type | default, google 16 | -------------------------------------------------------------------------------- /kotlin-client/docs/CostMatrix_data.md: -------------------------------------------------------------------------------- 1 | # CostMatrixData 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **times** | [**kotlin.Array<kotlin.Array<kotlin.Long>>**](.md) | | [optional] 7 | **distances** | [**kotlin.Array<kotlin.Array<kotlin.Double>>**](.md) | | [optional] 8 | **info** | [**CostMatrixDataInfo**](CostMatrixDataInfo.md) | | [optional] 9 | -------------------------------------------------------------------------------- /kotlin-client/docs/CostMatrix_data_info.md: -------------------------------------------------------------------------------- 1 | # CostMatrixDataInfo 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **copyrights** | [**kotlin.Array<kotlin.String>**](.md) | | [optional] 7 | **took** | [**kotlin.Double**](.md) | | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/Detail.md: -------------------------------------------------------------------------------- 1 | # Detail 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | [**kotlin.String**](.md) | Id of unassigned service/shipment | [optional] 7 | **code** | [**kotlin.Int**](.md) | Reason code Code | Reason :------|:--------- 1 | cannot serve required skill 2 | cannot be visited within time window 3 | does not fit into any vehicle due to capacity 4 | cannot be assigned due to max distance constraint of vehicles 21 | could not be assigned due to relation constraint 22 | could not be assigned due to allowed vehicle constraint 23 | could not be assigned due to max-time-in-vehicle constraint 24 | driver does not need a break 25 | could not be assigned due to disallowed vehicle constraint 26 | could not be assigned due to max drive time constraint 27 | could not be assigned due to max job constraint 28 | could not be assigned due to max activity constraint 50 | underlying location cannot be accessed over road network by at least one vehicle | [optional] 8 | **reason** | [**kotlin.String**](.md) | Human readable reason as listed above | [optional] 9 | -------------------------------------------------------------------------------- /kotlin-client/docs/DriveTimeBreak.md: -------------------------------------------------------------------------------- 1 | # DriveTimeBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **duration** | [**kotlin.Long**](.md) | Specifies the duration of the break in seconds. | 7 | **maxDrivingTime** | [**kotlin.Long**](.md) | Specifies the max driving time (in a row) without break in seconds. | 8 | **initialDrivingTime** | [**kotlin.Long**](.md) | Specifies the initial (current) driving time of a driver to allow dynamic adaptations in seconds. | [optional] 9 | **possibleSplit** | [**kotlin.Array<kotlin.Long>**](.md) | Array specifying how a break duration (in seconds) can be split into several smaller breaks | [optional] 10 | -------------------------------------------------------------------------------- /kotlin-client/docs/EncodedLineString.md: -------------------------------------------------------------------------------- 1 | # EncodedLineString 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | -------------------------------------------------------------------------------- /kotlin-client/docs/ErrorMessage.md: -------------------------------------------------------------------------------- 1 | # ErrorMessage 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | [**kotlin.String**](.md) | error message | [optional] 7 | **details** | [**kotlin.String**](.md) | Details | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/GHError.md: -------------------------------------------------------------------------------- 1 | # GHError 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | [**kotlin.String**](.md) | | [optional] 7 | **hints** | [**kotlin.Array<GHErrorHints>**](GHErrorHints.md) | | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/GHError_hints.md: -------------------------------------------------------------------------------- 1 | # GHErrorHints 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | [**kotlin.String**](.md) | | [optional] 7 | -------------------------------------------------------------------------------- /kotlin-client/docs/GeocodingLocation.md: -------------------------------------------------------------------------------- 1 | # GeocodingLocation 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **point** | [**GeocodingPoint**](GeocodingPoint.md) | | [optional] 7 | **osmId** | [**kotlin.String**](.md) | The OSM ID of the entity | [optional] 8 | **osmType** | [**kotlin.String**](.md) | N = node, R = relation, W = way | [optional] 9 | **osmKey** | [**kotlin.String**](.md) | The OSM key of the entity | [optional] 10 | **name** | [**kotlin.String**](.md) | The name of the entity. Can be a boundary, POI, address, etc | [optional] 11 | **country** | [**kotlin.String**](.md) | The country of the address | [optional] 12 | **city** | [**kotlin.String**](.md) | The city of the address | [optional] 13 | **state** | [**kotlin.String**](.md) | The state of the address | [optional] 14 | **street** | [**kotlin.String**](.md) | The street of the address | [optional] 15 | **housenumber** | [**kotlin.String**](.md) | The housenumber of the address | [optional] 16 | **postcode** | [**kotlin.String**](.md) | The postcode of the address | [optional] 17 | -------------------------------------------------------------------------------- /kotlin-client/docs/GeocodingPoint.md: -------------------------------------------------------------------------------- 1 | # GeocodingPoint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **lat** | [**kotlin.Double**](.md) | Latitude | [optional] 7 | **lng** | [**kotlin.Double**](.md) | Longitude | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/GeocodingResponse.md: -------------------------------------------------------------------------------- 1 | # GeocodingResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **hits** | [**kotlin.Array<GeocodingLocation>**](GeocodingLocation.md) | | [optional] 7 | **took** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | in ms | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/GroupRelation.md: -------------------------------------------------------------------------------- 1 | # GroupRelation 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | [**kotlin.String**](.md) | Specifies the type of relation. It must be either of type `in_sequence` or `in_direct_sequence`. | 7 | **groups** | [**kotlin.Array<kotlin.String>**](.md) | An array of groups that should be related | 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/InfoResponse.md: -------------------------------------------------------------------------------- 1 | # InfoResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **version** | [**kotlin.String**](.md) | The version of the GraphHopper server that provided this response. This is not related to the API version. | [optional] 7 | **bbox** | [**kotlin.String**](.md) | The bounding box of the geographical area covered by this GraphHopper instance. Format: `\"minLon,minLat,maxLon,maxLat\" | [optional] 8 | **features** | [**kotlin.Any**](.md) | The supported features, such as elevation, per vehicle profile. | [optional] 9 | -------------------------------------------------------------------------------- /kotlin-client/docs/Inline_response_404.md: -------------------------------------------------------------------------------- 1 | # InlineResponse404 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | [**kotlin.String**](.md) | Error message | [optional] 7 | **status** | [**kotlin.String**](.md) | status | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/InternalErrorMessage.md: -------------------------------------------------------------------------------- 1 | # InternalErrorMessage 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **code** | [**kotlin.Int**](.md) | | [optional] 7 | **message** | [**kotlin.String**](.md) | Details | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/IsochroneResponse.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **polygons** | [**kotlin.Array<IsochroneResponsePolygon>**](IsochroneResponsePolygon.md) | The list of polygons in GeoJson format. It can be used e.g. in the Leaflet framework: ``` L.geoJson(json.polygons).addTo(map) ``` The number of polygon is identical to the specified buckets in the query. Every polygon contains the bucket number in the properties section of the GeoJson. | [optional] 7 | **copyrights** | [**kotlin.Array<kotlin.String>**](.md) | | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/IsochroneResponsePolygon.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponsePolygon 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **properties** | [**IsochroneResponsePolygonProperties**](IsochroneResponsePolygonProperties.md) | | [optional] 7 | **type** | [**kotlin.String**](.md) | | [optional] 8 | **geometry** | [**Polygon**](Polygon.md) | | [optional] 9 | -------------------------------------------------------------------------------- /kotlin-client/docs/IsochroneResponsePolygon_properties.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponsePolygonProperties 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **bucket** | [**kotlin.Int**](.md) | | [optional] 7 | -------------------------------------------------------------------------------- /kotlin-client/docs/JobId.md: -------------------------------------------------------------------------------- 1 | # JobId 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **jobId** | [**java.util.UUID**](java.util.UUID.md) | UUID. Unique id for your job/request with which you can fetch your solution | [optional] 7 | -------------------------------------------------------------------------------- /kotlin-client/docs/LineString.md: -------------------------------------------------------------------------------- 1 | # LineString 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | [**kotlin.String**](.md) | | [optional] 7 | **coordinates** | [**kotlin.Array<kotlin.Array<java.math.BigDecimal>>**](.md) | A list of coordinate pairs or triples, `[lon,lat]` or `[lon,lat,elevation]`. | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/Pickup.md: -------------------------------------------------------------------------------- 1 | # Pickup 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | -------------------------------------------------------------------------------- /kotlin-client/docs/Polygon.md: -------------------------------------------------------------------------------- 1 | # Polygon 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | [**kotlin.String**](.md) | | [optional] 7 | **coordinates** | [**kotlin.Array<kotlin.Array<kotlin.Array<java.math.BigDecimal>>>**](.md) | | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/Response.md: -------------------------------------------------------------------------------- 1 | # Response 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **copyrights** | [**kotlin.Array<kotlin.String>**](.md) | | [optional] 7 | **jobId** | [**java.util.UUID**](java.util.UUID.md) | UUID. Unique identifier of job - which you get when posting your request to the large problem solver | [optional] 8 | **status** | [**inline**](#StatusEnum) | Indicates the current status of the job | [optional] 9 | **waitingTimeInQueue** | [**kotlin.Long**](.md) | Waiting time in ms | [optional] 10 | **processingTime** | [**kotlin.Long**](.md) | Processing time in ms. If job is still waiting in queue, processing_time is 0 | [optional] 11 | **solution** | [**Solution**](Solution.md) | | [optional] 12 | 13 | 14 | ## Enum: status 15 | Name | Value 16 | ---- | ----- 17 | status | waiting_in_queue, processing, finished 18 | -------------------------------------------------------------------------------- /kotlin-client/docs/ResponseAddress.md: -------------------------------------------------------------------------------- 1 | # ResponseAddress 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **locationId** | [**kotlin.String**](.md) | Specifies the id of the location. | [optional] 7 | **name** | [**kotlin.String**](.md) | Name of location. | [optional] 8 | **lon** | [**kotlin.Double**](.md) | Longitude of location. | [optional] 9 | **lat** | [**kotlin.Double**](.md) | Latitude of location. | [optional] 10 | **streetHint** | [**kotlin.String**](.md) | Optional parameter. Specifies a hint for each address to better snap the coordinates (lon,lat) to road network. E.g. if there is an address or house with two or more neighboring streets you can control for which street the closest location is looked up. | [optional] 11 | **snappedWaypoint** | [**SnappedWaypoint**](SnappedWaypoint.md) | | [optional] 12 | -------------------------------------------------------------------------------- /kotlin-client/docs/ResponseInfo.md: -------------------------------------------------------------------------------- 1 | # ResponseInfo 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **copyrights** | [**kotlin.Array<kotlin.String>**](.md) | Attribution according to our documentation is necessary if no white-label option included. | [optional] 7 | **took** | [**kotlin.Double**](.md) | | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/Route.md: -------------------------------------------------------------------------------- 1 | # Route 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **vehicleId** | [**kotlin.String**](.md) | Id of vehicle that operates route | [optional] 7 | **distance** | [**kotlin.Long**](.md) | Distance of route in meter | [optional] 8 | **transportTime** | [**kotlin.Long**](.md) | Transport time of route in seconds | [optional] 9 | **completionTime** | [**kotlin.Long**](.md) | Completion time of route in seconds | [optional] 10 | **waitingTime** | [**kotlin.Long**](.md) | Waiting time of route in seconds | [optional] 11 | **serviceDuration** | [**kotlin.Long**](.md) | Service duration of route in seconds | [optional] 12 | **preparationTime** | [**kotlin.Long**](.md) | Preparation time of route in seconds | [optional] 13 | **activities** | [**kotlin.Array<Activity>**](Activity.md) | Array of activities | [optional] 14 | **points** | [**kotlin.Array<RoutePoint>**](RoutePoint.md) | Array of route planning points | [optional] 15 | -------------------------------------------------------------------------------- /kotlin-client/docs/RoutePoint.md: -------------------------------------------------------------------------------- 1 | # RoutePoint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | [**kotlin.String**](.md) | | [optional] 7 | **coordinates** | [**kotlin.Array<kotlin.Any>**](.md) | | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/RouteResponse.md: -------------------------------------------------------------------------------- 1 | # RouteResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **paths** | [**kotlin.Array<RouteResponsePath>**](RouteResponsePath.md) | | [optional] 7 | **info** | [**ResponseInfo**](ResponseInfo.md) | | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/SnappedWaypoint.md: -------------------------------------------------------------------------------- 1 | # SnappedWaypoint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **lon** | [**kotlin.Double**](.md) | Longitude of location. | [optional] 7 | **lat** | [**kotlin.Double**](.md) | Latitude of location. | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/Solution_unassigned.md: -------------------------------------------------------------------------------- 1 | # SolutionUnassigned 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **services** | [**kotlin.Array<kotlin.String>**](.md) | An array of ids of unassigned services | [optional] 7 | **shipments** | [**kotlin.Array<kotlin.String>**](.md) | An array of ids of unassigned shipments | [optional] 8 | **breaks** | [**kotlin.Array<kotlin.String>**](.md) | An array of ids of unassigned breaks | [optional] 9 | **details** | [**kotlin.Array<Detail>**](Detail.md) | An array of details, i.e. reason for unassigned services or shipments | [optional] 10 | -------------------------------------------------------------------------------- /kotlin-client/docs/Stop.md: -------------------------------------------------------------------------------- 1 | # Stop 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **address** | [**Address**](Address.md) | | [optional] 7 | **duration** | [**kotlin.Long**](.md) | Specifies the duration of the pickup or delivery in seconds, e.g. how long it takes unload items at the customer site. | [optional] 8 | **preparationTime** | [**kotlin.Long**](.md) | Specifies the preparation time in seconds. It can be used to model parking lot search time since if you have 3 identical locations in a row, it only falls due once. | [optional] 9 | **timeWindows** | [**kotlin.Array<TimeWindow>**](TimeWindow.md) | Specifies an array of time window objects (see time window object below). For example, if an item needs to be delivered between 7am and 10am then specify the array as follows: [ { \"earliest\": 25200, \"latest\" : 32400 } ] (starting the day from 0 in seconds). | [optional] 10 | **group** | [**kotlin.String**](.md) | Group this stop belongs to | [optional] 11 | -------------------------------------------------------------------------------- /kotlin-client/docs/TimeWindow.md: -------------------------------------------------------------------------------- 1 | # TimeWindow 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **earliest** | [**kotlin.Long**](.md) | Specifies the opening time of the time window in seconds, i.e. the earliest time the service can start. | [optional] 7 | **latest** | [**kotlin.Long**](.md) | Specifies the closing time of the time window in seconds, i.e. the latest time the service can start. | [optional] 8 | -------------------------------------------------------------------------------- /kotlin-client/docs/TimeWindowBreak.md: -------------------------------------------------------------------------------- 1 | # TimeWindowBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **earliest** | [**kotlin.Long**](.md) | Specifies the earliest start time of the break in seconds. | 7 | **latest** | [**kotlin.Long**](.md) | Specifies the latest start time of break in seconds. | 8 | **duration** | [**kotlin.Long**](.md) | Specifies the duration of the break in seconds. | 9 | -------------------------------------------------------------------------------- /kotlin-client/docs/VehicleProfileId.md: -------------------------------------------------------------------------------- 1 | # VehicleProfileId 2 | 3 | ## Enum 4 | 5 | * `car` (value: `"car"`) 6 | * `bike` (value: `"bike"`) 7 | * `foot` (value: `"foot"`) 8 | * `hike` (value: `"hike"`) 9 | * `mtb` (value: `"mtb"`) 10 | * `racingbike` (value: `"racingbike"`) 11 | * `scooter` (value: `"scooter"`) 12 | * `truck` (value: `"truck"`) 13 | * `smallTruck` (value: `"small_truck"`) 14 | -------------------------------------------------------------------------------- /kotlin-client/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'kotlin-client' -------------------------------------------------------------------------------- /kotlin-client/src/main/kotlin/io/swagger/client/infrastructure/ApiAbstractions.kt: -------------------------------------------------------------------------------- 1 | package io.swagger.client.infrastructure 2 | 3 | typealias MultiValueMap = Map> 4 | 5 | fun collectionDelimiter(collectionFormat: String) = when(collectionFormat) { 6 | "csv" -> "," 7 | "tsv" -> "\t" 8 | "pipes" -> "|" 9 | "ssv" -> " " 10 | else -> "" 11 | } 12 | 13 | val defaultMultiValueConverter: (item: Any?) -> String = { item -> "$item" } 14 | 15 | fun toMultiValue(items: List, collectionFormat: String, map: (item: Any?) -> String = defaultMultiValueConverter): List { 16 | return when(collectionFormat) { 17 | "multi" -> items.map(map) 18 | else -> listOf(items.map(map).joinToString(separator = collectionDelimiter(collectionFormat))) 19 | } 20 | } -------------------------------------------------------------------------------- /kotlin-client/src/main/kotlin/io/swagger/client/infrastructure/RequestConfig.kt: -------------------------------------------------------------------------------- 1 | package io.swagger.client.infrastructure 2 | 3 | /** 4 | * Defines a config object for a given request. 5 | * NOTE: This object doesn't include 'body' because it 6 | * allows for caching of the constructed object 7 | * for many request definitions. 8 | * NOTE: Headers is a Map because rfc2616 defines 9 | * multi-valued headers as csv-only. 10 | */ 11 | data class RequestConfig( 12 | val method: RequestMethod, 13 | val path: String, 14 | val headers: Map = mapOf(), 15 | val query: Map> = mapOf()) -------------------------------------------------------------------------------- /kotlin-client/src/main/kotlin/io/swagger/client/infrastructure/RequestMethod.kt: -------------------------------------------------------------------------------- 1 | package io.swagger.client.infrastructure 2 | 3 | /** 4 | * Provides enumerated HTTP verbs 5 | */ 6 | enum class RequestMethod { 7 | GET, DELETE, HEAD, OPTIONS, PATCH, POST, PUT 8 | } -------------------------------------------------------------------------------- /kotlin-client/src/main/kotlin/io/swagger/client/infrastructure/ResponseExtensions.kt: -------------------------------------------------------------------------------- 1 | package io.swagger.client.infrastructure 2 | 3 | import okhttp3.Response 4 | 5 | /** 6 | * Provides an extension to evaluation whether the response is a 1xx code 7 | */ 8 | val Response.isInformational : Boolean get() = this.code() in 100..199 9 | 10 | /** 11 | * Provides an extension to evaluation whether the response is a 3xx code 12 | */ 13 | val Response.isRedirect : Boolean get() = this.code() in 300..399 14 | 15 | /** 16 | * Provides an extension to evaluation whether the response is a 4xx code 17 | */ 18 | val Response.isClientError : Boolean get() = this.code() in 400..499 19 | 20 | /** 21 | * Provides an extension to evaluation whether the response is a 5xx (Standard) through 999 (non-standard) code 22 | */ 23 | val Response.isServerError : Boolean get() = this.code() in 500..999 -------------------------------------------------------------------------------- /kotlin-client/src/main/kotlin/io/swagger/client/infrastructure/Serializer.kt: -------------------------------------------------------------------------------- 1 | package io.swagger.client.infrastructure 2 | 3 | import com.squareup.moshi.KotlinJsonAdapterFactory 4 | import com.squareup.moshi.Moshi 5 | import com.squareup.moshi.Rfc3339DateJsonAdapter 6 | import java.util.* 7 | 8 | object Serializer { 9 | @JvmStatic 10 | val moshi: Moshi = Moshi.Builder() 11 | .add(KotlinJsonAdapterFactory()) 12 | .add(Date::class.java, Rfc3339DateJsonAdapter().nullSafe()) 13 | .build() 14 | } 15 | -------------------------------------------------------------------------------- /php/.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/.php_cs: -------------------------------------------------------------------------------- 1 | level(Symfony\CS\FixerInterface::PSR2_LEVEL) 5 | ->setUsingCache(true) 6 | ->fixers( 7 | [ 8 | 'ordered_use', 9 | 'phpdoc_order', 10 | 'short_array_syntax', 11 | 'strict', 12 | 'strict_param' 13 | ] 14 | ) 15 | ->finder( 16 | Symfony\CS\Finder\DefaultFinder::create() 17 | ->in(__DIR__) 18 | ); 19 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | sudo: false 3 | php: 4 | - 5.4 5 | - 5.5 6 | - 5.6 7 | - 7.0 8 | - hhvm 9 | before_install: "composer install" 10 | script: "vendor/bin/phpunit" 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "graphhopper/directions-api-client", 3 | "version": "0.13.0", 4 | "description": "", 5 | "keywords": [ 6 | "swagger", 7 | "php", 8 | "sdk", 9 | "api" 10 | ], 11 | "homepage": "http://swagger.io", 12 | "license": "proprietary", 13 | "authors": [ 14 | { 15 | "name": "Swagger and contributors", 16 | "homepage": "https://github.com/swagger-api/swagger-codegen" 17 | } 18 | ], 19 | "require": { 20 | "php": ">=5.5", 21 | "ext-curl": "*", 22 | "ext-json": "*", 23 | "ext-mbstring": "*", 24 | "guzzlehttp/guzzle": "^6.2" 25 | }, 26 | "require-dev": { 27 | "phpunit/phpunit": "^4.8", 28 | "squizlabs/php_codesniffer": "~2.6", 29 | "friendsofphp/php-cs-fixer": "~1.12" 30 | }, 31 | "autoload": { 32 | "psr-4": { "Swagger\\Client\\" : "lib/" } 33 | }, 34 | "autoload-dev": { 35 | "psr-4": { "Swagger\\Client\\" : "test/" } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/Address.md: -------------------------------------------------------------------------------- 1 | # Address 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **location_id** | **string** | Specifies the id of the location. | 7 | **name** | **string** | Name of location. | [optional] 8 | **lon** | **double** | Longitude of location. | 9 | **lat** | **double** | Latitude of location. | 10 | **street_hint** | **string** | Optional parameter. Specifies a hint for each address to better snap the coordinates (lon,lat) to road network. E.g. if there is an address or house with two or more neighboring streets you can control for which street the closest location is looked up. | [optional] 11 | 12 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 13 | 14 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/Algorithm.md: -------------------------------------------------------------------------------- 1 | # Algorithm 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **problem_type** | **string** | | [optional] 7 | **objective** | **string** | | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/AnyOfVehicleModelBreak.md: -------------------------------------------------------------------------------- 1 | # AnyOfVehicleModelBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 8 | 9 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/BadRequest.md: -------------------------------------------------------------------------------- 1 | # BadRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **string** | Short error message | [optional] 7 | **hints** | [**\Swagger\Client\Model\ErrorMessage[]**](ErrorMessage.md) | More detailed information about the error. | [optional] 8 | **status** | **string** | status | [optional] [default to 'finished'] 9 | 10 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 11 | 12 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/Configuration.md: -------------------------------------------------------------------------------- 1 | # Configuration 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **routing** | [**\Swagger\Client\Model\Routing**](Routing.md) | | [optional] 7 | 8 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 9 | 10 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/CostMatrix.md: -------------------------------------------------------------------------------- 1 | # CostMatrix 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **string** | type of cost matrix, currently default or google are supported | [optional] 7 | **location_ids** | **string[]** | | [optional] 8 | **data** | [**\Swagger\Client\Model\CostMatrixData**](CostMatrixData.md) | | [optional] 9 | **profile** | **string** | vehicle profile or empty if catch all fallback | [optional] 10 | 11 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 12 | 13 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/CostMatrixData.md: -------------------------------------------------------------------------------- 1 | # CostMatrixData 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **times** | [**int[][]**](array.md) | | [optional] 7 | **distances** | [**double[][]**](array.md) | | [optional] 8 | **info** | [**\Swagger\Client\Model\CostMatrixDataInfo**](CostMatrixDataInfo.md) | | [optional] 9 | 10 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 11 | 12 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/CostMatrixDataInfo.md: -------------------------------------------------------------------------------- 1 | # CostMatrixDataInfo 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **copyrights** | **string[]** | | [optional] 7 | **took** | **double** | | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/DriveTimeBreak.md: -------------------------------------------------------------------------------- 1 | # DriveTimeBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **duration** | **int** | Specifies the duration of the break in seconds. | 7 | **max_driving_time** | **int** | Specifies the max driving time (in a row) without break in seconds. | 8 | **initial_driving_time** | **int** | Specifies the initial (current) driving time of a driver to allow dynamic adaptations in seconds. | [optional] 9 | **possible_split** | **int[]** | Array specifying how a break duration (in seconds) can be split into several smaller breaks | [optional] 10 | 11 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 12 | 13 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/EncodedLineString.md: -------------------------------------------------------------------------------- 1 | # EncodedLineString 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 8 | 9 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/ErrorMessage.md: -------------------------------------------------------------------------------- 1 | # ErrorMessage 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **string** | error message | [optional] 7 | **details** | **string** | Details | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/GHError.md: -------------------------------------------------------------------------------- 1 | # GHError 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **string** | | [optional] 7 | **hints** | [**\Swagger\Client\Model\GHErrorHints[]**](GHErrorHints.md) | | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/GHErrorHints.md: -------------------------------------------------------------------------------- 1 | # GHErrorHints 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **string** | | [optional] 7 | 8 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 9 | 10 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/GeocodingPoint.md: -------------------------------------------------------------------------------- 1 | # GeocodingPoint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **lat** | **double** | Latitude | [optional] 7 | **lng** | **double** | Longitude | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/GeocodingResponse.md: -------------------------------------------------------------------------------- 1 | # GeocodingResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **hits** | [**\Swagger\Client\Model\GeocodingLocation[]**](GeocodingLocation.md) | | [optional] 7 | **took** | **float** | in ms | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/GroupRelation.md: -------------------------------------------------------------------------------- 1 | # GroupRelation 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **string** | Specifies the type of relation. It must be either of type `in_sequence` or `in_direct_sequence`. | 7 | **groups** | **string[]** | An array of groups that should be related | 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/InfoResponse.md: -------------------------------------------------------------------------------- 1 | # InfoResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **version** | **string** | The version of the GraphHopper server that provided this response. This is not related to the API version. | [optional] 7 | **bbox** | **string** | The bounding box of the geographical area covered by this GraphHopper instance. Format: `\"minLon,minLat,maxLon,maxLat\" | [optional] 8 | **features** | **object** | The supported features, such as elevation, per vehicle profile. | [optional] 9 | 10 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 11 | 12 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/InlineResponse404.md: -------------------------------------------------------------------------------- 1 | # InlineResponse404 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **string** | Error message | [optional] 7 | **status** | **string** | status | [optional] [default to 'finished'] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/InternalErrorMessage.md: -------------------------------------------------------------------------------- 1 | # InternalErrorMessage 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **code** | **int** | | [optional] [default to 500] 7 | **message** | **string** | Details | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/IsochroneResponse.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **polygons** | [**\Swagger\Client\Model\IsochroneResponsePolygon[]**](IsochroneResponsePolygon.md) | The list of polygons in GeoJson format. It can be used e.g. in the Leaflet framework: ``` L.geoJson(json.polygons).addTo(map) ``` The number of polygon is identical to the specified buckets in the query. Every polygon contains the bucket number in the properties section of the GeoJson. | [optional] 7 | **copyrights** | **string[]** | | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/IsochroneResponsePolygon.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponsePolygon 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **properties** | [**\Swagger\Client\Model\IsochroneResponsePolygonProperties**](IsochroneResponsePolygonProperties.md) | | [optional] 7 | **type** | **string** | | [optional] 8 | **geometry** | [**\Swagger\Client\Model\Polygon**](Polygon.md) | | [optional] 9 | 10 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 11 | 12 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/IsochroneResponsePolygonGeometry.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponsePolygonGeometry 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **string** | | [optional] 7 | **coordinates** | [**\Swagger\Client\Model\ResponseCoordinatesArray[]**](ResponseCoordinatesArray.md) | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/IsochroneResponsePolygonProperties.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponsePolygonProperties 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **bucket** | **int** | | [optional] 7 | 8 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 9 | 10 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/JobId.md: -------------------------------------------------------------------------------- 1 | # JobId 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **job_id** | **string** | UUID. Unique id for your job/request with which you can fetch your solution | [optional] 7 | 8 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 9 | 10 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/LineString.md: -------------------------------------------------------------------------------- 1 | # LineString 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **string** | | [optional] 7 | **coordinates** | [**float[][]**](array.md) | A list of coordinate pairs or triples, `[lon,lat]` or `[lon,lat,elevation]`. | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/Location.md: -------------------------------------------------------------------------------- 1 | # Location 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **lon** | **double** | longitude | [optional] 7 | **lat** | **double** | latitude | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/ModelBreak.md: -------------------------------------------------------------------------------- 1 | # ModelBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **earliest** | **int** | earliest start of break | [optional] 7 | **latest** | **int** | latest start of break | [optional] 8 | **duration** | **int** | duration of break | [optional] 9 | **max_driving_time** | **int** | max driving time without break | [optional] 10 | **initial_driving_time** | **int** | initial driving time, i.e. the time your driver has already spent for driving | [optional] 11 | **possible_split** | **int[]** | array of splits | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/Pickup.md: -------------------------------------------------------------------------------- 1 | # Pickup 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 8 | 9 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/Polygon.md: -------------------------------------------------------------------------------- 1 | # Polygon 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **string** | | [optional] 7 | **coordinates** | [**float[][][]**](array.md) | | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/Relation.md: -------------------------------------------------------------------------------- 1 | # Relation 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **string** | identifier of relation | [optional] 7 | **ids** | **string[]** | An array of ids that should be related | [optional] 8 | **vehicle_id** | **string** | vehicle id | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/Response.md: -------------------------------------------------------------------------------- 1 | # Response 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **copyrights** | **string[]** | | [optional] 7 | **job_id** | **string** | UUID. Unique identifier of job - which you get when posting your request to the large problem solver | [optional] 8 | **status** | **string** | Indicates the current status of the job | [optional] 9 | **waiting_time_in_queue** | **int** | Waiting time in ms | [optional] 10 | **processing_time** | **int** | Processing time in ms. If job is still waiting in queue, processing_time is 0 | [optional] 11 | **solution** | [**\Swagger\Client\Model\Solution**](Solution.md) | | [optional] 12 | 13 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 14 | 15 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/ResponseAddress.md: -------------------------------------------------------------------------------- 1 | # ResponseAddress 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **location_id** | **string** | Specifies the id of the location. | [optional] 7 | **name** | **string** | Name of location. | [optional] 8 | **lon** | **double** | Longitude of location. | [optional] 9 | **lat** | **double** | Latitude of location. | [optional] 10 | **street_hint** | **string** | Optional parameter. Specifies a hint for each address to better snap the coordinates (lon,lat) to road network. E.g. if there is an address or house with two or more neighboring streets you can control for which street the closest location is looked up. | [optional] 11 | **snapped_waypoint** | [**\Swagger\Client\Model\SnappedWaypoint**](SnappedWaypoint.md) | | [optional] 12 | 13 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 14 | 15 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/ResponseCoordinates.md: -------------------------------------------------------------------------------- 1 | # ResponseCoordinates 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **coordinates** | [**\Swagger\Client\Model\ResponseCoordinatesArray**](ResponseCoordinatesArray.md) | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/ResponseCoordinatesArray.md: -------------------------------------------------------------------------------- 1 | # ResponseCoordinatesArray 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | 10 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/ResponseInfo.md: -------------------------------------------------------------------------------- 1 | # ResponseInfo 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **copyrights** | **string[]** | Attribution according to our documentation is necessary if no white-label option included. | [optional] 7 | **took** | **double** | | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/ResponseInstructions.md: -------------------------------------------------------------------------------- 1 | # ResponseInstructions 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | 10 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/Route.md: -------------------------------------------------------------------------------- 1 | # Route 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **vehicle_id** | **string** | Id of vehicle that operates route | [optional] 7 | **distance** | **int** | Distance of route in meter | [optional] 8 | **transport_time** | **int** | Transport time of route in seconds | [optional] 9 | **completion_time** | **int** | Completion time of route in seconds | [optional] 10 | **waiting_time** | **int** | Waiting time of route in seconds | [optional] 11 | **service_duration** | **int** | Service duration of route in seconds | [optional] 12 | **preparation_time** | **int** | Preparation time of route in seconds | [optional] 13 | **activities** | [**\Swagger\Client\Model\Activity[]**](Activity.md) | Array of activities | [optional] 14 | **points** | [**\Swagger\Client\Model\RoutePoint[]**](RoutePoint.md) | Array of route planning points | [optional] 15 | 16 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 17 | 18 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/RoutePoint.md: -------------------------------------------------------------------------------- 1 | # RoutePoint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **string** | | [optional] 7 | **coordinates** | **object[]** | | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/RouteResponse.md: -------------------------------------------------------------------------------- 1 | # RouteResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **paths** | [**\Swagger\Client\Model\RouteResponsePath[]**](RouteResponsePath.md) | | [optional] 7 | **info** | [**\Swagger\Client\Model\ResponseInfo**](ResponseInfo.md) | | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/SnappedWaypoint.md: -------------------------------------------------------------------------------- 1 | # SnappedWaypoint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **lon** | **double** | Longitude of location. | [optional] 7 | **lat** | **double** | Latitude of location. | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/SolutionUnassigned.md: -------------------------------------------------------------------------------- 1 | # SolutionUnassigned 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **services** | **string[]** | An array of ids of unassigned services | [optional] 7 | **shipments** | **string[]** | An array of ids of unassigned shipments | [optional] 8 | **breaks** | **string[]** | An array of ids of unassigned breaks | [optional] 9 | **details** | [**\Swagger\Client\Model\Detail[]**](Detail.md) | An array of details, i.e. reason for unassigned services or shipments | [optional] 10 | 11 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 12 | 13 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/TimeWindow.md: -------------------------------------------------------------------------------- 1 | # TimeWindow 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **earliest** | **int** | Specifies the opening time of the time window in seconds, i.e. the earliest time the service can start. | [optional] [default to 0] 7 | **latest** | **int** | Specifies the closing time of the time window in seconds, i.e. the latest time the service can start. | [optional] 8 | 9 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 10 | 11 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/TimeWindowBreak.md: -------------------------------------------------------------------------------- 1 | # TimeWindowBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **earliest** | **int** | Specifies the earliest start time of the break in seconds. | 7 | **latest** | **int** | Specifies the latest start time of break in seconds. | 8 | **duration** | **int** | Specifies the duration of the break in seconds. | 9 | 10 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 11 | 12 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/docs/Model/VehicleProfileId.md: -------------------------------------------------------------------------------- 1 | # VehicleProfileId 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) 8 | 9 | -------------------------------------------------------------------------------- /php/SwaggerClient-php/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | ./test/Api 11 | ./test/Model 12 | 13 | 14 | 15 | 16 | 17 | ./lib/directions-api-client 18 | ./lib/Model 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /python/.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | env/ 12 | build/ 13 | develop-eggs/ 14 | dist/ 15 | downloads/ 16 | eggs/ 17 | .eggs/ 18 | lib/ 19 | lib64/ 20 | parts/ 21 | sdist/ 22 | var/ 23 | *.egg-info/ 24 | .installed.cfg 25 | *.egg 26 | 27 | # PyInstaller 28 | # Usually these files are written by a python script from a template 29 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 30 | *.manifest 31 | *.spec 32 | 33 | # Installer logs 34 | pip-log.txt 35 | pip-delete-this-directory.txt 36 | 37 | # Unit test / coverage reports 38 | htmlcov/ 39 | .tox/ 40 | .coverage 41 | .coverage.* 42 | .cache 43 | nosetests.xml 44 | coverage.xml 45 | *,cover 46 | .hypothesis/ 47 | venv/ 48 | .python-version 49 | 50 | # Translations 51 | *.mo 52 | *.pot 53 | 54 | # Django stuff: 55 | *.log 56 | 57 | # Sphinx documentation 58 | docs/_build/ 59 | 60 | # PyBuilder 61 | target/ 62 | 63 | #Ipython Notebook 64 | .ipynb_checkpoints 65 | -------------------------------------------------------------------------------- /python/.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /python/.travis.yml: -------------------------------------------------------------------------------- 1 | # ref: https://docs.travis-ci.com/user/languages/python 2 | language: python 3 | python: 4 | - "2.7" 5 | - "3.2" 6 | - "3.3" 7 | - "3.4" 8 | - "3.5" 9 | #- "3.5-dev" # 3.5 development branch 10 | #- "nightly" # points to the latest development branch e.g. 3.6-dev 11 | # command to install dependencies 12 | install: "pip install -r requirements.txt" 13 | # command to run tests 14 | script: nosetests 15 | -------------------------------------------------------------------------------- /python/docs/Address.md: -------------------------------------------------------------------------------- 1 | # Address 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **location_id** | **str** | Specifies the id of the location. | 7 | **name** | **str** | Name of location. | [optional] 8 | **lon** | **float** | Longitude of location. | 9 | **lat** | **float** | Latitude of location. | 10 | **street_hint** | **str** | Optional parameter. Specifies a hint for each address to better snap the coordinates (lon,lat) to road network. E.g. if there is an address or house with two or more neighboring streets you can control for which street the closest location is looked up. | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | -------------------------------------------------------------------------------- /python/docs/Algorithm.md: -------------------------------------------------------------------------------- 1 | # Algorithm 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **problem_type** | **str** | | [optional] 7 | **objective** | **str** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/AnyOfVehicleBreak.md: -------------------------------------------------------------------------------- 1 | # AnyOfVehicleBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | -------------------------------------------------------------------------------- /python/docs/BadRequest.md: -------------------------------------------------------------------------------- 1 | # BadRequest 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **str** | Short error message | [optional] 7 | **hints** | [**list[ErrorMessage]**](ErrorMessage.md) | More detailed information about the error. | [optional] 8 | **status** | **str** | status | [optional] [default to 'finished'] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /python/docs/Configuration.md: -------------------------------------------------------------------------------- 1 | # Configuration 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **routing** | [**Routing**](Routing.md) | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /python/docs/CostMatrix.md: -------------------------------------------------------------------------------- 1 | # CostMatrix 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **str** | type of cost matrix, currently default or google are supported | [optional] 7 | **location_ids** | **list[str]** | | [optional] 8 | **data** | [**CostMatrixData**](CostMatrixData.md) | | [optional] 9 | **profile** | **str** | vehicle profile or empty if catch all fallback | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | -------------------------------------------------------------------------------- /python/docs/CostMatrixData.md: -------------------------------------------------------------------------------- 1 | # CostMatrixData 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **times** | **list[list[int]]** | | [optional] 7 | **distances** | **list[list[float]]** | | [optional] 8 | **info** | [**CostMatrixDataInfo**](CostMatrixDataInfo.md) | | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /python/docs/CostMatrixDataInfo.md: -------------------------------------------------------------------------------- 1 | # CostMatrixDataInfo 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **copyrights** | **list[str]** | | [optional] 7 | **took** | **float** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/DriveTimeBreak.md: -------------------------------------------------------------------------------- 1 | # DriveTimeBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **duration** | **int** | Specifies the duration of the break in seconds. | 7 | **max_driving_time** | **int** | Specifies the max driving time (in a row) without break in seconds. | 8 | **initial_driving_time** | **int** | Specifies the initial (current) driving time of a driver to allow dynamic adaptations in seconds. | [optional] 9 | **possible_split** | **list[int]** | Array specifying how a break duration (in seconds) can be split into several smaller breaks | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | -------------------------------------------------------------------------------- /python/docs/EncodedLineString.md: -------------------------------------------------------------------------------- 1 | # EncodedLineString 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | -------------------------------------------------------------------------------- /python/docs/ErrorMessage.md: -------------------------------------------------------------------------------- 1 | # ErrorMessage 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **str** | error message | [optional] 7 | **details** | **str** | Details | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/GHError.md: -------------------------------------------------------------------------------- 1 | # GHError 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **str** | | [optional] 7 | **hints** | [**list[GHErrorHints]**](GHErrorHints.md) | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/GHErrorHints.md: -------------------------------------------------------------------------------- 1 | # GHErrorHints 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **str** | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /python/docs/GeocodingLocation.md: -------------------------------------------------------------------------------- 1 | # GeocodingLocation 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **point** | [**GeocodingPoint**](GeocodingPoint.md) | | [optional] 7 | **osm_id** | **str** | The OSM ID of the entity | [optional] 8 | **osm_type** | **str** | N = node, R = relation, W = way | [optional] 9 | **osm_key** | **str** | The OSM key of the entity | [optional] 10 | **name** | **str** | The name of the entity. Can be a boundary, POI, address, etc | [optional] 11 | **country** | **str** | The country of the address | [optional] 12 | **city** | **str** | The city of the address | [optional] 13 | **state** | **str** | The state of the address | [optional] 14 | **street** | **str** | The street of the address | [optional] 15 | **housenumber** | **str** | The housenumber of the address | [optional] 16 | **postcode** | **str** | The postcode of the address | [optional] 17 | 18 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 19 | 20 | -------------------------------------------------------------------------------- /python/docs/GeocodingPoint.md: -------------------------------------------------------------------------------- 1 | # GeocodingPoint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **lat** | **float** | Latitude | [optional] 7 | **lng** | **float** | Longitude | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/GeocodingResponse.md: -------------------------------------------------------------------------------- 1 | # GeocodingResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **hits** | [**list[GeocodingLocation]**](GeocodingLocation.md) | | [optional] 7 | **took** | **float** | in ms | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/GroupRelation.md: -------------------------------------------------------------------------------- 1 | # GroupRelation 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **str** | Specifies the type of relation. It must be either of type `in_sequence` or `in_direct_sequence`. | 7 | **groups** | **list[str]** | An array of groups that should be related | 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/InfoResponse.md: -------------------------------------------------------------------------------- 1 | # InfoResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **version** | **str** | The version of the GraphHopper server that provided this response. This is not related to the API version. | [optional] 7 | **bbox** | **str** | The bounding box of the geographical area covered by this GraphHopper instance. Format: `\"minLon,minLat,maxLon,maxLat\" | [optional] 8 | **features** | **object** | The supported features, such as elevation, per vehicle profile. | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /python/docs/InlineResponse404.md: -------------------------------------------------------------------------------- 1 | # InlineResponse404 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **str** | Error message | [optional] 7 | **status** | **str** | status | [optional] [default to 'finished'] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/InternalErrorMessage.md: -------------------------------------------------------------------------------- 1 | # InternalErrorMessage 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **code** | **int** | | [optional] [default to 500] 7 | **message** | **str** | Details | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/IsochroneResponse.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **polygons** | [**list[IsochroneResponsePolygon]**](IsochroneResponsePolygon.md) | The list of polygons in GeoJson format. It can be used e.g. in the Leaflet framework: ``` L.geoJson(json.polygons).addTo(map) ``` The number of polygon is identical to the specified buckets in the query. Every polygon contains the bucket number in the properties section of the GeoJson. | [optional] 7 | **copyrights** | **list[str]** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/IsochroneResponsePolygon.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponsePolygon 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **properties** | [**IsochroneResponsePolygonProperties**](IsochroneResponsePolygonProperties.md) | | [optional] 7 | **type** | **str** | | [optional] 8 | **geometry** | [**Polygon**](Polygon.md) | | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /python/docs/IsochroneResponsePolygonGeometry.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponsePolygonGeometry 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **str** | | [optional] 7 | **coordinates** | [**list[ResponseCoordinatesArray]**](ResponseCoordinatesArray.md) | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /python/docs/IsochroneResponsePolygonProperties.md: -------------------------------------------------------------------------------- 1 | # IsochroneResponsePolygonProperties 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **bucket** | **int** | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /python/docs/JobId.md: -------------------------------------------------------------------------------- 1 | # JobId 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **job_id** | **str** | UUID. Unique id for your job/request with which you can fetch your solution | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /python/docs/LineString.md: -------------------------------------------------------------------------------- 1 | # LineString 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **str** | | [optional] 7 | **coordinates** | **list[list[float]]** | A list of coordinate pairs or triples, `[lon,lat]` or `[lon,lat,elevation]`. | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/Location.md: -------------------------------------------------------------------------------- 1 | # Location 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **lon** | **float** | longitude | [optional] 7 | **lat** | **float** | latitude | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | 12 | -------------------------------------------------------------------------------- /python/docs/ModelBreak.md: -------------------------------------------------------------------------------- 1 | # ModelBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **earliest** | **int** | earliest start of break | [optional] 7 | **latest** | **int** | latest start of break | [optional] 8 | **duration** | **int** | duration of break | [optional] 9 | **max_driving_time** | **int** | max driving time without break | [optional] 10 | **initial_driving_time** | **int** | initial driving time, i.e. the time your driver has already spent for driving | [optional] 11 | **possible_split** | **list[int]** | array of splits | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /python/docs/Pickup.md: -------------------------------------------------------------------------------- 1 | # Pickup 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | -------------------------------------------------------------------------------- /python/docs/Polygon.md: -------------------------------------------------------------------------------- 1 | # Polygon 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **str** | | [optional] 7 | **coordinates** | **list[list[list[float]]]** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/Relation.md: -------------------------------------------------------------------------------- 1 | # Relation 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **str** | identifier of relation | [optional] 7 | **ids** | **list[str]** | An array of ids that should be related | [optional] 8 | **vehicle_id** | **str** | vehicle id | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /python/docs/Response.md: -------------------------------------------------------------------------------- 1 | # Response 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **copyrights** | **list[str]** | | [optional] 7 | **job_id** | **str** | UUID. Unique identifier of job - which you get when posting your request to the large problem solver | [optional] 8 | **status** | **str** | Indicates the current status of the job | [optional] 9 | **waiting_time_in_queue** | **int** | Waiting time in ms | [optional] 10 | **processing_time** | **int** | Processing time in ms. If job is still waiting in queue, processing_time is 0 | [optional] 11 | **solution** | [**Solution**](Solution.md) | | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | -------------------------------------------------------------------------------- /python/docs/ResponseAddress.md: -------------------------------------------------------------------------------- 1 | # ResponseAddress 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **location_id** | **str** | Specifies the id of the location. | [optional] 7 | **name** | **str** | Name of location. | [optional] 8 | **lon** | **float** | Longitude of location. | [optional] 9 | **lat** | **float** | Latitude of location. | [optional] 10 | **street_hint** | **str** | Optional parameter. Specifies a hint for each address to better snap the coordinates (lon,lat) to road network. E.g. if there is an address or house with two or more neighboring streets you can control for which street the closest location is looked up. | [optional] 11 | **snapped_waypoint** | [**SnappedWaypoint**](SnappedWaypoint.md) | | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | -------------------------------------------------------------------------------- /python/docs/ResponseCoordinates.md: -------------------------------------------------------------------------------- 1 | # ResponseCoordinates 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **coordinates** | [**ResponseCoordinatesArray**](ResponseCoordinatesArray.md) | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | 11 | -------------------------------------------------------------------------------- /python/docs/ResponseCoordinatesArray.md: -------------------------------------------------------------------------------- 1 | # ResponseCoordinatesArray 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | 10 | -------------------------------------------------------------------------------- /python/docs/ResponseInfo.md: -------------------------------------------------------------------------------- 1 | # ResponseInfo 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **copyrights** | **list[str]** | Attribution according to our documentation is necessary if no white-label option included. | [optional] 7 | **took** | **float** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/ResponseInstructions.md: -------------------------------------------------------------------------------- 1 | # ResponseInstructions 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | 10 | -------------------------------------------------------------------------------- /python/docs/Route.md: -------------------------------------------------------------------------------- 1 | # Route 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **vehicle_id** | **str** | Id of vehicle that operates route | [optional] 7 | **distance** | **int** | Distance of route in meter | [optional] 8 | **transport_time** | **int** | Transport time of route in seconds | [optional] 9 | **completion_time** | **int** | Completion time of route in seconds | [optional] 10 | **waiting_time** | **int** | Waiting time of route in seconds | [optional] 11 | **service_duration** | **int** | Service duration of route in seconds | [optional] 12 | **preparation_time** | **int** | Preparation time of route in seconds | [optional] 13 | **activities** | [**list[Activity]**](Activity.md) | Array of activities | [optional] 14 | **points** | [**list[RoutePoint]**](RoutePoint.md) | Array of route planning points | [optional] 15 | 16 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 17 | 18 | -------------------------------------------------------------------------------- /python/docs/RoutePoint.md: -------------------------------------------------------------------------------- 1 | # RoutePoint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **str** | | [optional] 7 | **coordinates** | **list[object]** | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/RouteResponse.md: -------------------------------------------------------------------------------- 1 | # RouteResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **paths** | [**list[RouteResponsePath]**](RouteResponsePath.md) | | [optional] 7 | **info** | [**ResponseInfo**](ResponseInfo.md) | | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/SnappedWaypoint.md: -------------------------------------------------------------------------------- 1 | # SnappedWaypoint 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **lon** | **float** | Longitude of location. | [optional] 7 | **lat** | **float** | Latitude of location. | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/SolutionUnassigned.md: -------------------------------------------------------------------------------- 1 | # SolutionUnassigned 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **services** | **list[str]** | An array of ids of unassigned services | [optional] 7 | **shipments** | **list[str]** | An array of ids of unassigned shipments | [optional] 8 | **breaks** | **list[str]** | An array of ids of unassigned breaks | [optional] 9 | **details** | [**list[Detail]**](Detail.md) | An array of details, i.e. reason for unassigned services or shipments | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | -------------------------------------------------------------------------------- /python/docs/Stop.md: -------------------------------------------------------------------------------- 1 | # Stop 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **address** | [**Address**](Address.md) | | [optional] 7 | **duration** | **int** | Specifies the duration of the pickup or delivery in seconds, e.g. how long it takes unload items at the customer site. | [optional] [default to 0] 8 | **preparation_time** | **int** | Specifies the preparation time in seconds. It can be used to model parking lot search time since if you have 3 identical locations in a row, it only falls due once. | [optional] [default to 0] 9 | **time_windows** | [**list[TimeWindow]**](TimeWindow.md) | Specifies an array of time window objects (see time window object below). For example, if an item needs to be delivered between 7am and 10am then specify the array as follows: [ { \"earliest\": 25200, \"latest\" : 32400 } ] (starting the day from 0 in seconds). | [optional] 10 | **group** | **str** | Group this stop belongs to | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | -------------------------------------------------------------------------------- /python/docs/TimeWindow.md: -------------------------------------------------------------------------------- 1 | # TimeWindow 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **earliest** | **int** | Specifies the opening time of the time window in seconds, i.e. the earliest time the service can start. | [optional] [default to 0] 7 | **latest** | **int** | Specifies the closing time of the time window in seconds, i.e. the latest time the service can start. | [optional] 8 | 9 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 10 | 11 | -------------------------------------------------------------------------------- /python/docs/TimeWindowBreak.md: -------------------------------------------------------------------------------- 1 | # TimeWindowBreak 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **earliest** | **int** | Specifies the earliest start time of the break in seconds. | 7 | **latest** | **int** | Specifies the latest start time of break in seconds. | 8 | **duration** | **int** | Specifies the duration of the break in seconds. | 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /python/docs/VehicleProfileId.md: -------------------------------------------------------------------------------- 1 | # VehicleProfileId 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | -------------------------------------------------------------------------------- /python/requirements.txt: -------------------------------------------------------------------------------- 1 | certifi >= 14.05.14 2 | six >= 1.10 3 | python_dateutil >= 2.5.3 4 | setuptools >= 21.0.0 5 | urllib3 >= 1.15.1 6 | -------------------------------------------------------------------------------- /python/swagger_client/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from swagger_client.api.geocoding_api import GeocodingApi 7 | from swagger_client.api.isochrone_api import IsochroneApi 8 | from swagger_client.api.map_matching_api import MapMatchingApi 9 | from swagger_client.api.matrix_api import MatrixApi 10 | from swagger_client.api.route_optimization_api import RouteOptimizationApi 11 | from swagger_client.api.routing_api import RoutingApi 12 | -------------------------------------------------------------------------------- /python/test-requirements.txt: -------------------------------------------------------------------------------- 1 | coverage>=4.0.3 2 | nose>=1.3.7 3 | pluggy>=0.3.1 4 | py>=1.4.31 5 | randomize>=0.13 6 | -------------------------------------------------------------------------------- /python/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphhopper/directions-api-clients/2abbeb16a23f4dc5aaaaff45d17750f2b65e6502/python/test/__init__.py -------------------------------------------------------------------------------- /python/tox.ini: -------------------------------------------------------------------------------- 1 | [tox] 2 | envlist = py27, py3 3 | 4 | [testenv] 5 | deps=-r{toxinidir}/requirements.txt 6 | -r{toxinidir}/test-requirements.txt 7 | 8 | commands= 9 | nosetests \ 10 | [] 11 | -------------------------------------------------------------------------------- /qt5cpp/.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /r/.Rbuildignore: -------------------------------------------------------------------------------- 1 | ^.*\.Rproj$ 2 | ^\.Rproj\.user$ 3 | -------------------------------------------------------------------------------- /r/.gitignore: -------------------------------------------------------------------------------- 1 | # ref: https://github.com/github/gitignore/blob/master/R.gitignore 2 | 3 | # History files 4 | .Rhistory 5 | .Rapp.history 6 | 7 | # Session Data files 8 | .RData 9 | 10 | # Example code in package build process 11 | *-Ex.R 12 | 13 | # Output files from R CMD build 14 | /*.tar.gz 15 | 16 | # Output files from R CMD check 17 | /*.Rcheck/ 18 | 19 | # RStudio files 20 | .Rproj.user/ 21 | 22 | # produced vignettes 23 | vignettes/*.html 24 | vignettes/*.pdf 25 | 26 | # OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3 27 | .httr-oauth 28 | 29 | # knitr and R markdown default cache directories 30 | /*_cache/ 31 | /cache/ 32 | 33 | # Temporary files created by R markdown 34 | *.utf8.md 35 | *.knit.md 36 | -------------------------------------------------------------------------------- /r/.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /r/.swagger-codegen/VERSION: -------------------------------------------------------------------------------- 1 | 2.4.0-SNAPSHOT -------------------------------------------------------------------------------- /r/.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphhopper/directions-api-clients/2abbeb16a23f4dc5aaaaff45d17750f2b65e6502/r/.travis.yml -------------------------------------------------------------------------------- /r/DESCRIPTION: -------------------------------------------------------------------------------- 1 | Package: GraphHopper 2 | Title: R Package Client for GraphHopper Directions API 3 | Version: 1.0.0 4 | Authors@R: person("Swagger Codegen community", email = "apiteam@swagger.io", role = c("aut", "cre")) 5 | Description: You use the GraphHopper Directions API to add route planning, navigation and route optimization to your software. E.g. the Routing API has turn instructions and elevation data and the Route Optimization API solves your logistic problems and supports various constraints like time window and capacity restrictions. Also it is possible to get all distances between all locations with our fast Matrix API. 6 | Depends: R (>= 3.3.3) 7 | Encoding: UTF-8 8 | License: Unlicense 9 | LazyData: true 10 | Suggests: testthat 11 | Imports: jsonlite, httr, R6 12 | RoxygenNote: 6.0.1.9000 13 | -------------------------------------------------------------------------------- /r/R/Element.r: -------------------------------------------------------------------------------- 1 | #' Element Class 2 | #' 3 | #' Element Class 4 | #' @export 5 | Element <- R6::R6Class( 6 | 'Element', 7 | public = list( 8 | id = NULL, 9 | name = NULL, 10 | initialize = function(id,name){ 11 | if (!missing(id)) { 12 | stopifnot(is.numeric(id), length(id) == 1) 13 | self$id <- id 14 | } 15 | if (!missing(name)) { 16 | stopifnot(is.character(name), length(name) == 1) 17 | self$name <- name 18 | } 19 | }, 20 | toJSON = function() { 21 | sprintf('{"id":%d,"name":"%s"}', self$id, self$name) 22 | } 23 | ) 24 | ) -------------------------------------------------------------------------------- /r/R/Response.r: -------------------------------------------------------------------------------- 1 | #' Response Class 2 | #' 3 | #' Response Class 4 | #' @export 5 | Response <- R6::R6Class( 6 | 'Response', 7 | public = list( 8 | content = NULL, 9 | response = NULL, 10 | initialize = function(content, response){ 11 | self$content <- content 12 | self$response <- response 13 | } 14 | ) 15 | ) -------------------------------------------------------------------------------- /scala/.gitignore: -------------------------------------------------------------------------------- 1 | # scala specific 2 | *.class 3 | *.log 4 | 5 | # sbt specific 6 | .cache 7 | .history 8 | .lib/ 9 | dist/* 10 | target/ 11 | lib_managed/ 12 | src_managed/ 13 | project/boot/ 14 | project/plugins/project/ 15 | 16 | # Scala-IDE specific 17 | .scala_dependencies 18 | .worksheet 19 | 20 | # IntelliJ specific 21 | .idea 22 | *.iml 23 | -------------------------------------------------------------------------------- /scala/.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /scala/build.sbt: -------------------------------------------------------------------------------- 1 | version := "1.0.0" 2 | name := "swagger-scala-client" 3 | organization := "io.swagger" 4 | scalaVersion := "2.11.12" 5 | 6 | libraryDependencies ++= Seq( 7 | "com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.9.2", 8 | "com.fasterxml.jackson.datatype" % "jackson-datatype-joda" % "2.9.2", 9 | "com.sun.jersey" % "jersey-core" % "1.19.4", 10 | "com.sun.jersey" % "jersey-client" % "1.19.4", 11 | "com.sun.jersey.contribs" % "jersey-multipart" % "1.19.4", 12 | "org.jfarcand" % "jersey-ahc-client" % "1.0.5", 13 | "io.swagger" % "swagger-core" % "1.5.8", 14 | "joda-time" % "joda-time" % "2.9.9", 15 | "org.joda" % "joda-convert" % "1.9.2", 16 | "org.scalatest" %% "scalatest" % "3.0.4" % "test", 17 | "junit" % "junit" % "4.12" % "test", 18 | "com.wordnik.swagger" %% "swagger-async-httpclient" % "0.3.5" 19 | ) 20 | 21 | resolvers ++= Seq( 22 | Resolver.mavenLocal 23 | ) 24 | 25 | scalacOptions := Seq( 26 | "-unchecked", 27 | "-deprecation", 28 | "-feature" 29 | ) 30 | 31 | publishArtifact in (Compile, packageDoc) := false 32 | 33 | -------------------------------------------------------------------------------- /scala/gradle.properties: -------------------------------------------------------------------------------- 1 | # Uncomment to build for Android 2 | #target = android -------------------------------------------------------------------------------- /scala/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphhopper/directions-api-clients/2abbeb16a23f4dc5aaaaff45d17750f2b65e6502/scala/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /scala/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue May 17 23:08:05 CST 2016 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip 7 | -------------------------------------------------------------------------------- /scala/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = "swagger-scala-client" -------------------------------------------------------------------------------- /scala/src/main/scala/io/swagger/client/AsyncClient.scala: -------------------------------------------------------------------------------- 1 | package io.swagger.client 2 | 3 | import io.swagger.client.api._ 4 | 5 | import com.wordnik.swagger.client._ 6 | 7 | import java.io.Closeable 8 | 9 | class AsyncClient(config: SwaggerConfig) extends Closeable { 10 | lazy val locator: ServiceLocator = config.locator 11 | lazy val name: String = config.name 12 | 13 | private[this] val client = transportClient 14 | 15 | protected def transportClient: TransportClient = new RestClient(config) 16 | 17 | def close() { 18 | client.close() 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /scala/src/main/scala/io/swagger/client/model/IsochroneResponsePolygonGeometry.scala: -------------------------------------------------------------------------------- 1 | /** 2 | * GraphHopper Directions API 3 | * You use the GraphHopper Directions API to add route planning, navigation and route optimization to your software. E.g. the Routing API has turn instructions and elevation data and the Route Optimization API solves your logistic problems and supports various constraints like time window and capacity restrictions. Also it is possible to get all distances between all locations with our fast Matrix API. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package io.swagger.client.model 14 | 15 | 16 | case class IsochroneResponsePolygonGeometry ( 17 | `type`: Option[String] = None, 18 | coordinates: Option[List[ResponseCoordinatesArray]] = None 19 | ) 20 | 21 | -------------------------------------------------------------------------------- /scala/src/main/scala/io/swagger/client/model/Location.scala: -------------------------------------------------------------------------------- 1 | /** 2 | * GraphHopper Directions API 3 | * You use the GraphHopper Directions API to add route planning, navigation and route optimization to your software. E.g. the Routing API has turn instructions and elevation data and the Route Optimization API solves your logistic problems and supports various constraints like time window and capacity restrictions. Also it is possible to get all distances between all locations with our fast Matrix API. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package io.swagger.client.model 14 | 15 | 16 | case class Location ( 17 | // longitude 18 | lon: Option[Double] = None, 19 | // latitude 20 | lat: Option[Double] = None 21 | ) 22 | 23 | -------------------------------------------------------------------------------- /scala/src/main/scala/io/swagger/client/model/Relation.scala: -------------------------------------------------------------------------------- 1 | /** 2 | * GraphHopper Directions API 3 | * You use the GraphHopper Directions API to add route planning, navigation and route optimization to your software. E.g. the Routing API has turn instructions and elevation data and the Route Optimization API solves your logistic problems and supports various constraints like time window and capacity restrictions. Also it is possible to get all distances between all locations with our fast Matrix API. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package io.swagger.client.model 14 | 15 | 16 | case class Relation ( 17 | // identifier of relation 18 | `type`: Option[String] = None, 19 | // An array of ids that should be related 20 | ids: Option[List[String]] = None, 21 | // vehicle id 22 | vehicleId: Option[String] = None 23 | ) 24 | 25 | -------------------------------------------------------------------------------- /scala/src/main/scala/io/swagger/client/model/ResponseCoordinates.scala: -------------------------------------------------------------------------------- 1 | /** 2 | * GraphHopper Directions API 3 | * You use the GraphHopper Directions API to add route planning, navigation and route optimization to your software. E.g. the Routing API has turn instructions and elevation data and the Route Optimization API solves your logistic problems and supports various constraints like time window and capacity restrictions. Also it is possible to get all distances between all locations with our fast Matrix API. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package io.swagger.client.model 14 | 15 | 16 | case class ResponseCoordinates ( 17 | coordinates: Option[ResponseCoordinatesArray] = None 18 | ) 19 | 20 | -------------------------------------------------------------------------------- /scala/src/main/scala/io/swagger/client/model/ResponseCoordinatesArray.scala: -------------------------------------------------------------------------------- 1 | /** 2 | * GraphHopper Directions API 3 | * You use the GraphHopper Directions API to add route planning, navigation and route optimization to your software. E.g. the Routing API has turn instructions and elevation data and the Route Optimization API solves your logistic problems and supports various constraints like time window and capacity restrictions. Also it is possible to get all distances between all locations with our fast Matrix API. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package io.swagger.client.model 14 | 15 | import scala.collection.mutable.ListBuffer 16 | 17 | case class ResponseCoordinatesArray ( 18 | ) 19 | 20 | -------------------------------------------------------------------------------- /scala/src/main/scala/io/swagger/client/model/ResponseInstructions.scala: -------------------------------------------------------------------------------- 1 | /** 2 | * GraphHopper Directions API 3 | * You use the GraphHopper Directions API to add route planning, navigation and route optimization to your software. E.g. the Routing API has turn instructions and elevation data and the Route Optimization API solves your logistic problems and supports various constraints like time window and capacity restrictions. Also it is possible to get all distances between all locations with our fast Matrix API. 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * 7 | * 8 | * NOTE: This class is auto generated by the swagger code generator program. 9 | * https://github.com/swagger-api/swagger-codegen.git 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package io.swagger.client.model 14 | 15 | import scala.collection.mutable.ListBuffer 16 | 17 | case class ResponseInstructions ( 18 | ) 19 | 20 | -------------------------------------------------------------------------------- /swift4/.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /swift4/Cartfile: -------------------------------------------------------------------------------- 1 | github "Alamofire/Alamofire" ~> 4.5.0 2 | -------------------------------------------------------------------------------- /swift4/SwaggerClient.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'SwaggerClient' 3 | s.ios.deployment_target = '9.0' 4 | s.osx.deployment_target = '10.11' 5 | s.tvos.deployment_target = '9.0' 6 | s.version = '0.0.1' 7 | s.source = { :git => 'git@github.com:swagger-api/swagger-mustache.git', :tag => 'v1.0.0' } 8 | s.authors = 'Swagger Codegen' 9 | s.license = 'Proprietary' 10 | s.source_files = 'SwaggerClient/Classes/**/*.swift' 11 | s.dependency 'Alamofire', '~> 4.5.0' 12 | end 13 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Configuration.swift: -------------------------------------------------------------------------------- 1 | // Configuration.swift 2 | // 3 | // Generated by swagger-codegen 4 | // https://github.com/swagger-api/swagger-codegen 5 | // 6 | 7 | import Foundation 8 | 9 | open class Configuration { 10 | 11 | // This value is used to configure the date formatter that is used to serialize dates into JSON format. 12 | // You must set it prior to encoding any dates, and it will only be read once. 13 | open static var dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ" 14 | 15 | } -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models.swift: -------------------------------------------------------------------------------- 1 | // Models.swift 2 | // 3 | // Generated by swagger-codegen 4 | // https://github.com/swagger-api/swagger-codegen 5 | // 6 | 7 | import Foundation 8 | 9 | protocol JSONEncodable { 10 | func encodeToJSON() -> Any 11 | } 12 | 13 | public enum ErrorResponse : Error { 14 | case error(Int, Data?, Error) 15 | } 16 | 17 | open class Response { 18 | open let statusCode: Int 19 | open let header: [String: String] 20 | open let body: T? 21 | 22 | public init(statusCode: Int, header: [String: String], body: T?) { 23 | self.statusCode = statusCode 24 | self.header = header 25 | self.body = body 26 | } 27 | 28 | public convenience init(response: HTTPURLResponse, body: T?) { 29 | let rawHeader = response.allHeaderFields 30 | var header = [String:String]() 31 | for case let (key, value) as (String, String) in rawHeader { 32 | header[key] = value 33 | } 34 | self.init(statusCode: response.statusCode, header: header, body: body) 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/Algorithm.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Algorithm.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | /** Use `objectives` instead. */ 11 | public struct Algorithm: Codable { 12 | 13 | public enum ProblemType: String, Codable { 14 | case min = "min" 15 | case minMax = "min-max" 16 | } public enum Objective: String, Codable { 17 | case transportTime = "transport_time" 18 | case completionTime = "completion_time" 19 | } public var problemType: ProblemType? 20 | public var objective: Objective? 21 | public init(problemType: ProblemType?, objective: Objective?) { 22 | self.problemType = problemType 23 | self.objective = objective 24 | } 25 | public enum CodingKeys: String, CodingKey { 26 | case problemType = "problem_type" 27 | case objective 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/AnyOfVehicleBreak.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AnyOfVehicleBreak.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct AnyOfVehicleBreak: Codable { 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/BadRequest.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BadRequest.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct BadRequest: Codable { 12 | 13 | 14 | /** Short error message */ 15 | public var message: String? 16 | 17 | /** More detailed information about the error. */ 18 | public var hints: [ErrorMessage]? 19 | 20 | /** status */ 21 | public var status: String? 22 | public init(message: String?, hints: [ErrorMessage]?, status: String?) { 23 | self.message = message 24 | self.hints = hints 25 | self.status = status 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/Configuration.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Configuration.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | /** Here you can specify general configurations of the API. */ 11 | public struct Configuration: Codable { 12 | 13 | 14 | public var routing: Routing? 15 | public init(routing: Routing?) { 16 | self.routing = routing 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/CostMatrix.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CostMatrix.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct CostMatrix: Codable { 12 | 13 | public enum ModelType: String, Codable { 14 | case _default = "default" 15 | case google = "google" 16 | } /** type of cost matrix, currently default or google are supported */ 17 | public var type: ModelType? 18 | 19 | public var locationIds: [String]? 20 | 21 | public var data: CostMatrixData? 22 | 23 | /** vehicle profile or empty if catch all fallback */ 24 | public var profile: String? 25 | public init(type: ModelType?, locationIds: [String]?, data: CostMatrixData?, profile: String?) { 26 | self.type = type 27 | self.locationIds = locationIds 28 | self.data = data 29 | self.profile = profile 30 | } 31 | public enum CodingKeys: String, CodingKey { 32 | case type 33 | case locationIds = "location_ids" 34 | case data 35 | case profile 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/CostMatrixData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CostMatrixData.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | /** JSON data of matrix response */ 11 | public struct CostMatrixData: Codable { 12 | 13 | 14 | public var times: [[Int64]]? 15 | 16 | public var distances: [[Double]]? 17 | 18 | public var info: CostMatrixDataInfo? 19 | public init(times: [[Int64]]?, distances: [[Double]]?, info: CostMatrixDataInfo?) { 20 | self.times = times 21 | self.distances = distances 22 | self.info = info 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/CostMatrixDataInfo.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CostMatrixDataInfo.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | /** Additional information for your request */ 11 | public struct CostMatrixDataInfo: Codable { 12 | 13 | 14 | public var copyrights: [String]? 15 | 16 | public var took: Double? 17 | public init(copyrights: [String]?, took: Double?) { 18 | self.copyrights = copyrights 19 | self.took = took 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/EncodedLineString.swift: -------------------------------------------------------------------------------- 1 | // 2 | // EncodedLineString.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | /** A polyline-encoded list of positions. You'll need to decode this string in client code. We provide open source code in [Java](https://github.com/graphhopper/graphhopper/blob/e649aaed8d3f4378bf2d8889bbbc2318261eabb2/web-api/src/main/java/com/graphhopper/http/WebHelper.java#L54) and [JavaScript](https://github.com/graphhopper/directions-api-js-client/blob/cf43d1a5bc93a3e8007a44fcfc551117e4fa49bc/src/GHUtil.js#L27). */ 11 | public struct EncodedLineString: Codable { 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/ErrorMessage.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ErrorMessage.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct ErrorMessage: Codable { 12 | 13 | 14 | /** error message */ 15 | public var message: String? 16 | 17 | /** Details */ 18 | public var details: String? 19 | public init(message: String?, details: String?) { 20 | self.message = message 21 | self.details = details 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/GHError.swift: -------------------------------------------------------------------------------- 1 | // 2 | // GHError.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct GHError: Codable { 12 | 13 | 14 | public var message: String? 15 | 16 | public var hints: [GHErrorHints]? 17 | public init(message: String?, hints: [GHErrorHints]?) { 18 | self.message = message 19 | self.hints = hints 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/GHErrorHints.swift: -------------------------------------------------------------------------------- 1 | // 2 | // GHErrorHints.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct GHErrorHints: Codable { 12 | 13 | 14 | public var message: String? 15 | public init(message: String?) { 16 | self.message = message 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/GeocodingPoint.swift: -------------------------------------------------------------------------------- 1 | // 2 | // GeocodingPoint.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct GeocodingPoint: Codable { 12 | 13 | 14 | /** Latitude */ 15 | public var lat: Double? 16 | 17 | /** Longitude */ 18 | public var lng: Double? 19 | public init(lat: Double?, lng: Double?) { 20 | self.lat = lat 21 | self.lng = lng 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/GeocodingResponse.swift: -------------------------------------------------------------------------------- 1 | // 2 | // GeocodingResponse.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct GeocodingResponse: Codable { 12 | 13 | 14 | public var hits: [GeocodingLocation]? 15 | 16 | /** in ms */ 17 | public var took: BigDecimal? 18 | public init(hits: [GeocodingLocation]?, took: BigDecimal?) { 19 | self.hits = hits 20 | self.took = took 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/GroupRelation.swift: -------------------------------------------------------------------------------- 1 | // 2 | // GroupRelation.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct GroupRelation: Codable { 12 | 13 | 14 | /** Specifies the type of relation. It must be either of type `in_sequence` or `in_direct_sequence`. */ 15 | public var type: String 16 | 17 | /** An array of groups that should be related */ 18 | public var groups: [String] 19 | public init(type: String, groups: [String]) { 20 | self.type = type 21 | self.groups = groups 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/InfoResponse.swift: -------------------------------------------------------------------------------- 1 | // 2 | // InfoResponse.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | /** Information about the server and the geographical area that it covers. */ 11 | public struct InfoResponse: Codable { 12 | 13 | 14 | /** The version of the GraphHopper server that provided this response. This is not related to the API version. */ 15 | public var version: String? 16 | 17 | /** The bounding box of the geographical area covered by this GraphHopper instance. Format: `\"minLon,minLat,maxLon,maxLat\" */ 18 | public var bbox: String? 19 | 20 | /** The supported features, such as elevation, per vehicle profile. */ 21 | public var features: Any? 22 | public init(version: String?, bbox: String?, features: Any?) { 23 | self.version = version 24 | self.bbox = bbox 25 | self.features = features 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/InlineResponse404.swift: -------------------------------------------------------------------------------- 1 | // 2 | // InlineResponse404.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct InlineResponse404: Codable { 12 | 13 | 14 | /** Error message */ 15 | public var message: String? 16 | 17 | /** status */ 18 | public var status: String? 19 | public init(message: String?, status: String?) { 20 | self.message = message 21 | self.status = status 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/InternalErrorMessage.swift: -------------------------------------------------------------------------------- 1 | // 2 | // InternalErrorMessage.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct InternalErrorMessage: Codable { 12 | 13 | 14 | public var code: Int? 15 | 16 | /** Details */ 17 | public var message: String? 18 | public init(code: Int?, message: String?) { 19 | self.code = code 20 | self.message = message 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/IsochroneResponse.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IsochroneResponse.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct IsochroneResponse: Codable { 12 | 13 | 14 | /** The list of polygons in GeoJson format. It can be used e.g. in the Leaflet framework: ``` L.geoJson(json.polygons).addTo(map) ``` The number of polygon is identical to the specified buckets in the query. Every polygon contains the bucket number in the properties section of the GeoJson. */ 15 | public var polygons: [IsochroneResponsePolygon]? 16 | 17 | public var copyrights: [String]? 18 | public init(polygons: [IsochroneResponsePolygon]?, copyrights: [String]?) { 19 | self.polygons = polygons 20 | self.copyrights = copyrights 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/IsochroneResponsePolygon.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IsochroneResponsePolygon.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | /** A found path */ 11 | public struct IsochroneResponsePolygon: Codable { 12 | 13 | 14 | public var properties: IsochroneResponsePolygonProperties? 15 | 16 | public var type: String? 17 | 18 | public var geometry: Polygon? 19 | public init(properties: IsochroneResponsePolygonProperties?, type: String?, geometry: Polygon?) { 20 | self.properties = properties 21 | self.type = type 22 | self.geometry = geometry 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/IsochroneResponsePolygonProperties.swift: -------------------------------------------------------------------------------- 1 | // 2 | // IsochroneResponsePolygonProperties.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct IsochroneResponsePolygonProperties: Codable { 12 | 13 | 14 | public var bucket: Int? 15 | public init(bucket: Int?) { 16 | self.bucket = bucket 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/JobId.swift: -------------------------------------------------------------------------------- 1 | // 2 | // JobId.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct JobId: Codable { 12 | 13 | 14 | /** UUID. Unique id for your job/request with which you can fetch your solution */ 15 | public var jobId: UUID? 16 | public init(jobId: UUID?) { 17 | self.jobId = jobId 18 | } 19 | public enum CodingKeys: String, CodingKey { 20 | case jobId = "job_id" 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/LineString.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LineString.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct LineString: Codable { 12 | 13 | 14 | public var type: String? 15 | 16 | /** A list of coordinate pairs or triples, `[lon,lat]` or `[lon,lat,elevation]`. */ 17 | public var coordinates: [[BigDecimal]]? 18 | public init(type: String?, coordinates: [[BigDecimal]]?) { 19 | self.type = type 20 | self.coordinates = coordinates 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/Pickup.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Pickup.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct Pickup: Codable { 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/Polygon.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Polygon.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct Polygon: Codable { 12 | 13 | 14 | public var type: String? 15 | 16 | public var coordinates: [[[BigDecimal]]]? 17 | public init(type: String?, coordinates: [[[BigDecimal]]]?) { 18 | self.type = type 19 | self.coordinates = coordinates 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/ResponseInfo.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ResponseInfo.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | /** Additional information for your request */ 11 | public struct ResponseInfo: Codable { 12 | 13 | 14 | /** Attribution according to our documentation is necessary if no white-label option included. */ 15 | public var copyrights: [String]? 16 | 17 | public var took: Double? 18 | public init(copyrights: [String]?, took: Double?) { 19 | self.copyrights = copyrights 20 | self.took = took 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/RoutePoint.swift: -------------------------------------------------------------------------------- 1 | // 2 | // RoutePoint.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct RoutePoint: Codable { 12 | 13 | 14 | public var type: String? 15 | 16 | public var coordinates: [Any]? 17 | public init(type: String?, coordinates: [Any]?) { 18 | self.type = type 19 | self.coordinates = coordinates 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/RouteResponse.swift: -------------------------------------------------------------------------------- 1 | // 2 | // RouteResponse.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct RouteResponse: Codable { 12 | 13 | 14 | public var paths: [RouteResponsePath]? 15 | 16 | public var info: ResponseInfo? 17 | public init(paths: [RouteResponsePath]?, info: ResponseInfo?) { 18 | self.paths = paths 19 | self.info = info 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/SnappedWaypoint.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SnappedWaypoint.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | /** Access point to the (road)network. It is only available if `return_snapped_waypoints` is true (be default it is false). */ 11 | public struct SnappedWaypoint: Codable { 12 | 13 | 14 | /** Longitude of location. */ 15 | public var lon: Double? 16 | 17 | /** Latitude of location. */ 18 | public var lat: Double? 19 | public init(lon: Double?, lat: Double?) { 20 | self.lon = lon 21 | self.lat = lat 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/SolutionUnassigned.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SolutionUnassigned.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct SolutionUnassigned: Codable { 12 | 13 | 14 | /** An array of ids of unassigned services */ 15 | public var services: [String]? 16 | 17 | /** An array of ids of unassigned shipments */ 18 | public var shipments: [String]? 19 | 20 | /** An array of ids of unassigned breaks */ 21 | public var breaks: [String]? 22 | 23 | /** An array of details, i.e. reason for unassigned services or shipments */ 24 | public var details: [Detail]? 25 | public init(services: [String]?, shipments: [String]?, breaks: [String]?, details: [Detail]?) { 26 | self.services = services 27 | self.shipments = shipments 28 | self.breaks = breaks 29 | self.details = details 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/TimeWindow.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TimeWindow.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct TimeWindow: Codable { 12 | 13 | 14 | /** Specifies the opening time of the time window in seconds, i.e. the earliest time the service can start. */ 15 | public var earliest: Int64? 16 | 17 | /** Specifies the closing time of the time window in seconds, i.e. the latest time the service can start. */ 18 | public var latest: Int64? 19 | public init(earliest: Int64?, latest: Int64?) { 20 | self.earliest = earliest 21 | self.latest = latest 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/TimeWindowBreak.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TimeWindowBreak.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | 11 | public struct TimeWindowBreak: Codable { 12 | 13 | 14 | /** Specifies the earliest start time of the break in seconds. */ 15 | public var earliest: Int64 16 | 17 | /** Specifies the latest start time of break in seconds. */ 18 | public var latest: Int64 19 | 20 | /** Specifies the duration of the break in seconds. */ 21 | public var duration: Int64 22 | public init(earliest: Int64, latest: Int64, duration: Int64) { 23 | self.earliest = earliest 24 | self.latest = latest 25 | self.duration = duration 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /swift4/SwaggerClient/Classes/Swaggers/Models/VehicleProfileId.swift: -------------------------------------------------------------------------------- 1 | // 2 | // VehicleProfileId.swift 3 | // 4 | // Generated by swagger-codegen 5 | // https://github.com/swagger-api/swagger-codegen 6 | // 7 | 8 | import Foundation 9 | 10 | public enum VehicleProfileId: String, Codable { 11 | case car = "car" 12 | case bike = "bike" 13 | case foot = "foot" 14 | case hike = "hike" 15 | case mtb = "mtb" 16 | case racingbike = "racingbike" 17 | case scooter = "scooter" 18 | case truck = "truck" 19 | case smallTruck = "small_truck" 20 | } --------------------------------------------------------------------------------