Package com.veeroute.lss.routing.model
Class RouteTask
java.lang.Object
com.veeroute.lss.routing.model.RouteTask
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:52.805996699+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class RouteTask
extends Object
Task for route planning. The departure time considers traffic jams.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWaypointsItem(RouteWaypoint waypointsItem) datasetName(String datasetName) departureTime(OffsetDateTime departureTime) booleanstatic RouteTaskCreate an instance of RouteTask given an JSON stringfullSegments(Boolean fullSegments) geoSettings(GeoSettings geoSettings) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The name of the dataset.Departure date and time according to the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6).Building a detailed route - adds paths from points that are not on roads to nearby roads.Return a complete list of route segments.Get geoSettingsGenerate a polyline between points.Timezone.Generate times at intermediate points along the track.Get transportTypeArray of geographical points to build path between them.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resultTimezone(Integer resultTimezone) voidsetDatasetName(String datasetName) voidsetDepartureTime(OffsetDateTime departureTime) voidvoidsetFullSegments(Boolean fullSegments) voidsetGeoSettings(GeoSettings geoSettings) voidsetPolyline(Boolean polyline) voidsetResultTimezone(Integer resultTimezone) voidsetTrackpointTime(Boolean trackpointTime) voidsetTransportType(TransportType transportType) voidsetWaypoints(List<RouteWaypoint> waypoints) toJson()Convert an instance of RouteTask to an JSON stringtoString()trackpointTime(Boolean trackpointTime) transportType(TransportType transportType) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundwaypoints(List<RouteWaypoint> waypoints)
-
Field Details
-
SERIALIZED_NAME_WAYPOINTS
- See Also:
-
SERIALIZED_NAME_TRANSPORT_TYPE
- See Also:
-
SERIALIZED_NAME_GEO_SETTINGS
- See Also:
-
SERIALIZED_NAME_DEPARTURE_TIME
- See Also:
-
SERIALIZED_NAME_RESULT_TIMEZONE
- See Also:
-
SERIALIZED_NAME_DETAIL
- See Also:
-
SERIALIZED_NAME_FULL_SEGMENTS
- See Also:
-
SERIALIZED_NAME_POLYLINE
- See Also:
-
SERIALIZED_NAME_TRACKPOINT_TIME
- See Also:
-
SERIALIZED_NAME_DATASET_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RouteTask
public RouteTask()
-
-
Method Details
-
waypoints
-
addWaypointsItem
-
getWaypoints
Array of geographical points to build path between them.- Returns:
- waypoints
-
setWaypoints
-
transportType
-
getTransportType
Get transportType- Returns:
- transportType
-
setTransportType
-
geoSettings
-
getGeoSettings
Get geoSettings- Returns:
- geoSettings
-
setGeoSettings
-
departureTime
-
getDepartureTime
Departure date and time according to the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6).- Returns:
- departureTime
-
setDepartureTime
-
resultTimezone
-
getResultTimezone
Timezone. minimum: -12 maximum: 12- Returns:
- resultTimezone
-
setResultTimezone
-
detail
-
getDetail
Building a detailed route - adds paths from points that are not on roads to nearby roads.- Returns:
- detail
-
setDetail
-
fullSegments
-
getFullSegments
Return a complete list of route segments. If the option is disabled, a short list is returned for simplified route display.- Returns:
- fullSegments
-
setFullSegments
-
polyline
-
getPolyline
Generate a polyline between points.- Returns:
- polyline
-
setPolyline
-
trackpointTime
-
getTrackpointTime
Generate times at intermediate points along the track.- Returns:
- trackpointTime
-
setTrackpointTime
-
datasetName
-
getDatasetName
The name of the dataset. A technical field that does not affect calculation.- Returns:
- datasetName
-
setDatasetName
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the RouteTask instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to RouteTask
-
fromJson
Create an instance of RouteTask given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RouteTask
- Throws:
IOException- if the JSON string is invalid with respect to RouteTask
-
toJson
Convert an instance of RouteTask to an JSON string- Returns:
- JSON string
-