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

  • Constructor Details

    • RouteTask

      public RouteTask()
  • Method Details

    • waypoints

      public RouteTask waypoints(@Nonnull List<RouteWaypoint> waypoints)
    • addWaypointsItem

      public RouteTask addWaypointsItem(RouteWaypoint waypointsItem)
    • getWaypoints

      @Nonnull public List<RouteWaypoint> getWaypoints()
      Array of geographical points to build path between them.
      Returns:
      waypoints
    • setWaypoints

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

      public RouteTask transportType(@Nullable TransportType transportType)
    • getTransportType

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

      public void setTransportType(@Nullable TransportType transportType)
    • geoSettings

      public RouteTask geoSettings(@Nullable GeoSettings geoSettings)
    • getGeoSettings

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

      public void setGeoSettings(@Nullable GeoSettings geoSettings)
    • departureTime

      public RouteTask 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)
    • resultTimezone

      public RouteTask resultTimezone(@Nullable Integer resultTimezone)
    • getResultTimezone

      @Nullable public Integer getResultTimezone()
      Timezone. minimum: -12 maximum: 12
      Returns:
      resultTimezone
    • setResultTimezone

      public void setResultTimezone(@Nullable Integer resultTimezone)
    • detail

      public RouteTask detail(@Nullable Boolean detail)
    • getDetail

      @Nullable public Boolean getDetail()
      Building a detailed route - adds paths from points that are not on roads to nearby roads.
      Returns:
      detail
    • setDetail

      public void setDetail(@Nullable Boolean detail)
    • fullSegments

      public RouteTask fullSegments(@Nullable Boolean fullSegments)
    • getFullSegments

      @Nullable public Boolean 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

      public void setFullSegments(@Nullable Boolean fullSegments)
    • polyline

      public RouteTask polyline(@Nullable Boolean polyline)
    • getPolyline

      @Nullable public Boolean getPolyline()
      Generate a polyline between points.
      Returns:
      polyline
    • setPolyline

      public void setPolyline(@Nullable Boolean polyline)
    • trackpointTime

      public RouteTask trackpointTime(@Nullable Boolean trackpointTime)
    • getTrackpointTime

      @Nullable public Boolean getTrackpointTime()
      Generate times at intermediate points along the track.
      Returns:
      trackpointTime
    • setTrackpointTime

      public void setTrackpointTime(@Nullable Boolean trackpointTime)
    • datasetName

      public RouteTask 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 RouteTask 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 RouteTask 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 RouteTask
    • fromJson

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

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