Package com.veeroute.lss.packer.model
Class PackageLayout
java.lang.Object
com.veeroute.lss.packer.model.PackageLayout
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:46.842085694+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class PackageLayout
extends Object
The layout of the product or other packaging in the package.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPackageLayoutsItem(PackageLayout packageLayoutsItem) addProductGroupLayoutsItem(ProductGroupLayout productGroupLayoutsItem) coordinates(Coordinates coordinates) dimensions(Dimensions dimensions) booleanstatic PackageLayoutCreate an instance of PackageLayout given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The coordinates of the bottom left far corner of the package relative to the bottom left far corner of the parent package.Overall dimensions and mass of the loaded package.Package key.List of package layouts.List of product group layouts.inthashCode()packageKey(String packageKey) packageLayouts(List<PackageLayout> packageLayouts) productGroupLayouts(List<ProductGroupLayout> productGroupLayouts) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCoordinates(Coordinates coordinates) voidsetDimensions(Dimensions dimensions) voidsetPackageKey(String packageKey) voidsetPackageLayouts(List<PackageLayout> packageLayouts) voidsetProductGroupLayouts(List<ProductGroupLayout> productGroupLayouts) toJson()Convert an instance of PackageLayout 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_PACKAGE_KEY
- See Also:
-
SERIALIZED_NAME_COORDINATES
- See Also:
-
SERIALIZED_NAME_DIMENSIONS
- See Also:
-
SERIALIZED_NAME_PRODUCT_GROUP_LAYOUTS
- See Also:
-
SERIALIZED_NAME_PACKAGE_LAYOUTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PackageLayout
public PackageLayout()
-
-
Method Details
-
packageKey
-
getPackageKey
Package key.- Returns:
- packageKey
-
setPackageKey
-
coordinates
-
getCoordinates
The coordinates of the bottom left far corner of the package relative to the bottom left far corner of the parent package.- Returns:
- coordinates
-
setCoordinates
-
dimensions
-
getDimensions
Overall dimensions and mass of the loaded package.- Returns:
- dimensions
-
setDimensions
-
productGroupLayouts
-
addProductGroupLayoutsItem
-
getProductGroupLayouts
List of product group layouts.- Returns:
- productGroupLayouts
-
setProductGroupLayouts
-
packageLayouts
-
addPackageLayoutsItem
-
getPackageLayouts
List of package layouts.- Returns:
- packageLayouts
-
setPackageLayouts
-
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 PackageLayout 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 PackageLayout
-
fromJson
Create an instance of PackageLayout given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PackageLayout
- Throws:
IOException- if the JSON string is invalid with respect to PackageLayout
-
toJson
Convert an instance of PackageLayout to an JSON string- Returns:
- JSON string
-