Class TableRoundtripFields

java.lang.Object
com.veeroute.lss.studio.model.TableRoundtripFields

@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 TableRoundtripFields extends Object
Table fields for roundtrips.
  • Field Details

  • Constructor Details

    • TableRoundtripFields

      public TableRoundtripFields()
    • TableRoundtripFields

      public TableRoundtripFields(Boolean pristine)
  • Method Details

    • essenceType

      public TableRoundtripFields essenceType(@Nullable TableRoundtripFields.EssenceTypeEnum essenceType)
    • getEssenceType

      @Nullable public TableRoundtripFields.EssenceTypeEnum getEssenceType()
      Essence type.
      Returns:
      essenceType
    • setEssenceType

      public void setEssenceType(@Nullable TableRoundtripFields.EssenceTypeEnum essenceType)
    • essenceKey

      public TableRoundtripFields essenceKey(@Nullable String essenceKey)
    • getEssenceKey

      @Nullable public String getEssenceKey()
      Essence key, unique identifier, may be `null`.
      Returns:
      essenceKey
    • setEssenceKey

      public void setEssenceKey(@Nullable String essenceKey)
    • enabled

      public TableRoundtripFields enabled(@Nullable Boolean enabled)
    • getEnabled

      @Nullable public Boolean getEnabled()
      Using essence for calculations.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(@Nullable Boolean enabled)
    • tripKey

      public TableRoundtripFields tripKey(@Nullable String tripKey)
    • getTripKey

      @Nullable public String getTripKey()
      Essence key, unique identifier, may be `null`.
      Returns:
      tripKey
    • setTripKey

      public void setTripKey(@Nullable String tripKey)
    • getPristine

      @Nullable public Boolean getPristine()
      A flag indicating whether changes to the entity have been made relative to the original data. `true` - means that the data is original and has not been changed.
      Returns:
      pristine
    • tripName

      public TableRoundtripFields tripName(@Nullable String tripName)
    • getTripName

      @Nullable public String getTripName()
      Name, information field.
      Returns:
      tripName
    • setTripName

      public void setTripName(@Nullable String tripName)
    • cost

      public TableRoundtripFields cost(@Nullable Double cost)
    • getCost

      @Nullable public Double getCost()
      Total cost calculated based on the performer's and transport tariffs. minimum: 0 maximum: 1000000000000
      Returns:
      cost
    • setCost

      public void setCost(@Nullable Double cost)
    • reward

      public TableRoundtripFields reward(@Nullable Double reward)
    • getReward

      @Nullable public Double getReward()
      The total reward for orders fulfillment. minimum: 0 maximum: 1000000000000
      Returns:
      reward
    • setReward

      public void setReward(@Nullable Double reward)
    • profit

      public TableRoundtripFields profit(@Nullable Double profit)
    • getProfit

      @Nullable public Double getProfit()
      The total profit is equal to the difference between the total reward (`reward`) and cost (`cost`). minimum: -1000000000000 maximum: 1000000000000
      Returns:
      profit
    • setProfit

      public void setProfit(@Nullable Double profit)
    • drivingTime

      public TableRoundtripFields drivingTime(@Nullable String drivingTime)
    • getDrivingTime

      @Nullable public String getDrivingTime()
      Time duration according to `P1DT2H12M34.2S`.
      Returns:
      drivingTime
    • setDrivingTime

      public void setDrivingTime(@Nullable String drivingTime)
    • waitingTime

      public TableRoundtripFields waitingTime(@Nullable String waitingTime)
    • getWaitingTime

      @Nullable public String getWaitingTime()
      Time duration according to `P1DT2H12M34.2S`.
      Returns:
      waitingTime
    • setWaitingTime

      public void setWaitingTime(@Nullable String waitingTime)
    • breakTime

      public TableRoundtripFields breakTime(@Nullable String breakTime)
    • getBreakTime

      @Nullable public String getBreakTime()
      Time duration according to `P1DT2H12M34.2S`.
      Returns:
      breakTime
    • setBreakTime

      public void setBreakTime(@Nullable String breakTime)
    • restTime

      public TableRoundtripFields restTime(@Nullable String restTime)
    • getRestTime

      @Nullable public String getRestTime()
      Time duration according to `P1DT2H12M34.2S`.
      Returns:
      restTime
    • setRestTime

      public void setRestTime(@Nullable String restTime)
    • workingTime

      public TableRoundtripFields workingTime(@Nullable String workingTime)
    • getWorkingTime

      @Nullable public String getWorkingTime()
      Time duration according to `P1DT2H12M34.2S`.
      Returns:
      workingTime
    • setWorkingTime

      public void setWorkingTime(@Nullable String workingTime)
    • arrivingTime

      public TableRoundtripFields arrivingTime(@Nullable String arrivingTime)
    • getArrivingTime

      @Nullable public String getArrivingTime()
      Time duration according to `P1DT2H12M34.2S`.
      Returns:
      arrivingTime
    • setArrivingTime

      public void setArrivingTime(@Nullable String arrivingTime)
    • departureTime

      public TableRoundtripFields departureTime(@Nullable String departureTime)
    • getDepartureTime

      @Nullable public String getDepartureTime()
      Time duration according to `P1DT2H12M34.2S`.
      Returns:
      departureTime
    • setDepartureTime

      public void setDepartureTime(@Nullable String departureTime)
    • totalTime

      public TableRoundtripFields totalTime(@Nullable String totalTime)
    • getTotalTime

      @Nullable public String getTotalTime()
      Time duration according to `P1DT2H12M34.2S`.
      Returns:
      totalTime
    • setTotalTime

      public void setTotalTime(@Nullable String totalTime)
    • distance

      public TableRoundtripFields distance(@Nullable Integer distance)
    • getDistance

      @Nullable public Integer getDistance()
      Distance in meters. minimum: 0 maximum: 4000000000
      Returns:
      distance
    • setDistance

      public void setDistance(@Nullable Integer distance)
    • timeWindow

      public TableRoundtripFields timeWindow(@Nullable TimeWindow timeWindow)
    • getTimeWindow

      @Nullable public TimeWindow getTimeWindow()
      Get timeWindow
      Returns:
      timeWindow
    • setTimeWindow

      public void setTimeWindow(@Nullable TimeWindow timeWindow)
    • ordersCount

      public TableRoundtripFields ordersCount(@Nullable Integer ordersCount)
    • getOrdersCount

      @Nullable public Integer getOrdersCount()
      The total number of planned and assigned orders. minimum: 0 maximum: 15001
      Returns:
      ordersCount
    • setOrdersCount

      public void setOrdersCount(@Nullable Integer ordersCount)
    • planOrdersCount

      public TableRoundtripFields planOrdersCount(@Nullable Integer planOrdersCount)
    • getPlanOrdersCount

      @Nullable public Integer getPlanOrdersCount()
      The total number of planned orders. minimum: 0 maximum: 15001
      Returns:
      planOrdersCount
    • setPlanOrdersCount

      public void setPlanOrdersCount(@Nullable Integer planOrdersCount)
    • waitlistOrdersCount

      public TableRoundtripFields waitlistOrdersCount(@Nullable Integer waitlistOrdersCount)
    • getWaitlistOrdersCount

      @Nullable public Integer getWaitlistOrdersCount()
      The total number of assigned orders. minimum: 0 maximum: 15001
      Returns:
      waitlistOrdersCount
    • setWaitlistOrdersCount

      public void setWaitlistOrdersCount(@Nullable Integer waitlistOrdersCount)
    • stopsCount

      public TableRoundtripFields stopsCount(@Nullable Integer stopsCount)
    • getStopsCount

      @Nullable public Integer getStopsCount()
      The total number of stops (non-unique locations). minimum: 0 maximum: 15001
      Returns:
      stopsCount
    • setStopsCount

      public void setStopsCount(@Nullable Integer stopsCount)
    • locationsCount

      public TableRoundtripFields locationsCount(@Nullable Integer locationsCount)
    • getLocationsCount

      @Nullable public Integer getLocationsCount()
      The total number of unique locations within one trip. minimum: 0 maximum: 15001
      Returns:
      locationsCount
    • setLocationsCount

      public void setLocationsCount(@Nullable Integer locationsCount)
    • cargoCapacityRatioMass

      public TableRoundtripFields cargoCapacityRatioMass(@Nullable Double cargoCapacityRatioMass)
    • getCargoCapacityRatioMass

      @Nullable public Double getCargoCapacityRatioMass()
      The ratio of the total additive measures of the transported cargo to the total capacity of the boxes. minimum: 0 maximum: 1000000
      Returns:
      cargoCapacityRatioMass
    • setCargoCapacityRatioMass

      public void setCargoCapacityRatioMass(@Nullable Double cargoCapacityRatioMass)
    • cargoCapacityRatioVolume

      public TableRoundtripFields cargoCapacityRatioVolume(@Nullable Double cargoCapacityRatioVolume)
    • getCargoCapacityRatioVolume

      @Nullable public Double getCargoCapacityRatioVolume()
      The ratio of the total additive measures of the transported cargo to the total capacity of the boxes. minimum: 0 maximum: 1000000
      Returns:
      cargoCapacityRatioVolume
    • setCargoCapacityRatioVolume

      public void setCargoCapacityRatioVolume(@Nullable Double cargoCapacityRatioVolume)
    • cargoCapacityRatioCapacityA

      public TableRoundtripFields cargoCapacityRatioCapacityA(@Nullable Double cargoCapacityRatioCapacityA)
    • getCargoCapacityRatioCapacityA

      @Nullable public Double getCargoCapacityRatioCapacityA()
      The ratio of the total additive measures of the transported cargo to the total capacity of the boxes. minimum: 0 maximum: 1000000
      Returns:
      cargoCapacityRatioCapacityA
    • setCargoCapacityRatioCapacityA

      public void setCargoCapacityRatioCapacityA(@Nullable Double cargoCapacityRatioCapacityA)
    • cargoCapacityRatioCapacityB

      public TableRoundtripFields cargoCapacityRatioCapacityB(@Nullable Double cargoCapacityRatioCapacityB)
    • getCargoCapacityRatioCapacityB

      @Nullable public Double getCargoCapacityRatioCapacityB()
      The ratio of the total additive measures of the transported cargo to the total capacity of the boxes. minimum: 0 maximum: 1000000
      Returns:
      cargoCapacityRatioCapacityB
    • setCargoCapacityRatioCapacityB

      public void setCargoCapacityRatioCapacityB(@Nullable Double cargoCapacityRatioCapacityB)
    • cargoCapacityRatioCapacityC

      public TableRoundtripFields cargoCapacityRatioCapacityC(@Nullable Double cargoCapacityRatioCapacityC)
    • getCargoCapacityRatioCapacityC

      @Nullable public Double getCargoCapacityRatioCapacityC()
      The ratio of the total additive measures of the transported cargo to the total capacity of the boxes. minimum: 0 maximum: 1000000
      Returns:
      cargoCapacityRatioCapacityC
    • setCargoCapacityRatioCapacityC

      public void setCargoCapacityRatioCapacityC(@Nullable Double cargoCapacityRatioCapacityC)
    • maxTransportLoadMass

      public TableRoundtripFields maxTransportLoadMass(@Nullable Double maxTransportLoadMass)
    • getMaxTransportLoadMass

      @Nullable public Double getMaxTransportLoadMass()
      The ratio of the maximum load of boxes to the total capacity of boxes. minimum: 0 maximum: 1000000
      Returns:
      maxTransportLoadMass
    • setMaxTransportLoadMass

      public void setMaxTransportLoadMass(@Nullable Double maxTransportLoadMass)
    • maxTransportLoadVolume

      public TableRoundtripFields maxTransportLoadVolume(@Nullable Double maxTransportLoadVolume)
    • getMaxTransportLoadVolume

      @Nullable public Double getMaxTransportLoadVolume()
      The ratio of the maximum load of boxes to the total capacity of boxes. minimum: 0 maximum: 1000000
      Returns:
      maxTransportLoadVolume
    • setMaxTransportLoadVolume

      public void setMaxTransportLoadVolume(@Nullable Double maxTransportLoadVolume)
    • maxTransportLoadCapacityA

      public TableRoundtripFields maxTransportLoadCapacityA(@Nullable Double maxTransportLoadCapacityA)
    • getMaxTransportLoadCapacityA

      @Nullable public Double getMaxTransportLoadCapacityA()
      The ratio of the maximum load of boxes to the total capacity of boxes. minimum: 0 maximum: 1000000
      Returns:
      maxTransportLoadCapacityA
    • setMaxTransportLoadCapacityA

      public void setMaxTransportLoadCapacityA(@Nullable Double maxTransportLoadCapacityA)
    • maxTransportLoadCapacityB

      public TableRoundtripFields maxTransportLoadCapacityB(@Nullable Double maxTransportLoadCapacityB)
    • getMaxTransportLoadCapacityB

      @Nullable public Double getMaxTransportLoadCapacityB()
      The ratio of the maximum load of boxes to the total capacity of boxes. minimum: 0 maximum: 1000000
      Returns:
      maxTransportLoadCapacityB
    • setMaxTransportLoadCapacityB

      public void setMaxTransportLoadCapacityB(@Nullable Double maxTransportLoadCapacityB)
    • maxTransportLoadCapacityC

      public TableRoundtripFields maxTransportLoadCapacityC(@Nullable Double maxTransportLoadCapacityC)
    • getMaxTransportLoadCapacityC

      @Nullable public Double getMaxTransportLoadCapacityC()
      The ratio of the maximum load of boxes to the total capacity of boxes. minimum: 0 maximum: 1000000
      Returns:
      maxTransportLoadCapacityC
    • setMaxTransportLoadCapacityC

      public void setMaxTransportLoadCapacityC(@Nullable Double maxTransportLoadCapacityC)
    • attributes

      public TableRoundtripFields attributes(@Nullable String attributes)
    • getAttributes

      @Nullable public String getAttributes()
      List of attributes as a string.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(@Nullable String attributes)
    • customfields

      public TableRoundtripFields customfields(@Nullable TableCustomfields customfields)
    • getCustomfields

      @Nullable public TableCustomfields getCustomfields()
      Get customfields
      Returns:
      customfields
    • setCustomfields

      public void setCustomfields(@Nullable TableCustomfields customfields)
    • putAdditionalProperty

      public TableRoundtripFields 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 TableRoundtripFields 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 TableRoundtripFields
    • fromJson

      public static TableRoundtripFields fromJson(String jsonString) throws IOException
      Create an instance of TableRoundtripFields given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of TableRoundtripFields
      Throws:
      IOException - if the JSON string is invalid with respect to TableRoundtripFields
    • toJson

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