Package com.veeroute.lss.packer.model
Class PackStatistics
java.lang.Object
com.veeroute.lss.packer.model.PackStatistics
@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 PackStatistics
extends Object
General statistics for packing scheme.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPackageStatisticsItem(PackageStatistics packageStatisticsItem) booleanstatic PackStatisticsCreate an instance of PackStatistics given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The total number of packages.Statistics on used packages.The total number of products (taking into account the number of goods in one group).Total weight in kilograms.The total volume of all packed goods in cubic meters.inthashCode()packagesCount(Integer packagesCount) packageStatistics(Set<PackageStatistics> packageStatistics) productsCount(Integer productsCount) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetPackagesCount(Integer packagesCount) voidsetPackageStatistics(Set<PackageStatistics> packageStatistics) voidsetProductsCount(Integer productsCount) voidsetTotalMass(Double totalMass) voidsetTotalVolume(Double totalVolume) toJson()Convert an instance of PackStatistics to an JSON stringtoString()totalVolume(Double totalVolume) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_PRODUCTS_COUNT
- See Also:
-
SERIALIZED_NAME_PACKAGES_COUNT
- See Also:
-
SERIALIZED_NAME_TOTAL_MASS
- See Also:
-
SERIALIZED_NAME_TOTAL_VOLUME
- See Also:
-
SERIALIZED_NAME_PACKAGE_STATISTICS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PackStatistics
public PackStatistics()
-
-
Method Details
-
productsCount
-
getProductsCount
The total number of products (taking into account the number of goods in one group). minimum: 0 maximum: 700001- Returns:
- productsCount
-
setProductsCount
-
packagesCount
-
getPackagesCount
The total number of packages. minimum: 0 maximum: 700001- Returns:
- packagesCount
-
setPackagesCount
-
totalMass
-
getTotalMass
Total weight in kilograms. minimum: 0 maximum: 1000000- Returns:
- totalMass
-
setTotalMass
-
totalVolume
-
getTotalVolume
The total volume of all packed goods in cubic meters. minimum: 0 maximum: 1000000- Returns:
- totalVolume
-
setTotalVolume
-
packageStatistics
-
addPackageStatisticsItem
-
getPackageStatistics
Statistics on used packages.- Returns:
- packageStatistics
-
setPackageStatistics
-
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 PackStatistics 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 PackStatistics
-
fromJson
Create an instance of PackStatistics given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PackStatistics
- Throws:
IOException- if the JSON string is invalid with respect to PackStatistics
-
toJson
Convert an instance of PackStatistics to an JSON string- Returns:
- JSON string
-