Package com.veeroute.lss.studio.model
Class LocationStatistics
java.lang.Object
com.veeroute.lss.studio.model.LocationStatistics
@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 LocationStatistics
extends Object
Statistics for a specific trip.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLimitsStatisticsItem(LocationLimitStatistics limitsStatisticsItem) booleanstatic LocationStatisticsCreate an instance of LocationStatistics given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Location capacity limit statistics.Location key.Amount of fines for violating location's capacity limit.Deprecated.Deprecated.inthashCode()limitsStatistics(List<LocationLimitStatistics> limitsStatistics) locationKey(String locationKey) locationLimitsPenalty(Double locationLimitsPenalty) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetLimitsStatistics(List<LocationLimitStatistics> limitsStatistics) voidsetLocationKey(String locationKey) voidsetLocationLimitsPenalty(Double locationLimitsPenalty) voidsetTotalCargosStatistics(LocationCargosLimit totalCargosStatistics) Deprecated.voidsetTotalTransportsStatistics(LocationTransportsLimit totalTransportsStatistics) Deprecated.toJson()Convert an instance of LocationStatistics to an JSON stringtoString()totalCargosStatistics(LocationCargosLimit totalCargosStatistics) Deprecated.totalTransportsStatistics(LocationTransportsLimit totalTransportsStatistics) Deprecated.static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LOCATION_KEY
- See Also:
-
SERIALIZED_NAME_LOCATION_LIMITS_PENALTY
- See Also:
-
SERIALIZED_NAME_TOTAL_CARGOS_STATISTICS
- See Also:
-
SERIALIZED_NAME_TOTAL_TRANSPORTS_STATISTICS
- See Also:
-
SERIALIZED_NAME_LIMITS_STATISTICS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LocationStatistics
public LocationStatistics()
-
-
Method Details
-
locationKey
-
getLocationKey
Location key.- Returns:
- locationKey
-
setLocationKey
-
locationLimitsPenalty
-
getLocationLimitsPenalty
Amount of fines for violating location's capacity limit. minimum: 0 maximum: 1000000000- Returns:
- locationLimitsPenalty
-
setLocationLimitsPenalty
-
totalCargosStatistics
@Deprecated public LocationStatistics totalCargosStatistics(@Nonnull LocationCargosLimit totalCargosStatistics) Deprecated. -
getTotalCargosStatistics
Deprecated.For location - The amount of measures of cargos moved and the amount of fines for violating restrictions on the movement of cargos.- Returns:
- totalCargosStatistics
-
setTotalCargosStatistics
@Deprecated public void setTotalCargosStatistics(@Nonnull LocationCargosLimit totalCargosStatistics) Deprecated. -
totalTransportsStatistics
@Deprecated public LocationStatistics totalTransportsStatistics(@Nonnull LocationTransportsLimit totalTransportsStatistics) Deprecated. -
getTotalTransportsStatistics
Deprecated.For location - the number of transports serviced on average during a specified time window and the amount of fines for violating transport service restrictions.- Returns:
- totalTransportsStatistics
-
setTotalTransportsStatistics
@Deprecated public void setTotalTransportsStatistics(@Nonnull LocationTransportsLimit totalTransportsStatistics) Deprecated. -
limitsStatistics
-
addLimitsStatisticsItem
-
getLimitsStatistics
Location capacity limit statistics.- Returns:
- limitsStatistics
-
setLimitsStatistics
-
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 LocationStatistics 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 LocationStatistics
-
fromJson
Create an instance of LocationStatistics given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LocationStatistics
- Throws:
IOException- if the JSON string is invalid with respect to LocationStatistics
-
toJson
Convert an instance of LocationStatistics to an JSON string- Returns:
- JSON string
-