Package com.veeroute.lss.monitor.model
Class TransportSpeedMultiplier
java.lang.Object
com.veeroute.lss.monitor.model.TransportSpeedMultiplier
@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 TransportSpeedMultiplier
extends Object
Speed change coefficient for the specified transport type.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TransportSpeedMultiplierCreate an instance of TransportSpeedMultiplier given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getSpeed()Average transport speed multiplier.Get transportTypeinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetTransportType(TransportType transportType) toJson()Convert an instance of TransportSpeedMultiplier 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_SPEED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TransportSpeedMultiplier
public TransportSpeedMultiplier()
-
-
Method Details
-
transportType
-
getTransportType
Get transportType- Returns:
- transportType
-
setTransportType
-
speed
-
getSpeed
Average transport speed multiplier. minimum: 0.1 maximum: 100000- Returns:
- speed
-
setSpeed
-
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 TransportSpeedMultiplier 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 TransportSpeedMultiplier
-
fromJson
Create an instance of TransportSpeedMultiplier given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransportSpeedMultiplier
- Throws:
IOException- if the JSON string is invalid with respect to TransportSpeedMultiplier
-
toJson
Convert an instance of TransportSpeedMultiplier to an JSON string- Returns:
- JSON string
-