Package com.veeroute.lss.universal.model
Class PlanStatistics
java.lang.Object
com.veeroute.lss.universal.model.PlanStatistics
@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 PlanStatistics
extends Object
General statistics on the calculation result.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLocationsStatisticsItem(LocationStatistics locationsStatisticsItem) addTripsStatisticsItem(TripStatistics tripsStatisticsItem) booleanstatic PlanStatisticsCreate an instance of PlanStatistics given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Statistics on the loading of locations for which bandwidth restrictions have been set.Get qualityGet taskStatisticsGet totalStatisticsList of statistics for each scheduled trip separately.inthashCode()locationsStatistics(List<LocationStatistics> locationsStatistics) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetLocationsStatistics(List<LocationStatistics> locationsStatistics) voidsetQuality(Quality quality) voidsetTaskStatistics(TaskStatistics taskStatistics) voidsetTotalStatistics(GeneralStatistics totalStatistics) voidsetTripsStatistics(Set<TripStatistics> tripsStatistics) taskStatistics(TaskStatistics taskStatistics) toJson()Convert an instance of PlanStatistics to an JSON stringtoString()totalStatistics(GeneralStatistics totalStatistics) tripsStatistics(Set<TripStatistics> tripsStatistics) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TOTAL_STATISTICS
- See Also:
-
SERIALIZED_NAME_TRIPS_STATISTICS
- See Also:
-
SERIALIZED_NAME_LOCATIONS_STATISTICS
- See Also:
-
SERIALIZED_NAME_TASK_STATISTICS
- See Also:
-
SERIALIZED_NAME_QUALITY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PlanStatistics
public PlanStatistics()
-
-
Method Details
-
totalStatistics
-
getTotalStatistics
Get totalStatistics- Returns:
- totalStatistics
-
setTotalStatistics
-
tripsStatistics
-
addTripsStatisticsItem
-
getTripsStatistics
List of statistics for each scheduled trip separately.- Returns:
- tripsStatistics
-
setTripsStatistics
-
locationsStatistics
-
addLocationsStatisticsItem
-
getLocationsStatistics
Statistics on the loading of locations for which bandwidth restrictions have been set.- Returns:
- locationsStatistics
-
setLocationsStatistics
-
taskStatistics
-
getTaskStatistics
Get taskStatistics- Returns:
- taskStatistics
-
setTaskStatistics
-
quality
-
getQuality
Get quality- Returns:
- quality
-
setQuality
-
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 PlanStatistics 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 PlanStatistics
-
fromJson
Create an instance of PlanStatistics given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PlanStatistics
- Throws:
IOException- if the JSON string is invalid with respect to PlanStatistics
-
toJson
Convert an instance of PlanStatistics to an JSON string- Returns:
- JSON string
-