Package com.veeroute.lss.universal.model
Class TripAssumptions
java.lang.Object
com.veeroute.lss.universal.model.TripAssumptions
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:48:07.156941043+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class TripAssumptions
extends Object
Planning assumptions. Designed to adjust the logic of planning via mass change of input data.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTransportCapacityMultipliersItem(TransportCapacityMultiplier transportCapacityMultipliersItem) addTransportSpeedMultipliersItem(TransportSpeedMultiplier transportSpeedMultipliersItem) disableCapacity(Boolean disableCapacity) disableCompatibility(Boolean disableCompatibility) disableLocationLimits(Boolean disableLocationLimits) booleanexpandShiftTimeWindow(Boolean expandShiftTimeWindow) static TripAssumptionsCreate an instance of TripAssumptions given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Disable the accounting for capacity.Disable the accounting for capacity.Disable location bandwidth accounting.Expand the time window for performer and transport shifts.Use for calculation the same (specified) time window for orders and demands.Transport capacity change coefficients.Transport speed change coefficients.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.sameOrderTimeWindow(Boolean sameOrderTimeWindow) voidsetDisableCapacity(Boolean disableCapacity) voidsetDisableCompatibility(Boolean disableCompatibility) voidsetDisableLocationLimits(Boolean disableLocationLimits) voidsetExpandShiftTimeWindow(Boolean expandShiftTimeWindow) voidsetSameOrderTimeWindow(Boolean sameOrderTimeWindow) voidsetTransportCapacityMultipliers(Set<TransportCapacityMultiplier> transportCapacityMultipliers) voidsetTransportSpeedMultipliers(Set<TransportSpeedMultiplier> transportSpeedMultipliers) toJson()Convert an instance of TripAssumptions to an JSON stringtoString()transportCapacityMultipliers(Set<TransportCapacityMultiplier> transportCapacityMultipliers) transportSpeedMultipliers(Set<TransportSpeedMultiplier> transportSpeedMultipliers) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TRANSPORT_SPEED_MULTIPLIERS
- See Also:
-
SERIALIZED_NAME_TRANSPORT_CAPACITY_MULTIPLIERS
- See Also:
-
SERIALIZED_NAME_DISABLE_COMPATIBILITY
- See Also:
-
SERIALIZED_NAME_DISABLE_CAPACITY
- See Also:
-
SERIALIZED_NAME_DISABLE_LOCATION_LIMITS
- See Also:
-
SERIALIZED_NAME_SAME_ORDER_TIME_WINDOW
- See Also:
-
SERIALIZED_NAME_EXPAND_SHIFT_TIME_WINDOW
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TripAssumptions
public TripAssumptions()
-
-
Method Details
-
transportSpeedMultipliers
public TripAssumptions transportSpeedMultipliers(@Nullable Set<TransportSpeedMultiplier> transportSpeedMultipliers) -
addTransportSpeedMultipliersItem
public TripAssumptions addTransportSpeedMultipliersItem(TransportSpeedMultiplier transportSpeedMultipliersItem) -
getTransportSpeedMultipliers
Transport speed change coefficients.- Returns:
- transportSpeedMultipliers
-
setTransportSpeedMultipliers
public void setTransportSpeedMultipliers(@Nullable Set<TransportSpeedMultiplier> transportSpeedMultipliers) -
transportCapacityMultipliers
public TripAssumptions transportCapacityMultipliers(@Nullable Set<TransportCapacityMultiplier> transportCapacityMultipliers) -
addTransportCapacityMultipliersItem
public TripAssumptions addTransportCapacityMultipliersItem(TransportCapacityMultiplier transportCapacityMultipliersItem) -
getTransportCapacityMultipliers
Transport capacity change coefficients. Change the `capacity` parameters for all boxes and `max_capacity` for the transport.- Returns:
- transportCapacityMultipliers
-
setTransportCapacityMultipliers
public void setTransportCapacityMultipliers(@Nullable Set<TransportCapacityMultiplier> transportCapacityMultipliers) -
disableCompatibility
-
getDisableCompatibility
Disable the accounting for capacity. If `true` is specified, all becomes compatible with everything.- Returns:
- disableCompatibility
-
setDisableCompatibility
-
disableCapacity
-
getDisableCapacity
Disable the accounting for capacity. If `true` is specified, all transports can accommodate an unlimited cargo amount.- Returns:
- disableCapacity
-
setDisableCapacity
-
disableLocationLimits
-
getDisableLocationLimits
Disable location bandwidth accounting. If `true` is specified, `location.timetable.limits` and `trips_settings.penalties.max_locations_limits_penalty` parameters are not taken into account.- Returns:
- disableLocationLimits
-
setDisableLocationLimits
-
sameOrderTimeWindow
-
getSameOrderTimeWindow
Use for calculation the same (specified) time window for orders and demands. The time window is specified from the beginning of the earliest window to the end of the latest window from all orders and demands.- Returns:
- sameOrderTimeWindow
-
setSameOrderTimeWindow
-
expandShiftTimeWindow
-
getExpandShiftTimeWindow
Expand the time window for performer and transport shifts. The left border of the first shift extends to the left border of the specified window, right border extends to the right border or to the beginning of the next window for this entity. Each next shift moves the right border to the next shift or to the right border of the specified window.- Returns:
- expandShiftTimeWindow
-
setExpandShiftTimeWindow
-
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 TripAssumptions 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 TripAssumptions
-
fromJson
Create an instance of TripAssumptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TripAssumptions
- Throws:
IOException- if the JSON string is invalid with respect to TripAssumptions
-
toJson
Convert an instance of TripAssumptions to an JSON string- Returns:
- JSON string
-