Package com.veeroute.lss.studio.model
Class UniversalData
java.lang.Object
com.veeroute.lss.studio.model.UniversalData
@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 UniversalData
extends Object
VRt.Universal JSON format. A general list of data and settings that combines all data for planning, replaning and actualization.
-
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 UniversalDataCreate an instance of UniversalData 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 replanSettingsGet statisticsAvailable 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) voidsetStatistics(PlanStatistics statistics) voidsetTransports(Set<Transport> transports) voidstatistics(PlanStatistics statistics) toJson()Convert an instance of UniversalData 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_STATISTICS
- See Also:
-
SERIALIZED_NAME_EXTERNAL_ROUTING
- See Also:
-
SERIALIZED_NAME_PLAN_SETTINGS
- See Also:
-
SERIALIZED_NAME_REPLAN_SETTINGS
- See Also:
-
SERIALIZED_NAME_ACTUALIZE_SETTINGS
- See Also:
-
SERIALIZED_NAME_DATASET_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UniversalData
public UniversalData()
-
-
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
-
statistics
-
getStatistics
Get statistics- Returns:
- statistics
-
setStatistics
-
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
-
replanSettings
-
getReplanSettings
Get replanSettings- Returns:
- replanSettings
-
setReplanSettings
-
actualizeSettings
-
getActualizeSettings
Get actualizeSettings- Returns:
- actualizeSettings
-
setActualizeSettings
-
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 UniversalData 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 UniversalData
-
fromJson
Create an instance of UniversalData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UniversalData
- Throws:
IOException- if the JSON string is invalid with respect to UniversalData
-
toJson
Convert an instance of UniversalData to an JSON string- Returns:
- JSON string
-