Package com.veeroute.lss.universal.model
Class BreakRules
java.lang.Object
com.veeroute.lss.universal.model.BreakRules
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:48:07.156941043+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class BreakRules
extends Object
Rules for accounting for breaks.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumType of accounting for time spent moving between locations (total or continuous). -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconsecutive(ModelBreak consecutive) booleanfirst(ModelBreak first) static BreakRulesCreate an instance of BreakRules given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get consecutivegetFirst()The condition for the onset and characteristics of a first break.Type of accounting for time spent moving between locations (total or continuous).inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relocatingDurationType(BreakRules.RelocatingDurationTypeEnum relocatingDurationType) voidsetConsecutive(ModelBreak consecutive) voidsetFirst(ModelBreak first) voidsetRelocatingDurationType(BreakRules.RelocatingDurationTypeEnum relocatingDurationType) toJson()Convert an instance of BreakRules 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_FIRST
- See Also:
-
SERIALIZED_NAME_CONSECUTIVE
- See Also:
-
SERIALIZED_NAME_RELOCATING_DURATION_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
BreakRules
public BreakRules()
-
-
Method Details
-
first
-
getFirst
The condition for the onset and characteristics of a first break.- Returns:
- first
-
setFirst
-
consecutive
-
getConsecutive
Get consecutive- Returns:
- consecutive
-
setConsecutive
-
relocatingDurationType
public BreakRules relocatingDurationType(@Nullable BreakRules.RelocatingDurationTypeEnum relocatingDurationType) -
getRelocatingDurationType
Type of accounting for time spent moving between locations (total or continuous).- Returns:
- relocatingDurationType
-
setRelocatingDurationType
public void setRelocatingDurationType(@Nullable BreakRules.RelocatingDurationTypeEnum relocatingDurationType) -
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 BreakRules 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 BreakRules
-
fromJson
Create an instance of BreakRules given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BreakRules
- Throws:
IOException- if the JSON string is invalid with respect to BreakRules
-
toJson
Convert an instance of BreakRules to an JSON string- Returns:
- JSON string
-