Package com.veeroute.lss.universal.model
Class CapacityLimit
java.lang.Object
com.veeroute.lss.universal.model.CapacityLimit
@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 CapacityLimit
extends Object
Capacity limits.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CapacityLimitCreate an instance of CapacityLimit given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Additional parameter (A) for measuring cargoes and boxes in alternative units.Additional parameter (B) for measuring cargoes and boxes in alternative units.Additional parameter (C) for measuring cargoes and boxes in alternative units.getMass()Weight in kilograms.Volume in cubic meters.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCapacityA(Double capacityA) voidsetCapacityB(Double capacityB) voidsetCapacityC(Double capacityC) voidvoidtoJson()Convert an instance of CapacityLimit 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_MASS
- See Also:
-
SERIALIZED_NAME_VOLUME
- See Also:
-
SERIALIZED_NAME_CAPACITY_A
- See Also:
-
SERIALIZED_NAME_CAPACITY_B
- See Also:
-
SERIALIZED_NAME_CAPACITY_C
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CapacityLimit
public CapacityLimit()
-
-
Method Details
-
mass
-
getMass
Weight in kilograms. minimum: 0 maximum: 1000000000- Returns:
- mass
-
setMass
-
volume
-
getVolume
Volume in cubic meters. minimum: 0 maximum: 1000000000- Returns:
- volume
-
setVolume
-
capacityA
-
getCapacityA
Additional parameter (A) for measuring cargoes and boxes in alternative units. minimum: 0 maximum: 1000000000- Returns:
- capacityA
-
setCapacityA
-
capacityB
-
getCapacityB
Additional parameter (B) for measuring cargoes and boxes in alternative units. minimum: 0 maximum: 1000000000- Returns:
- capacityB
-
setCapacityB
-
capacityC
-
getCapacityC
Additional parameter (C) for measuring cargoes and boxes in alternative units. minimum: 0 maximum: 1000000000- Returns:
- capacityC
-
setCapacityC
-
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 CapacityLimit 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 CapacityLimit
-
fromJson
Create an instance of CapacityLimit given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CapacityLimit
- Throws:
IOException- if the JSON string is invalid with respect to CapacityLimit
-
toJson
Convert an instance of CapacityLimit to an JSON string- Returns:
- JSON string
-