Package com.veeroute.lss.monitor.model
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.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ExecutionStatisticsCreate an instance of ExecutionStatistics given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Number of orders with `CANCELED` status (canceled).Number of orders with `EXECUTING` status (in progress).Number of orders with `FINISHED` status (completed).Number of orders with `FREE` status (not assigned to any trip).Number of orders with `PLANNED` status (planned to a trip).Number of orders with `POSTPONED` status (postponed, awaiting replanning).Execution progress as a percentage.Number of trips with `ASSIGNED` status (crew assigned).Number of trips with `CANCELED` status (canceled).Number of trips with `CONFIRMED` status (accepted by the crew).Number of trips with `EXECUTING` status (in progress).Number of trips with `FINISHED` status (completed).Number of trips with `FREE` status (no assigned crew).Number of trips with `RECEIVED` status (received by the crew).Number of trips with `REJECTED` status (rejected by the crew).Number of trips with `SENT` status (sent to the crew).inthashCode()orderCanceledCount(Integer orderCanceledCount) orderExecutingCount(Integer orderExecutingCount) orderFinishedCount(Integer orderFinishedCount) orderFreeCount(Integer orderFreeCount) orderPlannedCount(Integer orderPlannedCount) orderPostponedCount(Integer orderPostponedCount) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetOrderCanceledCount(Integer orderCanceledCount) voidsetOrderExecutingCount(Integer orderExecutingCount) voidsetOrderFinishedCount(Integer orderFinishedCount) voidsetOrderFreeCount(Integer orderFreeCount) voidsetOrderPlannedCount(Integer orderPlannedCount) voidsetOrderPostponedCount(Integer orderPostponedCount) voidsetProgress(Integer progress) voidsetTripAssignedCount(Integer tripAssignedCount) voidsetTripCanceledCount(Integer tripCanceledCount) voidsetTripConfirmedCount(Integer tripConfirmedCount) voidsetTripExecutingCount(Integer tripExecutingCount) voidsetTripFinishedCount(Integer tripFinishedCount) voidsetTripFreeCount(Integer tripFreeCount) voidsetTripReceivedCount(Integer tripReceivedCount) voidsetTripRejectedCount(Integer tripRejectedCount) voidsetTripSentCount(Integer tripSentCount) toJson()Convert an instance of ExecutionStatistics to an JSON stringtoString()tripAssignedCount(Integer tripAssignedCount) tripCanceledCount(Integer tripCanceledCount) tripConfirmedCount(Integer tripConfirmedCount) tripExecutingCount(Integer tripExecutingCount) tripFinishedCount(Integer tripFinishedCount) tripFreeCount(Integer tripFreeCount) tripReceivedCount(Integer tripReceivedCount) tripRejectedCount(Integer tripRejectedCount) tripSentCount(Integer tripSentCount) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_PROGRESS
- See Also:
-
SERIALIZED_NAME_ORDER_FREE_COUNT
- See Also:
-
SERIALIZED_NAME_ORDER_PLANNED_COUNT
- See Also:
-
SERIALIZED_NAME_ORDER_EXECUTING_COUNT
- See Also:
-
SERIALIZED_NAME_ORDER_POSTPONED_COUNT
- See Also:
-
SERIALIZED_NAME_ORDER_FINISHED_COUNT
- See Also:
-
SERIALIZED_NAME_ORDER_CANCELED_COUNT
- See Also:
-
SERIALIZED_NAME_TRIP_FREE_COUNT
- See Also:
-
SERIALIZED_NAME_TRIP_ASSIGNED_COUNT
- See Also:
-
SERIALIZED_NAME_TRIP_SENT_COUNT
- See Also:
-
SERIALIZED_NAME_TRIP_RECEIVED_COUNT
- See Also:
-
SERIALIZED_NAME_TRIP_CONFIRMED_COUNT
- See Also:
-
SERIALIZED_NAME_TRIP_REJECTED_COUNT
- See Also:
-
SERIALIZED_NAME_TRIP_EXECUTING_COUNT
- See Also:
-
SERIALIZED_NAME_TRIP_FINISHED_COUNT
- See Also:
-
SERIALIZED_NAME_TRIP_CANCELED_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ExecutionStatistics
public ExecutionStatistics()
-
-
Method Details
-
progress
-
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
-
orderFreeCount
-
getOrderFreeCount
Number of orders with `FREE` status (not assigned to any trip). minimum: 0 maximum: 15001- Returns:
- orderFreeCount
-
setOrderFreeCount
-
orderPlannedCount
-
getOrderPlannedCount
Number of orders with `PLANNED` status (planned to a trip). minimum: 0 maximum: 15001- Returns:
- orderPlannedCount
-
setOrderPlannedCount
-
orderExecutingCount
-
getOrderExecutingCount
Number of orders with `EXECUTING` status (in progress). minimum: 0 maximum: 15001- Returns:
- orderExecutingCount
-
setOrderExecutingCount
-
orderPostponedCount
-
getOrderPostponedCount
Number of orders with `POSTPONED` status (postponed, awaiting replanning). minimum: 0 maximum: 15001- Returns:
- orderPostponedCount
-
setOrderPostponedCount
-
orderFinishedCount
-
getOrderFinishedCount
Number of orders with `FINISHED` status (completed). minimum: 0 maximum: 15001- Returns:
- orderFinishedCount
-
setOrderFinishedCount
-
orderCanceledCount
-
getOrderCanceledCount
Number of orders with `CANCELED` status (canceled). minimum: 0 maximum: 15001- Returns:
- orderCanceledCount
-
setOrderCanceledCount
-
tripFreeCount
-
getTripFreeCount
Number of trips with `FREE` status (no assigned crew). minimum: 0 maximum: 15001- Returns:
- tripFreeCount
-
setTripFreeCount
-
tripAssignedCount
-
getTripAssignedCount
Number of trips with `ASSIGNED` status (crew assigned). minimum: 0 maximum: 15001- Returns:
- tripAssignedCount
-
setTripAssignedCount
-
tripSentCount
-
getTripSentCount
Number of trips with `SENT` status (sent to the crew). minimum: 0 maximum: 15001- Returns:
- tripSentCount
-
setTripSentCount
-
tripReceivedCount
-
getTripReceivedCount
Number of trips with `RECEIVED` status (received by the crew). minimum: 0 maximum: 15001- Returns:
- tripReceivedCount
-
setTripReceivedCount
-
tripConfirmedCount
-
getTripConfirmedCount
Number of trips with `CONFIRMED` status (accepted by the crew). minimum: 0 maximum: 15001- Returns:
- tripConfirmedCount
-
setTripConfirmedCount
-
tripRejectedCount
-
getTripRejectedCount
Number of trips with `REJECTED` status (rejected by the crew). minimum: 0 maximum: 15001- Returns:
- tripRejectedCount
-
setTripRejectedCount
-
tripExecutingCount
-
getTripExecutingCount
Number of trips with `EXECUTING` status (in progress). minimum: 0 maximum: 15001- Returns:
- tripExecutingCount
-
setTripExecutingCount
-
tripFinishedCount
-
getTripFinishedCount
Number of trips with `FINISHED` status (completed). minimum: 0 maximum: 15001- Returns:
- tripFinishedCount
-
setTripFinishedCount
-
tripCanceledCount
-
getTripCanceledCount
Number of trips with `CANCELED` status (canceled). minimum: 0 maximum: 15001- Returns:
- tripCanceledCount
-
setTripCanceledCount
-
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 ExecutionStatistics 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 ExecutionStatistics
-
fromJson
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
Convert an instance of ExecutionStatistics to an JSON string- Returns:
- JSON string
-