Package com.veeroute.lss.monitor.model
Class LocationLimitStatistics
java.lang.Object
com.veeroute.lss.monitor.model.LocationLimitStatistics
@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 LocationLimitStatistics
extends Object
Statistics on the implementation of location capacity limits within one time window.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncargosStatistics(LocationCargosLimit cargosStatistics) booleanstatic LocationLimitStatisticsCreate an instance of LocationLimitStatistics given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.For time window - the amount of measures of cargos moved and the amount of fines for violating restrictions on the movement of cargos.Location limit key, unique identifier.The amount of fines for violating the location's capacity within the limit.For time window - the number of transports serviced on average during a specified time window and the amount of fines for violating transport service restrictions.inthashCode()locationLimitKey(String locationLimitKey) locationLimitPenalty(Double locationLimitPenalty) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCargosStatistics(LocationCargosLimit cargosStatistics) voidsetLocationLimitKey(String locationLimitKey) voidsetLocationLimitPenalty(Double locationLimitPenalty) voidsetTransportsStatistics(LocationTransportsLimit transportsStatistics) toJson()Convert an instance of LocationLimitStatistics to an JSON stringtoString()transportsStatistics(LocationTransportsLimit transportsStatistics) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LOCATION_LIMIT_KEY
- See Also:
-
SERIALIZED_NAME_CARGOS_STATISTICS
- See Also:
-
SERIALIZED_NAME_TRANSPORTS_STATISTICS
- See Also:
-
SERIALIZED_NAME_LOCATION_LIMIT_PENALTY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LocationLimitStatistics
public LocationLimitStatistics()
-
-
Method Details
-
locationLimitKey
-
getLocationLimitKey
Location limit key, unique identifier.- Returns:
- locationLimitKey
-
setLocationLimitKey
-
cargosStatistics
-
getCargosStatistics
For time window - the amount of measures of cargos moved and the amount of fines for violating restrictions on the movement of cargos.- Returns:
- cargosStatistics
-
setCargosStatistics
-
transportsStatistics
public LocationLimitStatistics transportsStatistics(@Nonnull LocationTransportsLimit transportsStatistics) -
getTransportsStatistics
For time window - the number of transports serviced on average during a specified time window and the amount of fines for violating transport service restrictions.- Returns:
- transportsStatistics
-
setTransportsStatistics
-
locationLimitPenalty
-
getLocationLimitPenalty
The amount of fines for violating the location's capacity within the limit. minimum: 0 maximum: 1000000000- Returns:
- locationLimitPenalty
-
setLocationLimitPenalty
-
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 LocationLimitStatistics 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 LocationLimitStatistics
-
fromJson
Create an instance of LocationLimitStatistics given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LocationLimitStatistics
- Throws:
IOException- if the JSON string is invalid with respect to LocationLimitStatistics
-
toJson
Convert an instance of LocationLimitStatistics to an JSON string- Returns:
- JSON string
-