Package com.veeroute.lss.agro.model
Class MovementMatrixElement
java.lang.Object
com.veeroute.lss.agro.model.MovementMatrixElement
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:31.676214391+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class MovementMatrixElement
extends Object
Time and distance matrix.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncostPerTransport(Integer costPerTransport) destinationKey(String destinationKey) booleanstatic MovementMatrixElementCreate an instance of MovementMatrixElement given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The total cost of usage 1 transport between source and destination, in conventional monetary units.Target key.Total length, in km.Target key.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCostPerTransport(Integer costPerTransport) voidsetDestinationKey(String destinationKey) voidsetDistance(Integer distance) voidsetSourceKey(String sourceKey) toJson()Convert an instance of MovementMatrixElement 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_SOURCE_KEY
- See Also:
-
SERIALIZED_NAME_DESTINATION_KEY
- See Also:
-
SERIALIZED_NAME_DISTANCE
- See Also:
-
SERIALIZED_NAME_COST_PER_TRANSPORT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MovementMatrixElement
public MovementMatrixElement()
-
-
Method Details
-
sourceKey
-
getSourceKey
Target key.- Returns:
- sourceKey
-
setSourceKey
-
destinationKey
-
getDestinationKey
Target key.- Returns:
- destinationKey
-
setDestinationKey
-
distance
-
getDistance
Total length, in km. minimum: 0 maximum: 40000- Returns:
- distance
-
setDistance
-
costPerTransport
-
getCostPerTransport
The total cost of usage 1 transport between source and destination, in conventional monetary units. minimum: 0 maximum: 100000000- Returns:
- costPerTransport
-
setCostPerTransport
-
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 MovementMatrixElement 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 MovementMatrixElement
-
fromJson
Create an instance of MovementMatrixElement given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MovementMatrixElement
- Throws:
IOException- if the JSON string is invalid with respect to MovementMatrixElement
-
toJson
Convert an instance of MovementMatrixElement to an JSON string- Returns:
- JSON string
-