Package com.veeroute.lss.studio.model
Class ModelBreak
java.lang.Object
com.veeroute.lss.studio.model.ModelBreak
@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 ModelBreak
extends Object
The condition for the onset and characteristics of a break.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ModelBreakCreate an instance of ModelBreak 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 ModelBreak 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
-
ModelBreak
public ModelBreak()
-
-
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 ModelBreak 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 ModelBreak
-
fromJson
Create an instance of ModelBreak given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ModelBreak
- Throws:
IOException- if the JSON string is invalid with respect to ModelBreak
-
toJson
Convert an instance of ModelBreak to an JSON string- Returns:
- JSON string
-