Package com.veeroute.lss.routing.model
Class RouteStatistics
java.lang.Object
com.veeroute.lss.routing.model.RouteStatistics
@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 RouteStatistics
extends Object
General route statistics.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RouteStatisticsCreate an instance of RouteStatistics given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Total length, in meters.Time duration according to `P1DT2H12M34.2S`.Time duration according to `P1DT2H12M34.2S`.Time window for the beginning and end of the movement.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDistance(Integer distance) voidsetDuration(String duration) voidsetStoppingTime(String stoppingTime) voidsetTimeWindow(TimeWindow timeWindow) stoppingTime(String stoppingTime) timeWindow(TimeWindow timeWindow) toJson()Convert an instance of RouteStatistics 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_TIME_WINDOW
- See Also:
-
SERIALIZED_NAME_DISTANCE
- See Also:
-
SERIALIZED_NAME_DURATION
- See Also:
-
SERIALIZED_NAME_STOPPING_TIME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RouteStatistics
public RouteStatistics()
-
-
Method Details
-
timeWindow
-
getTimeWindow
Time window for the beginning and end of the movement.- Returns:
- timeWindow
-
setTimeWindow
-
distance
-
getDistance
Total length, in meters. minimum: 0 maximum: 40000000- Returns:
- distance
-
setDistance
-
duration
-
getDuration
Time duration according to `P1DT2H12M34.2S`.- Returns:
- duration
-
setDuration
-
stoppingTime
-
getStoppingTime
Time duration according to `P1DT2H12M34.2S`.- Returns:
- stoppingTime
-
setStoppingTime
-
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 RouteStatistics 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 RouteStatistics
-
fromJson
Create an instance of RouteStatistics given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RouteStatistics
- Throws:
IOException- if the JSON string is invalid with respect to RouteStatistics
-
toJson
Convert an instance of RouteStatistics to an JSON string- Returns:
- JSON string
-