Package com.veeroute.lss.monitor.model
Class CapacityCost
java.lang.Object
com.veeroute.lss.monitor.model.CapacityCost
@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 CapacityCost
extends Object
Cost per capacity element.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CapacityCostCreate an instance of CapacityCost given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Cost per unit of additional parameter (A), in conventional monetary units.Cost per unit of additional parameter (B), in conventional monetary units.Cost per unit of additional parameter (C), in conventional monetary units.getMass()Cost per kilogram, in conventional monetary units.Cost per cubic meter, in conventional monetary units.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 CapacityCost 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
-
CapacityCost
public CapacityCost()
-
-
Method Details
-
mass
-
getMass
Cost per kilogram, in conventional monetary units. minimum: 0 maximum: 1000000- Returns:
- mass
-
setMass
-
volume
-
getVolume
Cost per cubic meter, in conventional monetary units. minimum: 0 maximum: 1000000- Returns:
- volume
-
setVolume
-
capacityA
-
getCapacityA
Cost per unit of additional parameter (A), in conventional monetary units. minimum: 0 maximum: 1000000- Returns:
- capacityA
-
setCapacityA
-
capacityB
-
getCapacityB
Cost per unit of additional parameter (B), in conventional monetary units. minimum: 0 maximum: 1000000- Returns:
- capacityB
-
setCapacityB
-
capacityC
-
getCapacityC
Cost per unit of additional parameter (C), in conventional monetary 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 CapacityCost 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 CapacityCost
-
fromJson
Create an instance of CapacityCost given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CapacityCost
- Throws:
IOException- if the JSON string is invalid with respect to CapacityCost
-
toJson
Convert an instance of CapacityCost to an JSON string- Returns:
- JSON string
-