Class RouteWaypoint

java.lang.Object
com.veeroute.lss.routing.model.RouteWaypoint

@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 RouteWaypoint extends Object
A waypoint with the time of the stop at it.
  • Field Details

  • Constructor Details

    • RouteWaypoint

      public RouteWaypoint()
  • Method Details

    • geopoint

      public RouteWaypoint geopoint(@Nonnull Geopoint geopoint)
    • getGeopoint

      @Nonnull public Geopoint getGeopoint()
      Get geopoint
      Returns:
      geopoint
    • setGeopoint

      public void setGeopoint(@Nonnull Geopoint geopoint)
    • name

      public RouteWaypoint name(@Nullable String name)
    • getName

      @Nullable public String getName()
      Name of the point. Can be used as an identifier to match the task and the calculation result.
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • departureTime

      public RouteWaypoint departureTime(@Nullable OffsetDateTime departureTime)
    • getDepartureTime

      @Nullable public OffsetDateTime getDepartureTime()
      Departure date and time in [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If specified, replaces the estimated time. If it is set for one point, it must be set for all.
      Returns:
      departureTime
    • setDepartureTime

      public void setDepartureTime(@Nullable OffsetDateTime departureTime)
    • duration

      public RouteWaypoint duration(@Nullable String duration)
    • getDuration

      @Nullable public String getDuration()
      Time duration according to `P1DT2H12M34.2S`.
      Returns:
      duration
    • setDuration

      public void setDuration(@Nullable String duration)
    • putAdditionalProperty

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

      public static RouteWaypoint fromJson(String jsonString) throws IOException
      Create an instance of RouteWaypoint given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of RouteWaypoint
      Throws:
      IOException - if the JSON string is invalid with respect to RouteWaypoint
    • toJson

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