Package com.veeroute.lss.studio.model
Class TransportCapacityMultiplier
java.lang.Object
com.veeroute.lss.studio.model.TransportCapacityMultiplier
@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 TransportCapacityMultiplier
extends Object
Capacity change rate for the specified transport type.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncapacity(CapacityMultiplier capacity) booleanstatic TransportCapacityMultiplierCreate an instance of TransportCapacityMultiplier given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get capacityGet transportTypeinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCapacity(CapacityMultiplier capacity) voidsetTransportType(TransportType transportType) toJson()Convert an instance of TransportCapacityMultiplier to an JSON stringtoString()transportType(TransportType transportType) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TRANSPORT_TYPE
- See Also:
-
SERIALIZED_NAME_CAPACITY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TransportCapacityMultiplier
public TransportCapacityMultiplier()
-
-
Method Details
-
transportType
-
getTransportType
Get transportType- Returns:
- transportType
-
setTransportType
-
capacity
-
getCapacity
Get capacity- Returns:
- capacity
-
setCapacity
-
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 TransportCapacityMultiplier 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 TransportCapacityMultiplier
-
fromJson
Create an instance of TransportCapacityMultiplier given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransportCapacityMultiplier
- Throws:
IOException- if the JSON string is invalid with respect to TransportCapacityMultiplier
-
toJson
Convert an instance of TransportCapacityMultiplier to an JSON string- Returns:
- JSON string
-