Class ReplanResult

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

@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 ReplanResult extends Object
Replan result. It can be intermediate (during the calculation process) and complete (after the calculation is completed).
  • Field Details

  • Constructor Details

    • ReplanResult

      public ReplanResult()
  • Method Details

    • tracedata

      public ReplanResult tracedata(@Nonnull Tracedata tracedata)
    • getTracedata

      @Nonnull public Tracedata getTracedata()
      Get tracedata
      Returns:
      tracedata
    • setTracedata

      public void setTracedata(@Nonnull Tracedata tracedata)
    • trips

      public ReplanResult trips(@Nonnull Set<Trip> trips)
    • addTripsItem

      public ReplanResult addTripsItem(Trip tripsItem)
    • getTrips

      @Nonnull 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(@Nonnull Set<Trip> trips)
    • factTrips

      public ReplanResult factTrips(@Nullable Set<Trip> factTrips)
    • addFactTripsItem

      public ReplanResult addFactTripsItem(Trip factTripsItem)
    • getFactTrips

      @Nullable public Set<Trip> getFactTrips()
      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:
      factTrips
    • setFactTrips

      public void setFactTrips(@Nullable Set<Trip> factTrips)
    • processedItems

      public ReplanResult processedItems(@Nullable ProcessedItems processedItems)
    • getProcessedItems

      @Nullable public ProcessedItems getProcessedItems()
      Get processedItems
      Returns:
      processedItems
    • setProcessedItems

      public void setProcessedItems(@Nullable ProcessedItems processedItems)
    • removedItems

      public ReplanResult removedItems(@Nullable RemovedItems removedItems)
    • getRemovedItems

      @Nullable public RemovedItems getRemovedItems()
      Get removedItems
      Returns:
      removedItems
    • setRemovedItems

      public void setRemovedItems(@Nullable RemovedItems removedItems)
    • unplannedItems

      public ReplanResult unplannedItems(@Nullable UnplannedItems unplannedItems)
    • getUnplannedItems

      @Nullable public UnplannedItems getUnplannedItems()
      Get unplannedItems
      Returns:
      unplannedItems
    • setUnplannedItems

      public void setUnplannedItems(@Nullable UnplannedItems unplannedItems)
    • statistics

      public ReplanResult statistics(@Nullable PlanStatistics statistics)
    • getStatistics

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

      public void setStatistics(@Nullable PlanStatistics statistics)
    • additionalAttributes

      public ReplanResult additionalAttributes(@Nullable AdditionalAttributes additionalAttributes)
    • getAdditionalAttributes

      @Nullable public AdditionalAttributes getAdditionalAttributes()
      Get additionalAttributes
      Returns:
      additionalAttributes
    • setAdditionalAttributes

      public void setAdditionalAttributes(@Nullable AdditionalAttributes additionalAttributes)
    • warnings

      public ReplanResult warnings(@Nullable List<EntityWarning> warnings)
    • addWarningsItem

      public ReplanResult addWarningsItem(EntityWarning warningsItem)
    • getWarnings

      @Nullable public List<EntityWarning> getWarnings()
      Warning list.
      Returns:
      warnings
    • setWarnings

      public void setWarnings(@Nullable List<EntityWarning> warnings)
    • calculationProgress

      public ReplanResult calculationProgress(@Nonnull Integer calculationProgress)
    • getCalculationProgress

      @Nonnull public Integer getCalculationProgress()
      Calculation progress as a percentage. The progress displays the current number of completed steps. minimum: 0 maximum: 100
      Returns:
      calculationProgress
    • setCalculationProgress

      public void setCalculationProgress(@Nonnull Integer calculationProgress)
    • calculationInfo

      public ReplanResult calculationInfo(@Nonnull CalculationInfo calculationInfo)
    • getCalculationInfo

      @Nonnull public CalculationInfo getCalculationInfo()
      Get calculationInfo
      Returns:
      calculationInfo
    • setCalculationInfo

      public void setCalculationInfo(@Nonnull CalculationInfo calculationInfo)
    • putAdditionalProperty

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

      public static ReplanResult fromJson(String jsonString) throws IOException
      Create an instance of ReplanResult given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ReplanResult
      Throws:
      IOException - if the JSON string is invalid with respect to ReplanResult
    • toJson

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