Class TripAssumptions

java.lang.Object
com.veeroute.lss.monitor.model.TripAssumptions

@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 TripAssumptions extends Object
Planning assumptions. Designed to adjust the logic of planning via mass change of input data.
  • Field Details

    • SERIALIZED_NAME_TRANSPORT_SPEED_MULTIPLIERS

      public static final String SERIALIZED_NAME_TRANSPORT_SPEED_MULTIPLIERS
      See Also:
    • SERIALIZED_NAME_TRANSPORT_CAPACITY_MULTIPLIERS

      public static final String SERIALIZED_NAME_TRANSPORT_CAPACITY_MULTIPLIERS
      See Also:
    • SERIALIZED_NAME_DISABLE_COMPATIBILITY

      public static final String SERIALIZED_NAME_DISABLE_COMPATIBILITY
      See Also:
    • SERIALIZED_NAME_DISABLE_CAPACITY

      public static final String SERIALIZED_NAME_DISABLE_CAPACITY
      See Also:
    • SERIALIZED_NAME_DISABLE_LOCATION_LIMITS

      public static final String SERIALIZED_NAME_DISABLE_LOCATION_LIMITS
      See Also:
    • SERIALIZED_NAME_SAME_ORDER_TIME_WINDOW

      public static final String SERIALIZED_NAME_SAME_ORDER_TIME_WINDOW
      See Also:
    • SERIALIZED_NAME_EXPAND_SHIFT_TIME_WINDOW

      public static final String SERIALIZED_NAME_EXPAND_SHIFT_TIME_WINDOW
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • TripAssumptions

      public TripAssumptions()
  • Method Details

    • transportSpeedMultipliers

      public TripAssumptions transportSpeedMultipliers(@Nullable Set<TransportSpeedMultiplier> transportSpeedMultipliers)
    • addTransportSpeedMultipliersItem

      public TripAssumptions addTransportSpeedMultipliersItem(TransportSpeedMultiplier transportSpeedMultipliersItem)
    • getTransportSpeedMultipliers

      @Nullable public Set<TransportSpeedMultiplier> 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

      @Nullable public Set<TransportCapacityMultiplier> 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

      public TripAssumptions disableCompatibility(@Nullable Boolean disableCompatibility)
    • getDisableCompatibility

      @Nullable public Boolean getDisableCompatibility()
      Disable the accounting for capacity. If `true` is specified, all becomes compatible with everything.
      Returns:
      disableCompatibility
    • setDisableCompatibility

      public void setDisableCompatibility(@Nullable Boolean disableCompatibility)
    • disableCapacity

      public TripAssumptions disableCapacity(@Nullable Boolean disableCapacity)
    • getDisableCapacity

      @Nullable public Boolean getDisableCapacity()
      Disable the accounting for capacity. If `true` is specified, all transports can accommodate an unlimited cargo amount.
      Returns:
      disableCapacity
    • setDisableCapacity

      public void setDisableCapacity(@Nullable Boolean disableCapacity)
    • disableLocationLimits

      public TripAssumptions disableLocationLimits(@Nullable Boolean disableLocationLimits)
    • getDisableLocationLimits

      @Nullable public Boolean 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

      public void setDisableLocationLimits(@Nullable Boolean disableLocationLimits)
    • sameOrderTimeWindow

      public TripAssumptions sameOrderTimeWindow(@Nullable Boolean sameOrderTimeWindow)
    • getSameOrderTimeWindow

      @Nullable public Boolean 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

      public void setSameOrderTimeWindow(@Nullable Boolean sameOrderTimeWindow)
    • expandShiftTimeWindow

      public TripAssumptions expandShiftTimeWindow(@Nullable Boolean expandShiftTimeWindow)
    • getExpandShiftTimeWindow

      @Nullable public Boolean 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

      public void setExpandShiftTimeWindow(@Nullable Boolean expandShiftTimeWindow)
    • putAdditionalProperty

      public TripAssumptions putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the TripAssumptions instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static TripAssumptions fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of TripAssumptions to an JSON string
      Returns:
      JSON string