Package com.veeroute.lss.studio.model
Class Rest
java.lang.Object
com.veeroute.lss.studio.model.Rest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:57.513559297+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class Rest
extends Object
The condition for the onset and characteristics of a rest.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RestCreate an instance of Rest 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`.inthashCode()operatingDurationSum(String operatingDurationSum) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relocatingDurationSum(String relocatingDurationSum) voidsetDuration(String duration) voidsetOperatingDurationSum(String operatingDurationSum) voidsetRelocatingDurationSum(String relocatingDurationSum) toJson()Convert an instance of Rest 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_RELOCATING_DURATION_SUM
- See Also:
-
SERIALIZED_NAME_OPERATING_DURATION_SUM
- See Also:
-
SERIALIZED_NAME_DURATION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Rest
public Rest()
-
-
Method Details
-
relocatingDurationSum
-
getRelocatingDurationSum
Time duration according to `P1DT2H12M34.2S`.- Returns:
- relocatingDurationSum
-
setRelocatingDurationSum
-
operatingDurationSum
-
getOperatingDurationSum
Time duration according to `P1DT2H12M34.2S`.- Returns:
- operatingDurationSum
-
setOperatingDurationSum
-
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 Rest 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 Rest
-
fromJson
Create an instance of Rest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Rest
- Throws:
IOException- if the JSON string is invalid with respect to Rest
-
toJson
Convert an instance of Rest to an JSON string- Returns:
- JSON string
-