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.
  • Field Details

  • Constructor Details

    • ReplanTask

      public ReplanTask()
  • Method Details

    • locations

      public ReplanTask locations(@Nonnull Set<Location> locations)
    • addLocationsItem

      public ReplanTask addLocationsItem(Location locationsItem)
    • getLocations

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

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

      public ReplanTask orders(@Nonnull Set<Order> orders)
    • addOrdersItem

      public ReplanTask addOrdersItem(Order ordersItem)
    • getOrders

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

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

      public ReplanTask performers(@Nonnull Set<Performer> performers)
    • addPerformersItem

      public ReplanTask addPerformersItem(Performer performersItem)
    • getPerformers

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

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

      public ReplanTask transports(@Nonnull Set<Transport> transports)
    • addTransportsItem

      public ReplanTask addTransportsItem(Transport transportsItem)
    • getTransports

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

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

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

      public ReplanTask addHardlinksItem(Hardlink hardlinksItem)
    • getHardlinks

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

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

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

      public ReplanTask 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 ReplanTask facts(@Nullable Set<Fact> facts)
    • addFactsItem

      public ReplanTask 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)
    • externalRouting

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

      public ReplanTask 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 ReplanTask planSettings(@Nullable PlanSettings planSettings)
    • getPlanSettings

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

      public void setPlanSettings(@Nullable PlanSettings planSettings)
    • actualizeSettings

      public ReplanTask actualizeSettings(@Nullable ActualizeSettings actualizeSettings)
    • getActualizeSettings

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

      public void setActualizeSettings(@Nullable ActualizeSettings actualizeSettings)
    • replanSettings

      public ReplanTask replanSettings(@Nullable ReplanSettings replanSettings)
    • getReplanSettings

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

      public void setReplanSettings(@Nullable ReplanSettings replanSettings)
    • datasetName

      public ReplanTask 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 ReplanTask 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 ReplanTask 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 ReplanTask
    • fromJson

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

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