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.
  • Field Details

  • Constructor Details

    • MatrixTask

      public MatrixTask()
  • Method Details

    • waypoints

      public MatrixTask waypoints(@Nonnull List<RoutingMatrixWaypoint> waypoints)
    • addWaypointsItem

      public MatrixTask addWaypointsItem(RoutingMatrixWaypoint waypointsItem)
    • getWaypoints

      @Nonnull public List<RoutingMatrixWaypoint> 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

      public void setWaypoints(@Nonnull List<RoutingMatrixWaypoint> waypoints)
    • transportType

      public MatrixTask transportType(@Nullable TransportType transportType)
    • getTransportType

      @Nullable public TransportType getTransportType()
      Get transportType
      Returns:
      transportType
    • setTransportType

      public void setTransportType(@Nullable TransportType transportType)
    • geoSettings

      public MatrixTask geoSettings(@Nullable GeoSettings geoSettings)
    • getGeoSettings

      @Nullable public GeoSettings getGeoSettings()
      Get geoSettings
      Returns:
      geoSettings
    • setGeoSettings

      public void setGeoSettings(@Nullable GeoSettings geoSettings)
    • departureTime

      public MatrixTask departureTime(@Nullable OffsetDateTime departureTime)
    • getDepartureTime

      @Nullable public OffsetDateTime getDepartureTime()
      Departure date and time according to the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6).
      Returns:
      departureTime
    • setDepartureTime

      public void setDepartureTime(@Nullable OffsetDateTime departureTime)
    • datasetName

      public MatrixTask datasetName(@Nullable String datasetName)
    • getDatasetName

      @Nullable public String getDatasetName()
      The name of the dataset. A technical field that does not affect calculation.
      Returns:
      datasetName
    • setDatasetName

      public void setDatasetName(@Nullable String datasetName)
    • putAdditionalProperty

      public MatrixTask putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the MatrixTask instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static MatrixTask fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of MatrixTask to an JSON string
      Returns:
      JSON string