Package com.veeroute.lss.routing.model
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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondepartureTime(OffsetDateTime departureTime) booleanstatic RouteWaypointCreate an instance of RouteWaypoint given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Departure date and time in [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.Time duration according to `P1DT2H12M34.2S`.Get geopointgetName()Name of the point.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDepartureTime(OffsetDateTime departureTime) voidsetDuration(String duration) voidsetGeopoint(Geopoint geopoint) voidtoJson()Convert an instance of RouteWaypoint to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_GEOPOINT
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DEPARTURE_TIME
- See Also:
-
SERIALIZED_NAME_DURATION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RouteWaypoint
public RouteWaypoint()
-
-
Method Details
-
geopoint
-
getGeopoint
Get geopoint- Returns:
- geopoint
-
setGeopoint
-
name
-
getName
Name of the point. Can be used as an identifier to match the task and the calculation result.- Returns:
- name
-
setName
-
departureTime
-
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
-
duration
-
getDuration
Time duration according to `P1DT2H12M34.2S`.- Returns:
- duration
-
setDuration
-
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 RouteWaypoint 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 RouteWaypoint
-
fromJson
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
Convert an instance of RouteWaypoint to an JSON string- Returns:
- JSON string
-