Package com.veeroute.lss.monitor.model
Class PerformerShift
java.lang.Object
com.veeroute.lss.monitor.model.PerformerShift
@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 PerformerShift
extends Object
Performer's shift that determines the availability of the resource for planning within its time window.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem(Attribute attributesItem) attributes(Set<Attribute> attributes) availabilityTime(TimeWindow availabilityTime) booleanfinishLocationKey(String finishLocationKey) static PerformerShiftCreate an instance of PerformerShift given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes.Time shift window when the performer can perform work at locations and drive between locations.Finish location key.getKey()Shift key, unique identifier.Limit of the number of unique locations in one trip.Limit of the number of stops in one trip.getName()Name, information field.Start location key.Get tariffGet workAndRestRulesWorking time window, when the performer can perform work at locations, must be inside the time window.inthashCode()maxLocations(Integer maxLocations) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(Set<Attribute> attributes) voidsetAvailabilityTime(TimeWindow availabilityTime) voidsetFinishLocationKey(String finishLocationKey) voidvoidsetMaxLocations(Integer maxLocations) voidsetMaxStops(Integer maxStops) voidvoidsetStartLocationKey(String startLocationKey) voidsetTariff(PerformerTariff tariff) voidsetWorkAndRestRules(WorkAndRestRules workAndRestRules) voidsetWorkingTime(TimeWindow workingTime) startLocationKey(String startLocationKey) tariff(PerformerTariff tariff) toJson()Convert an instance of PerformerShift to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundworkAndRestRules(WorkAndRestRules workAndRestRules) workingTime(TimeWindow workingTime)
-
Field Details
-
SERIALIZED_NAME_KEY
- See Also:
-
SERIALIZED_NAME_AVAILABILITY_TIME
- See Also:
-
SERIALIZED_NAME_WORKING_TIME
- See Also:
-
SERIALIZED_NAME_START_LOCATION_KEY
- See Also:
-
SERIALIZED_NAME_FINISH_LOCATION_KEY
- See Also:
-
SERIALIZED_NAME_MAX_LOCATIONS
- See Also:
-
SERIALIZED_NAME_MAX_STOPS
- See Also:
-
SERIALIZED_NAME_TARIFF
- See Also:
-
SERIALIZED_NAME_WORK_AND_REST_RULES
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PerformerShift
public PerformerShift()
-
-
Method Details
-
key
-
getKey
Shift key, unique identifier.- Returns:
- key
-
setKey
-
availabilityTime
-
getAvailabilityTime
Time shift window when the performer can perform work at locations and drive between locations.- Returns:
- availabilityTime
-
setAvailabilityTime
-
workingTime
-
getWorkingTime
Working time window, when the performer can perform work at locations, must be inside the time window.- Returns:
- workingTime
-
setWorkingTime
-
startLocationKey
-
getStartLocationKey
Start location key. If not specified, the trip starts from the first order location.- Returns:
- startLocationKey
-
setStartLocationKey
-
finishLocationKey
-
getFinishLocationKey
Finish location key. If not specified, the trip finishes on the last order location.- Returns:
- finishLocationKey
-
setFinishLocationKey
-
maxLocations
-
getMaxLocations
Limit of the number of unique locations in one trip. If not specified or null, number of locations is not limited. minimum: 1 maximum: 1000- Returns:
- maxLocations
-
setMaxLocations
-
maxStops
-
getMaxStops
Limit of the number of stops in one trip. If not specified or null, number of stops is not limited. minimum: 1 maximum: 1000- Returns:
- maxStops
-
setMaxStops
-
tariff
-
getTariff
Get tariff- Returns:
- tariff
-
setTariff
-
workAndRestRules
-
getWorkAndRestRules
Get workAndRestRules- Returns:
- workAndRestRules
-
setWorkAndRestRules
-
name
-
getName
Name, information field.- Returns:
- name
-
setName
-
attributes
-
addAttributesItem
-
getAttributes
Attributes. Used to add service information.- Returns:
- attributes
-
setAttributes
-
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 PerformerShift 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 PerformerShift
-
fromJson
Create an instance of PerformerShift given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PerformerShift
- Throws:
IOException- if the JSON string is invalid with respect to PerformerShift
-
toJson
Convert an instance of PerformerShift to an JSON string- Returns:
- JSON string
-