Package com.veeroute.lss.studio.model
Class CargoCompatibilities
java.lang.Object
com.veeroute.lss.studio.model.CargoCompatibilities
@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 CargoCompatibilities
extends Object
Compatibilities of [the cargo with the transport box and other cargos](#/section/description/compatibilities).
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBoxRestrictionsItem(String boxRestrictionsItem) addCargoFeaturesItem(String cargoFeaturesItem) addCargoRestrictionsItem(String cargoRestrictionsItem) addRotationItem(CargoRotationType rotationItem) boxRestrictions(Set<String> boxRestrictions) cargoFeatures(Set<String> cargoFeatures) cargoRestrictions(Set<String> cargoRestrictions) booleanstatic CargoCompatibilitiesCreate an instance of CargoCompatibilities given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of tags that define a property or requirement.A list of tags that define a property or requirement.A list of tags that define a property or requirement.Height in meters, used to check the transport box capacity.Length in meters, used to check the transport box capacity.List of possibilities of a object rotations (90 degree step): * `ALL` - can rotate by any axis * `YAW` - can yaw * `PITCH` - can pitch * `ROLL` - can roll Empty list means object rotations is prohibited.getWidth()Width in meters, used to check the transport box capacity.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rotation(Set<CargoRotationType> rotation) voidsetBoxRestrictions(Set<String> boxRestrictions) voidsetCargoFeatures(Set<String> cargoFeatures) voidsetCargoRestrictions(Set<String> cargoRestrictions) voidvoidvoidsetRotation(Set<CargoRotationType> rotation) voidtoJson()Convert an instance of CargoCompatibilities 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_WIDTH
- See Also:
-
SERIALIZED_NAME_HEIGHT
- See Also:
-
SERIALIZED_NAME_LENGTH
- See Also:
-
SERIALIZED_NAME_ROTATION
- See Also:
-
SERIALIZED_NAME_BOX_RESTRICTIONS
- See Also:
-
SERIALIZED_NAME_CARGO_FEATURES
- See Also:
-
SERIALIZED_NAME_CARGO_RESTRICTIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CargoCompatibilities
public CargoCompatibilities()
-
-
Method Details
-
width
-
getWidth
Width in meters, used to check the transport box capacity. minimum: 0 maximum: 1000000- Returns:
- width
-
setWidth
-
height
-
getHeight
Height in meters, used to check the transport box capacity. minimum: 0 maximum: 1000000- Returns:
- height
-
setHeight
-
length
-
getLength
Length in meters, used to check the transport box capacity. minimum: 0 maximum: 1000000- Returns:
- length
-
setLength
-
rotation
-
addRotationItem
-
getRotation
List of possibilities of a object rotations (90 degree step): * `ALL` - can rotate by any axis * `YAW` - can yaw * `PITCH` - can pitch * `ROLL` - can roll Empty list means object rotations is prohibited. More about [cargo placement](#/section/description/cargo-placement-in-the-box).- Returns:
- rotation
-
setRotation
-
boxRestrictions
-
addBoxRestrictionsItem
-
getBoxRestrictions
A list of tags that define a property or requirement.- Returns:
- boxRestrictions
-
setBoxRestrictions
-
cargoFeatures
-
addCargoFeaturesItem
-
getCargoFeatures
A list of tags that define a property or requirement.- Returns:
- cargoFeatures
-
setCargoFeatures
-
cargoRestrictions
-
addCargoRestrictionsItem
-
getCargoRestrictions
A list of tags that define a property or requirement.- Returns:
- cargoRestrictions
-
setCargoRestrictions
-
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 CargoCompatibilities 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 CargoCompatibilities
-
fromJson
Create an instance of CargoCompatibilities given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CargoCompatibilities
- Throws:
IOException- if the JSON string is invalid with respect to CargoCompatibilities
-
toJson
Convert an instance of CargoCompatibilities to an JSON string- Returns:
- JSON string
-