Package com.veeroute.lss.monitor.model
Class TransportLimits
java.lang.Object
com.veeroute.lss.monitor.model.TransportLimits
@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 TransportLimits
extends Object
Transport load limits.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TransportLimitsCreate an instance of TransportLimits given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Limit of the number of transports's unique locations in one trip.Get maxCapacityinthashCode()maxCapacity(Capacity maxCapacity) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMaxBoxes(Integer maxBoxes) voidsetMaxCapacity(Capacity maxCapacity) toJson()Convert an instance of TransportLimits to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_MAX_BOXES
- See Also:
-
SERIALIZED_NAME_MAX_CAPACITY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TransportLimits
public TransportLimits()
-
-
Method Details
-
maxBoxes
-
getMaxBoxes
Limit of the number of transports's unique locations in one trip. If not specified or null, number of using boxes is not limited. The limit should not exceed the number of boxes. minimum: 0 maximum: 100- Returns:
- maxBoxes
-
setMaxBoxes
-
maxCapacity
-
getMaxCapacity
Get maxCapacity- Returns:
- maxCapacity
-
setMaxCapacity
-
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 TransportLimits 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 TransportLimits
-
fromJson
Create an instance of TransportLimits given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransportLimits
- Throws:
IOException- if the JSON string is invalid with respect to TransportLimits
-
toJson
Convert an instance of TransportLimits to an JSON string- Returns:
- JSON string
-