Package com.veeroute.lss.monitor.model
Class Measurements
java.lang.Object
com.veeroute.lss.monitor.model.Measurements
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:38.388455705+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class Measurements
extends Object
Measurements of times and distances for work on location, individual trips and planning in general.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarrivingTime(String arrivingTime) departureTime(String departureTime) drivingTime(String drivingTime) booleanstatic MeasurementsCreate an instance of Measurements given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Time duration according to `P1DT2H12M34.2S`.Time duration according to `P1DT2H12M34.2S`.Time duration according to `P1DT2H12M34.2S`.Distance in meters.Time duration according to `P1DT2H12M34.2S`.Time duration according to `P1DT2H12M34.2S`.Get timeWindowTime duration according to `P1DT2H12M34.2S`.Time duration according to `P1DT2H12M34.2S`.Time duration according to `P1DT2H12M34.2S`.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetArrivingTime(String arrivingTime) voidsetBreakTime(String breakTime) voidsetDepartureTime(String departureTime) voidsetDistance(Integer distance) voidsetDrivingTime(String drivingTime) voidsetRestTime(String restTime) voidsetTimeWindow(TimeWindow timeWindow) voidsetTotalTime(String totalTime) voidsetWaitingTime(String waitingTime) voidsetWorkingTime(String workingTime) timeWindow(TimeWindow timeWindow) toJson()Convert an instance of Measurements to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundwaitingTime(String waitingTime) workingTime(String workingTime)
-
Field Details
-
SERIALIZED_NAME_TIME_WINDOW
- See Also:
-
SERIALIZED_NAME_DRIVING_TIME
- See Also:
-
SERIALIZED_NAME_WAITING_TIME
- See Also:
-
SERIALIZED_NAME_WORKING_TIME
- See Also:
-
SERIALIZED_NAME_BREAK_TIME
- See Also:
-
SERIALIZED_NAME_REST_TIME
- See Also:
-
SERIALIZED_NAME_ARRIVING_TIME
- See Also:
-
SERIALIZED_NAME_DEPARTURE_TIME
- See Also:
-
SERIALIZED_NAME_TOTAL_TIME
- See Also:
-
SERIALIZED_NAME_DISTANCE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Measurements
public Measurements()
-
-
Method Details
-
timeWindow
-
getTimeWindow
Get timeWindow- Returns:
- timeWindow
-
setTimeWindow
-
drivingTime
-
getDrivingTime
Time duration according to `P1DT2H12M34.2S`.- Returns:
- drivingTime
-
setDrivingTime
-
waitingTime
-
getWaitingTime
Time duration according to `P1DT2H12M34.2S`.- Returns:
- waitingTime
-
setWaitingTime
-
workingTime
-
getWorkingTime
Time duration according to `P1DT2H12M34.2S`.- Returns:
- workingTime
-
setWorkingTime
-
breakTime
-
getBreakTime
Time duration according to `P1DT2H12M34.2S`.- Returns:
- breakTime
-
setBreakTime
-
restTime
-
getRestTime
Time duration according to `P1DT2H12M34.2S`.- Returns:
- restTime
-
setRestTime
-
arrivingTime
-
getArrivingTime
Time duration according to `P1DT2H12M34.2S`.- Returns:
- arrivingTime
-
setArrivingTime
-
departureTime
-
getDepartureTime
Time duration according to `P1DT2H12M34.2S`.- Returns:
- departureTime
-
setDepartureTime
-
totalTime
-
getTotalTime
Time duration according to `P1DT2H12M34.2S`.- Returns:
- totalTime
-
setTotalTime
-
distance
-
getDistance
Distance in meters. minimum: 0 maximum: 4000000000- Returns:
- distance
-
setDistance
-
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 Measurements 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 Measurements
-
fromJson
Create an instance of Measurements given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Measurements
- Throws:
IOException- if the JSON string is invalid with respect to Measurements
-
toJson
Convert an instance of Measurements to an JSON string- Returns:
- JSON string
-