Class ExecutionStatistics

java.lang.Object
com.veeroute.lss.monitor.model.ExecutionStatistics

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:47:38.388455705+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class ExecutionStatistics extends Object
Statistics on the execution of trips within a wave.
  • Field Details

  • Constructor Details

    • ExecutionStatistics

      public ExecutionStatistics()
  • Method Details

    • progress

      public ExecutionStatistics progress(@Nonnull Integer progress)
    • getProgress

      @Nonnull public Integer getProgress()
      Execution progress as a percentage. Progress reflects the ratio of orders with final statuses `FINISHED` and `CANCELED` to all orders, orders with the `POSTPONED` status are not considered completed and are not included in the progress. minimum: 0 maximum: 100
      Returns:
      progress
    • setProgress

      public void setProgress(@Nonnull Integer progress)
    • orderFreeCount

      public ExecutionStatistics orderFreeCount(@Nonnull Integer orderFreeCount)
    • getOrderFreeCount

      @Nonnull public Integer getOrderFreeCount()
      Number of orders with `FREE` status (not assigned to any trip). minimum: 0 maximum: 15001
      Returns:
      orderFreeCount
    • setOrderFreeCount

      public void setOrderFreeCount(@Nonnull Integer orderFreeCount)
    • orderPlannedCount

      public ExecutionStatistics orderPlannedCount(@Nonnull Integer orderPlannedCount)
    • getOrderPlannedCount

      @Nonnull public Integer getOrderPlannedCount()
      Number of orders with `PLANNED` status (planned to a trip). minimum: 0 maximum: 15001
      Returns:
      orderPlannedCount
    • setOrderPlannedCount

      public void setOrderPlannedCount(@Nonnull Integer orderPlannedCount)
    • orderExecutingCount

      public ExecutionStatistics orderExecutingCount(@Nonnull Integer orderExecutingCount)
    • getOrderExecutingCount

      @Nonnull public Integer getOrderExecutingCount()
      Number of orders with `EXECUTING` status (in progress). minimum: 0 maximum: 15001
      Returns:
      orderExecutingCount
    • setOrderExecutingCount

      public void setOrderExecutingCount(@Nonnull Integer orderExecutingCount)
    • orderPostponedCount

      public ExecutionStatistics orderPostponedCount(@Nonnull Integer orderPostponedCount)
    • getOrderPostponedCount

      @Nonnull public Integer getOrderPostponedCount()
      Number of orders with `POSTPONED` status (postponed, awaiting replanning). minimum: 0 maximum: 15001
      Returns:
      orderPostponedCount
    • setOrderPostponedCount

      public void setOrderPostponedCount(@Nonnull Integer orderPostponedCount)
    • orderFinishedCount

      public ExecutionStatistics orderFinishedCount(@Nonnull Integer orderFinishedCount)
    • getOrderFinishedCount

      @Nonnull public Integer getOrderFinishedCount()
      Number of orders with `FINISHED` status (completed). minimum: 0 maximum: 15001
      Returns:
      orderFinishedCount
    • setOrderFinishedCount

      public void setOrderFinishedCount(@Nonnull Integer orderFinishedCount)
    • orderCanceledCount

      public ExecutionStatistics orderCanceledCount(@Nonnull Integer orderCanceledCount)
    • getOrderCanceledCount

      @Nonnull public Integer getOrderCanceledCount()
      Number of orders with `CANCELED` status (canceled). minimum: 0 maximum: 15001
      Returns:
      orderCanceledCount
    • setOrderCanceledCount

      public void setOrderCanceledCount(@Nonnull Integer orderCanceledCount)
    • tripFreeCount

      public ExecutionStatistics tripFreeCount(@Nonnull Integer tripFreeCount)
    • getTripFreeCount

      @Nonnull public Integer getTripFreeCount()
      Number of trips with `FREE` status (no assigned crew). minimum: 0 maximum: 15001
      Returns:
      tripFreeCount
    • setTripFreeCount

      public void setTripFreeCount(@Nonnull Integer tripFreeCount)
    • tripAssignedCount

      public ExecutionStatistics tripAssignedCount(@Nonnull Integer tripAssignedCount)
    • getTripAssignedCount

      @Nonnull public Integer getTripAssignedCount()
      Number of trips with `ASSIGNED` status (crew assigned). minimum: 0 maximum: 15001
      Returns:
      tripAssignedCount
    • setTripAssignedCount

      public void setTripAssignedCount(@Nonnull Integer tripAssignedCount)
    • tripSentCount

      public ExecutionStatistics tripSentCount(@Nonnull Integer tripSentCount)
    • getTripSentCount

      @Nonnull public Integer getTripSentCount()
      Number of trips with `SENT` status (sent to the crew). minimum: 0 maximum: 15001
      Returns:
      tripSentCount
    • setTripSentCount

      public void setTripSentCount(@Nonnull Integer tripSentCount)
    • tripReceivedCount

      public ExecutionStatistics tripReceivedCount(@Nonnull Integer tripReceivedCount)
    • getTripReceivedCount

      @Nonnull public Integer getTripReceivedCount()
      Number of trips with `RECEIVED` status (received by the crew). minimum: 0 maximum: 15001
      Returns:
      tripReceivedCount
    • setTripReceivedCount

      public void setTripReceivedCount(@Nonnull Integer tripReceivedCount)
    • tripConfirmedCount

      public ExecutionStatistics tripConfirmedCount(@Nonnull Integer tripConfirmedCount)
    • getTripConfirmedCount

      @Nonnull public Integer getTripConfirmedCount()
      Number of trips with `CONFIRMED` status (accepted by the crew). minimum: 0 maximum: 15001
      Returns:
      tripConfirmedCount
    • setTripConfirmedCount

      public void setTripConfirmedCount(@Nonnull Integer tripConfirmedCount)
    • tripRejectedCount

      public ExecutionStatistics tripRejectedCount(@Nonnull Integer tripRejectedCount)
    • getTripRejectedCount

      @Nonnull public Integer getTripRejectedCount()
      Number of trips with `REJECTED` status (rejected by the crew). minimum: 0 maximum: 15001
      Returns:
      tripRejectedCount
    • setTripRejectedCount

      public void setTripRejectedCount(@Nonnull Integer tripRejectedCount)
    • tripExecutingCount

      public ExecutionStatistics tripExecutingCount(@Nonnull Integer tripExecutingCount)
    • getTripExecutingCount

      @Nonnull public Integer getTripExecutingCount()
      Number of trips with `EXECUTING` status (in progress). minimum: 0 maximum: 15001
      Returns:
      tripExecutingCount
    • setTripExecutingCount

      public void setTripExecutingCount(@Nonnull Integer tripExecutingCount)
    • tripFinishedCount

      public ExecutionStatistics tripFinishedCount(@Nonnull Integer tripFinishedCount)
    • getTripFinishedCount

      @Nonnull public Integer getTripFinishedCount()
      Number of trips with `FINISHED` status (completed). minimum: 0 maximum: 15001
      Returns:
      tripFinishedCount
    • setTripFinishedCount

      public void setTripFinishedCount(@Nonnull Integer tripFinishedCount)
    • tripCanceledCount

      public ExecutionStatistics tripCanceledCount(@Nonnull Integer tripCanceledCount)
    • getTripCanceledCount

      @Nonnull public Integer getTripCanceledCount()
      Number of trips with `CANCELED` status (canceled). minimum: 0 maximum: 15001
      Returns:
      tripCanceledCount
    • setTripCanceledCount

      public void setTripCanceledCount(@Nonnull Integer tripCanceledCount)
    • putAdditionalProperty

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

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

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