Class UniversalData

java.lang.Object
com.veeroute.lss.universal.model.UniversalData

@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 UniversalData extends Object
VRt.Universal JSON format. A general list of data and settings that combines all data for planning, replaning and actualization.
  • Field Details

  • Constructor Details

    • UniversalData

      public UniversalData()
  • Method Details

    • locations

      public UniversalData locations(@Nullable Set<Location> locations)
    • addLocationsItem

      public UniversalData addLocationsItem(Location locationsItem)
    • getLocations

      @Nullable public Set<Location> getLocations()
      List of locations used for orders and shifts.
      Returns:
      locations
    • setLocations

      public void setLocations(@Nullable Set<Location> locations)
    • orders

      public UniversalData orders(@Nullable Set<Order> orders)
    • addOrdersItem

      public UniversalData addOrdersItem(Order ordersItem)
    • getOrders

      @Nullable public Set<Order> getOrders()
      List of orders that need to be completed.
      Returns:
      orders
    • setOrders

      public void setOrders(@Nullable Set<Order> orders)
    • performers

      public UniversalData performers(@Nullable Set<Performer> performers)
    • addPerformersItem

      public UniversalData addPerformersItem(Performer performersItem)
    • getPerformers

      @Nullable public Set<Performer> getPerformers()
      Available performers list. The performer fulfills orders using transport.
      Returns:
      performers
    • setPerformers

      public void setPerformers(@Nullable Set<Performer> performers)
    • transports

      public UniversalData transports(@Nullable Set<Transport> transports)
    • addTransportsItem

      public UniversalData addTransportsItem(Transport transportsItem)
    • getTransports

      @Nullable public Set<Transport> getTransports()
      Available transports list. Transport is used by the trip performer to fulfill orders.
      Returns:
      transports
    • setTransports

      public void setTransports(@Nullable Set<Transport> transports)
    • hardlinks

      public UniversalData hardlinks(@Nullable Set<Hardlink> hardlinks)
    • addHardlinksItem

      public UniversalData addHardlinksItem(Hardlink hardlinksItem)
    • getHardlinks

      @Nullable public Set<Hardlink> getHardlinks()
      Assignments list.
      Returns:
      hardlinks
    • setHardlinks

      public void setHardlinks(@Nullable Set<Hardlink> hardlinks)
    • trips

      public UniversalData trips(@Nullable Set<Trip> trips)
    • addTripsItem

      public UniversalData addTripsItem(Trip tripsItem)
    • getTrips

      @Nullable public Set<Trip> 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

      public void setTrips(@Nullable Set<Trip> trips)
    • facts

      public UniversalData facts(@Nullable Set<Fact> facts)
    • addFactsItem

      public UniversalData addFactsItem(Fact factsItem)
    • getFacts

      @Nullable public Set<Fact> getFacts()
      List of facts. A fact is an event that has occurred that affects further trip operations.
      Returns:
      facts
    • setFacts

      public void setFacts(@Nullable Set<Fact> facts)
    • statistics

      public UniversalData statistics(@Nullable PlanStatistics statistics)
    • getStatistics

      @Nullable public PlanStatistics getStatistics()
      Get statistics
      Returns:
      statistics
    • setStatistics

      public void setStatistics(@Nullable PlanStatistics statistics)
    • externalRouting

      public UniversalData externalRouting(@Nullable Set<RoutingTransportMatrix> externalRouting)
    • addExternalRoutingItem

      public UniversalData addExternalRoutingItem(RoutingTransportMatrix externalRoutingItem)
    • getExternalRouting

      @Nullable public Set<RoutingTransportMatrix> 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

      public void setExternalRouting(@Nullable Set<RoutingTransportMatrix> externalRouting)
    • planSettings

      public UniversalData planSettings(@Nullable PlanSettings planSettings)
    • getPlanSettings

      @Nullable public PlanSettings getPlanSettings()
      Get planSettings
      Returns:
      planSettings
    • setPlanSettings

      public void setPlanSettings(@Nullable PlanSettings planSettings)
    • replanSettings

      public UniversalData replanSettings(@Nullable ReplanSettings replanSettings)
    • getReplanSettings

      @Nullable public ReplanSettings getReplanSettings()
      Get replanSettings
      Returns:
      replanSettings
    • setReplanSettings

      public void setReplanSettings(@Nullable ReplanSettings replanSettings)
    • actualizeSettings

      public UniversalData actualizeSettings(@Nullable ActualizeSettings actualizeSettings)
    • getActualizeSettings

      @Nullable public ActualizeSettings getActualizeSettings()
      Get actualizeSettings
      Returns:
      actualizeSettings
    • setActualizeSettings

      public void setActualizeSettings(@Nullable ActualizeSettings actualizeSettings)
    • datasetName

      public UniversalData datasetName(@Nullable String datasetName)
    • getDatasetName

      @Nullable public String getDatasetName()
      The name of the dataset. A technical field that does not affect calculation.
      Returns:
      datasetName
    • setDatasetName

      public void setDatasetName(@Nullable String datasetName)
    • putAdditionalProperty

      public UniversalData putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the UniversalData instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static UniversalData fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of UniversalData to an JSON string
      Returns:
      JSON string