Package com.veeroute.lss.monitor.model
Class Capacity
java.lang.Object
com.veeroute.lss.monitor.model.Capacity
@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 Capacity
extends Object
Capacity characteristics.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CapacityCreate an instance of Capacity 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 Capacity 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
-
Capacity
public Capacity()
-
-
Method Details
-
mass
-
getMass
Weight in kilograms. minimum: 0 maximum: 1000000- Returns:
- mass
-
setMass
-
volume
-
getVolume
Volume in cubic meters. minimum: 0 maximum: 1000000- Returns:
- volume
-
setVolume
-
capacityA
-
getCapacityA
Additional parameter (A) for measuring cargoes and boxes in alternative units. For example, to account for cargo in pieces (this parameter is equal to one for a cargo and the maximum number of cargo to hold for a box). minimum: 0 maximum: 1000000- Returns:
- capacityA
-
setCapacityA
-
capacityB
-
getCapacityB
Additional parameter (B) for measuring cargoes and boxes in alternative units. minimum: 0 maximum: 1000000- Returns:
- capacityB
-
setCapacityB
-
capacityC
-
getCapacityC
Additional parameter (C) for measuring cargoes and boxes in alternative units. minimum: 0 maximum: 1000000- 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 Capacity 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 Capacity
-
fromJson
Create an instance of Capacity given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Capacity
- Throws:
IOException- if the JSON string is invalid with respect to Capacity
-
toJson
Convert an instance of Capacity to an JSON string- Returns:
- JSON string
-