Package com.veeroute.lss.universal.model
Class ReplanTask
java.lang.Object
com.veeroute.lss.universal.model.ReplanTask
@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 ReplanTask
extends Object
Task for replanning.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactualizeSettings(ActualizeSettings actualizeSettings) addExternalRoutingItem(RoutingTransportMatrix externalRoutingItem) addFactsItem(Fact factsItem) addHardlinksItem(Hardlink hardlinksItem) addLocationsItem(Location locationsItem) addOrdersItem(Order ordersItem) addPerformersItem(Performer performersItem) addTransportsItem(Transport transportsItem) addTripsItem(Trip tripsItem) datasetName(String datasetName) booleanexternalRouting(Set<RoutingTransportMatrix> externalRouting) static ReplanTaskCreate an instance of ReplanTask given an JSON stringGet actualizeSettingsReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The name of the dataset.List of matrices of times and distances for each type of transport that are indicated in the data.getFacts()List of facts.Assignments list.List of locations used for orders and shifts.List of orders that need to be completed.Available performers list.Get planSettingsGet replanSettingsAvailable transports list.getTrips()Trip list.inthashCode()performers(Set<Performer> performers) planSettings(PlanSettings planSettings) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.replanSettings(ReplanSettings replanSettings) voidsetActualizeSettings(ActualizeSettings actualizeSettings) voidsetDatasetName(String datasetName) voidsetExternalRouting(Set<RoutingTransportMatrix> externalRouting) voidvoidsetHardlinks(Set<Hardlink> hardlinks) voidsetLocations(Set<Location> locations) voidvoidsetPerformers(Set<Performer> performers) voidsetPlanSettings(PlanSettings planSettings) voidsetReplanSettings(ReplanSettings replanSettings) voidsetTransports(Set<Transport> transports) voidtoJson()Convert an instance of ReplanTask to an JSON stringtoString()transports(Set<Transport> transports) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LOCATIONS
- See Also:
-
SERIALIZED_NAME_ORDERS
- See Also:
-
SERIALIZED_NAME_PERFORMERS
- See Also:
-
SERIALIZED_NAME_TRANSPORTS
- See Also:
-
SERIALIZED_NAME_HARDLINKS
- See Also:
-
SERIALIZED_NAME_TRIPS
- See Also:
-
SERIALIZED_NAME_FACTS
- See Also:
-
SERIALIZED_NAME_EXTERNAL_ROUTING
- See Also:
-
SERIALIZED_NAME_PLAN_SETTINGS
- See Also:
-
SERIALIZED_NAME_ACTUALIZE_SETTINGS
- See Also:
-
SERIALIZED_NAME_REPLAN_SETTINGS
- See Also:
-
SERIALIZED_NAME_DATASET_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ReplanTask
public ReplanTask()
-
-
Method Details
-
locations
-
addLocationsItem
-
getLocations
List of locations used for orders and shifts.- Returns:
- locations
-
setLocations
-
orders
-
addOrdersItem
-
getOrders
List of orders that need to be completed.- Returns:
- orders
-
setOrders
-
performers
-
addPerformersItem
-
getPerformers
Available performers list. The performer fulfills orders using transport.- Returns:
- performers
-
setPerformers
-
transports
-
addTransportsItem
-
getTransports
Available transports list. Transport is used by the trip performer to fulfill orders.- Returns:
- transports
-
setTransports
-
hardlinks
-
addHardlinksItem
-
getHardlinks
Assignments list.- Returns:
- hardlinks
-
setHardlinks
-
trips
-
addTripsItem
-
getTrips
Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a [change in the states](#/section/description/trip-model) of the performer.- Returns:
- trips
-
setTrips
-
facts
-
addFactsItem
-
getFacts
List of facts. A fact is an event that has occurred that affects further trip operations.- Returns:
- facts
-
setFacts
-
externalRouting
-
addExternalRoutingItem
-
getExternalRouting
List of matrices of times and distances for each type of transport that are indicated in the data. The matrix should describe all locations for each type of transport from the data. When specifying an external routing matrix `external_routing`, the `plan_settings.geo_settings` parameters are not taken into account.- Returns:
- externalRouting
-
setExternalRouting
-
planSettings
-
getPlanSettings
Get planSettings- Returns:
- planSettings
-
setPlanSettings
-
actualizeSettings
-
getActualizeSettings
Get actualizeSettings- Returns:
- actualizeSettings
-
setActualizeSettings
-
replanSettings
-
getReplanSettings
Get replanSettings- Returns:
- replanSettings
-
setReplanSettings
-
datasetName
-
getDatasetName
The name of the dataset. A technical field that does not affect calculation.- Returns:
- datasetName
-
setDatasetName
-
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 ReplanTask 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 ReplanTask
-
fromJson
Create an instance of ReplanTask given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReplanTask
- Throws:
IOException- if the JSON string is invalid with respect to ReplanTask
-
toJson
Convert an instance of ReplanTask to an JSON string- Returns:
- JSON string
-