Package com.veeroute.lss.packer.model
Class PackResult
java.lang.Object
com.veeroute.lss.packer.model.PackResult
@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 PackResult
extends Object
Packing result.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBlueprintItem(PackageLayout blueprintItem) addWarningsItem(PackerEntityWarning warningsItem) blueprint(List<PackageLayout> blueprint) calculationInfo(CalculationInfo calculationInfo) calculationProgress(Integer calculationProgress) booleanstatic PackResultCreate an instance of PackResult given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A product layout plan as a list of packaging locations.Get calculationInfoCalculation progress as a percentage.Get statisticsGet tracedataGet unpackedItemsList of warnings.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBlueprint(List<PackageLayout> blueprint) voidsetCalculationInfo(CalculationInfo calculationInfo) voidsetCalculationProgress(Integer calculationProgress) voidsetStatistics(PackStatistics statistics) voidsetTracedata(Tracedata tracedata) voidsetUnpackedItems(UnpackedItems unpackedItems) voidsetWarnings(List<PackerEntityWarning> warnings) statistics(PackStatistics statistics) toJson()Convert an instance of PackResult to an JSON stringtoString()unpackedItems(UnpackedItems unpackedItems) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundwarnings(List<PackerEntityWarning> warnings)
-
Field Details
-
SERIALIZED_NAME_TRACEDATA
- See Also:
-
SERIALIZED_NAME_BLUEPRINT
- See Also:
-
SERIALIZED_NAME_STATISTICS
- See Also:
-
SERIALIZED_NAME_WARNINGS
- See Also:
-
SERIALIZED_NAME_UNPACKED_ITEMS
- See Also:
-
SERIALIZED_NAME_CALCULATION_PROGRESS
- See Also:
-
SERIALIZED_NAME_CALCULATION_INFO
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PackResult
public PackResult()
-
-
Method Details
-
tracedata
-
getTracedata
Get tracedata- Returns:
- tracedata
-
setTracedata
-
blueprint
-
addBlueprintItem
-
getBlueprint
A product layout plan as a list of packaging locations. The first level contains a list of pallet stacks.- Returns:
- blueprint
-
setBlueprint
-
statistics
-
getStatistics
Get statistics- Returns:
- statistics
-
setStatistics
-
warnings
-
addWarningsItem
-
getWarnings
List of warnings. Depending on the flag `calculation_settings.treat_warnings_as_errors` - triggered checks are interpreted as errors or result in the removal of incorrect data from the calculation.- Returns:
- warnings
-
setWarnings
-
unpackedItems
-
getUnpackedItems
Get unpackedItems- Returns:
- unpackedItems
-
setUnpackedItems
-
calculationProgress
-
getCalculationProgress
Calculation progress as a percentage. The progress displays the current number of completed steps. minimum: 0 maximum: 100- Returns:
- calculationProgress
-
setCalculationProgress
-
calculationInfo
-
getCalculationInfo
Get calculationInfo- Returns:
- calculationInfo
-
setCalculationInfo
-
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 PackResult 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 PackResult
-
fromJson
Create an instance of PackResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PackResult
- Throws:
IOException- if the JSON string is invalid with respect to PackResult
-
toJson
Convert an instance of PackResult to an JSON string- Returns:
- JSON string
-