Package com.veeroute.lss.routing.model
Class MatrixTask
java.lang.Object
com.veeroute.lss.routing.model.MatrixTask
@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 MatrixTask
extends Object
Task for calculating a matrix.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWaypointsItem(RoutingMatrixWaypoint waypointsItem) datasetName(String datasetName) departureTime(OffsetDateTime departureTime) booleanstatic MatrixTaskCreate an instance of MatrixTask given an JSON stringgeoSettings(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).Get geoSettingsGet transportTypeArray of geographical points to calculate the distances and times between them.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDatasetName(String datasetName) voidsetDepartureTime(OffsetDateTime departureTime) voidsetGeoSettings(GeoSettings geoSettings) voidsetTransportType(TransportType transportType) voidsetWaypoints(List<RoutingMatrixWaypoint> waypoints) toJson()Convert an instance of MatrixTask to an JSON stringtoString()transportType(TransportType transportType) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundwaypoints(List<RoutingMatrixWaypoint> 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_DATASET_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MatrixTask
public MatrixTask()
-
-
Method Details
-
waypoints
-
addWaypointsItem
-
getWaypoints
Array of geographical points to calculate the distances and times between them. The for all matrices (with different `transport_type`) must be in the same order.- 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
-
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 MatrixTask 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 MatrixTask
-
fromJson
Create an instance of MatrixTask given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MatrixTask
- Throws:
IOException- if the JSON string is invalid with respect to MatrixTask
-
toJson
Convert an instance of MatrixTask to an JSON string- Returns:
- JSON string
-