Package com.veeroute.lss.studio.model
Class GeneralStatistics
java.lang.Object
com.veeroute.lss.studio.model.GeneralStatistics
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:57.513559297+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class GeneralStatistics
extends Object
Summary statistics for one or a set of trips.
-
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 Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem(Attribute attributesItem) attributes(Set<Attribute> attributes) averageRoundtripDistance(Double averageRoundtripDistance) averageRoundtripTime(String averageRoundtripTime) averageSpeed(Double averageSpeed) cargoCapacityRatio(CapacityStatisticsRatio cargoCapacityRatio) cargoCapacitySum(CapacityStatisticsSum cargoCapacitySum) booleanstatic GeneralStatisticsCreate an instance of GeneralStatistics given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes.Average mileage per roundtrip is the ratio of the total mileage per trip to the number of roundtrips, in meters.Time duration according to `P1DT2H12M34.2S`.Average speed is the ratio of the total distance to the total time of movement, km/h.The ratio of the total additive measures of the transported cargo to the total capacity of the boxes.Total additive measures of the transported cargo.getCost()Total cost calculated based on the performer's and transport tariffs.The total number of unique locations within one trip.The ratio of the maximum load of boxes to the total capacity of boxes.Measurements of times and distances for aggregate and individual trips: * `time_window` - the start time of the first trip and the end time of the last, if there are no trips, the time of the left border of the planning horizon is returned, while the from \\ to fields have the same value * `driving_time` - duration of driving time * `waiting_time` - total waiting time for all locations * `working_time` - total time of work execution at all locations included in the trip * `break_time` - total break time for all locations * `rest_time` - total rest time for all locations * `arriving_time` - total time to drive / park at locations * `departure_time` - total time for departure from locations * `total_time` - total time, composed of `driving_time` + `waiting_time` + `working_time` + `break_time` + `rest_time` + `arriving_time` + `departure_time` * `distance` - the total length of the roundtrip/trip/set of trips, in metersThe total number of planned and assigned orders.The total number of performers involved in orders fulfillment.The total number of planned orders.The total profit is equal to the difference between the total reward (`reward`) and cost (`cost`).The total reward for orders fulfillment.Number of [roundtrips](#/section/description/round-trips) within a trip.The total number of stops (non-unique locations).The total number of planned trips.The total number of assigned orders.inthashCode()locationsCount(Integer locationsCount) maxTransportLoad(CapacityStatisticsLoad maxTransportLoad) measurements(Measurements measurements) ordersCount(Integer ordersCount) performersCount(Integer performersCount) planOrdersCount(Integer planOrdersCount) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.roundTripsCount(Integer roundTripsCount) voidsetAttributes(Set<Attribute> attributes) voidsetAverageRoundtripDistance(Double averageRoundtripDistance) voidsetAverageRoundtripTime(String averageRoundtripTime) voidsetAverageSpeed(Double averageSpeed) voidsetCargoCapacityRatio(CapacityStatisticsRatio cargoCapacityRatio) voidsetCargoCapacitySum(CapacityStatisticsSum cargoCapacitySum) voidvoidsetLocationsCount(Integer locationsCount) voidsetMaxTransportLoad(CapacityStatisticsLoad maxTransportLoad) voidsetMeasurements(Measurements measurements) voidsetOrdersCount(Integer ordersCount) voidsetPerformersCount(Integer performersCount) voidsetPlanOrdersCount(Integer planOrdersCount) voidvoidvoidsetRoundTripsCount(Integer roundTripsCount) voidsetStopsCount(Integer stopsCount) voidsetTripsCount(Integer tripsCount) voidsetWaitlistOrdersCount(Integer waitlistOrdersCount) stopsCount(Integer stopsCount) toJson()Convert an instance of GeneralStatistics to an JSON stringtoString()tripsCount(Integer tripsCount) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundwaitlistOrdersCount(Integer waitlistOrdersCount)
-
Field Details
-
SERIALIZED_NAME_COST
- See Also:
-
SERIALIZED_NAME_REWARD
- See Also:
-
SERIALIZED_NAME_PROFIT
- See Also:
-
SERIALIZED_NAME_MEASUREMENTS
- See Also:
-
SERIALIZED_NAME_TRIPS_COUNT
- See Also:
-
SERIALIZED_NAME_PERFORMERS_COUNT
- See Also:
-
SERIALIZED_NAME_ORDERS_COUNT
- See Also:
-
SERIALIZED_NAME_PLAN_ORDERS_COUNT
- See Also:
-
SERIALIZED_NAME_WAITLIST_ORDERS_COUNT
- See Also:
-
SERIALIZED_NAME_STOPS_COUNT
- See Also:
-
SERIALIZED_NAME_LOCATIONS_COUNT
- See Also:
-
SERIALIZED_NAME_CARGO_CAPACITY_SUM
- See Also:
-
SERIALIZED_NAME_CARGO_CAPACITY_RATIO
- See Also:
-
SERIALIZED_NAME_MAX_TRANSPORT_LOAD
- See Also:
-
SERIALIZED_NAME_AVERAGE_SPEED
- See Also:
-
SERIALIZED_NAME_ROUND_TRIPS_COUNT
- See Also:
-
SERIALIZED_NAME_AVERAGE_ROUNDTRIP_DISTANCE
- See Also:
-
SERIALIZED_NAME_AVERAGE_ROUNDTRIP_TIME
- See Also:
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GeneralStatistics
public GeneralStatistics()
-
-
Method Details
-
cost
-
getCost
Total cost calculated based on the performer's and transport tariffs. minimum: 0 maximum: 1000000000000- Returns:
- cost
-
setCost
-
reward
-
getReward
The total reward for orders fulfillment. minimum: 0 maximum: 1000000000000- Returns:
- reward
-
setReward
-
profit
-
getProfit
The total profit is equal to the difference between the total reward (`reward`) and cost (`cost`). minimum: -1000000000000 maximum: 1000000000000- Returns:
- profit
-
setProfit
-
measurements
-
getMeasurements
Measurements of times and distances for aggregate and individual trips: * `time_window` - the start time of the first trip and the end time of the last, if there are no trips, the time of the left border of the planning horizon is returned, while the from \\ to fields have the same value * `driving_time` - duration of driving time * `waiting_time` - total waiting time for all locations * `working_time` - total time of work execution at all locations included in the trip * `break_time` - total break time for all locations * `rest_time` - total rest time for all locations * `arriving_time` - total time to drive / park at locations * `departure_time` - total time for departure from locations * `total_time` - total time, composed of `driving_time` + `waiting_time` + `working_time` + `break_time` + `rest_time` + `arriving_time` + `departure_time` * `distance` - the total length of the roundtrip/trip/set of trips, in meters- Returns:
- measurements
-
setMeasurements
-
tripsCount
-
getTripsCount
The total number of planned trips. minimum: 0 maximum: 15001- Returns:
- tripsCount
-
setTripsCount
-
performersCount
-
getPerformersCount
The total number of performers involved in orders fulfillment. minimum: 0 maximum: 15001- Returns:
- performersCount
-
setPerformersCount
-
ordersCount
-
getOrdersCount
The total number of planned and assigned orders. minimum: 0 maximum: 15001- Returns:
- ordersCount
-
setOrdersCount
-
planOrdersCount
-
getPlanOrdersCount
The total number of planned orders. minimum: 0 maximum: 15001- Returns:
- planOrdersCount
-
setPlanOrdersCount
-
waitlistOrdersCount
-
getWaitlistOrdersCount
The total number of assigned orders. minimum: 0 maximum: 15001- Returns:
- waitlistOrdersCount
-
setWaitlistOrdersCount
-
stopsCount
-
getStopsCount
The total number of stops (non-unique locations). minimum: 0 maximum: 15001000- Returns:
- stopsCount
-
setStopsCount
-
locationsCount
-
getLocationsCount
The total number of unique locations within one trip. For general statistics - the sum of unique locations within each trip. minimum: 0 maximum: 15001000- Returns:
- locationsCount
-
setLocationsCount
-
cargoCapacitySum
-
getCargoCapacitySum
Total additive measures of the transported cargo.- Returns:
- cargoCapacitySum
-
setCargoCapacitySum
-
cargoCapacityRatio
-
getCargoCapacityRatio
The ratio of the total additive measures of the transported cargo to the total capacity of the boxes. In fractions of a unit. It may be more than one.- Returns:
- cargoCapacityRatio
-
setCargoCapacityRatio
-
maxTransportLoad
-
getMaxTransportLoad
The ratio of the maximum load of boxes to the total capacity of boxes. In fractions of a unit. Cannot be greater than one.- Returns:
- maxTransportLoad
-
setMaxTransportLoad
-
averageSpeed
-
getAverageSpeed
Average speed is the ratio of the total distance to the total time of movement, km/h. minimum: 0 maximum: 1000000000000- Returns:
- averageSpeed
-
setAverageSpeed
-
roundTripsCount
-
getRoundTripsCount
Number of [roundtrips](#/section/description/round-trips) within a trip. minimum: 0 maximum: 15001- Returns:
- roundTripsCount
-
setRoundTripsCount
-
averageRoundtripDistance
-
getAverageRoundtripDistance
Average mileage per roundtrip is the ratio of the total mileage per trip to the number of roundtrips, in meters. minimum: 0 maximum: 1000000000000- Returns:
- averageRoundtripDistance
-
setAverageRoundtripDistance
-
averageRoundtripTime
-
getAverageRoundtripTime
Time duration according to `P1DT2H12M34.2S`.- Returns:
- averageRoundtripTime
-
setAverageRoundtripTime
-
attributes
-
addAttributesItem
-
getAttributes
Attributes. Used to add service information.- Returns:
- attributes
-
setAttributes
-
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 GeneralStatistics 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 GeneralStatistics
-
fromJson
Create an instance of GeneralStatistics given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GeneralStatistics
- Throws:
IOException- if the JSON string is invalid with respect to GeneralStatistics
-
toJson
Convert an instance of GeneralStatistics to an JSON string- Returns:
- JSON string
-