Package com.veeroute.lss.universal.model
Class PlanTask
java.lang.Object
com.veeroute.lss.universal.model.PlanTask
@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 PlanTask
extends Object
Task for planning
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExternalRoutingItem(RoutingTransportMatrix externalRoutingItem) addHardlinksItem(Hardlink hardlinksItem) addLocationsItem(Location locationsItem) addOrdersItem(Order ordersItem) addPerformersItem(Performer performersItem) addTransportsItem(Transport transportsItem) datasetName(String datasetName) booleanexternalRouting(Set<RoutingTransportMatrix> externalRouting) static PlanTaskCreate an instance of PlanTask given an JSON stringReturn 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.Assignments list.List of locations used for orders and shifts.List of orders that need to be completed.Available performers list.Get planSettingsAvailable transports 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.voidsetDatasetName(String datasetName) voidsetExternalRouting(Set<RoutingTransportMatrix> externalRouting) voidsetHardlinks(Set<Hardlink> hardlinks) voidsetLocations(Set<Location> locations) voidvoidsetPerformers(Set<Performer> performers) voidsetPlanSettings(PlanSettings planSettings) voidsetTransports(Set<Transport> transports) toJson()Convert an instance of PlanTask 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_PLAN_SETTINGS
- See Also:
-
SERIALIZED_NAME_EXTERNAL_ROUTING
- See Also:
-
SERIALIZED_NAME_DATASET_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PlanTask
public PlanTask()
-
-
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
-
planSettings
-
getPlanSettings
Get planSettings- Returns:
- planSettings
-
setPlanSettings
-
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
-
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 PlanTask 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 PlanTask
-
fromJson
Create an instance of PlanTask given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PlanTask
- Throws:
IOException- if the JSON string is invalid with respect to PlanTask
-
toJson
Convert an instance of PlanTask to an JSON string- Returns:
- JSON string
-