Class TableTripFields

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

@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 TableTripFields extends Object
Trip\\stops fields for table.
  • Field Details

  • Constructor Details

    • TableTripFields

      public TableTripFields()
    • TableTripFields

      public TableTripFields(Boolean tripVerified, Boolean pristine)
  • Method Details

    • essenceType

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

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

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

      public TableTripFields 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 TableTripFields enabled(@Nullable Boolean enabled)
    • getEnabled

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

      public void setEnabled(@Nullable Boolean enabled)
    • getTripVerified

      @Nullable public Boolean getTripVerified()
      A flag indicating whether the entity has been manually verified.
      Returns:
      tripVerified
    • 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 TableTripFields tripName(@Nullable String tripName)
    • getTripName

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

      public void setTripName(@Nullable String tripName)
    • performerKey

      public TableTripFields performerKey(@Nullable String performerKey)
    • getPerformerKey

      @Nullable public String getPerformerKey()
      Essence key, unique identifier, may be `null`.
      Returns:
      performerKey
    • setPerformerKey

      public void setPerformerKey(@Nullable String performerKey)
    • performerShiftKey

      public TableTripFields performerShiftKey(@Nullable String performerShiftKey)
    • getPerformerShiftKey

      @Nullable public String getPerformerShiftKey()
      Essence key, unique identifier, may be `null`.
      Returns:
      performerShiftKey
    • setPerformerShiftKey

      public void setPerformerShiftKey(@Nullable String performerShiftKey)
    • transportKey

      public TableTripFields transportKey(@Nullable String transportKey)
    • getTransportKey

      @Nullable public String getTransportKey()
      Essence key, unique identifier, may be `null`.
      Returns:
      transportKey
    • setTransportKey

      public void setTransportKey(@Nullable String transportKey)
    • transportShiftKey

      public TableTripFields transportShiftKey(@Nullable String transportShiftKey)
    • getTransportShiftKey

      @Nullable public String getTransportShiftKey()
      Essence key, unique identifier, may be `null`.
      Returns:
      transportShiftKey
    • setTransportShiftKey

      public void setTransportShiftKey(@Nullable String transportShiftKey)
    • cost

      public TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields timeWindow(@Nullable TimeWindow timeWindow)
    • getTimeWindow

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

      public void setTimeWindow(@Nullable TimeWindow timeWindow)
    • ordersCount

      public TableTripFields 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 TableTripFields 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 TableTripFields 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)
    • cargosCount

      public TableTripFields cargosCount(@Nullable Integer cargosCount)
    • getCargosCount

      @Nullable public Integer getCargosCount()
      The total number of cargos. minimum: 0 maximum: 1000000
      Returns:
      cargosCount
    • setCargosCount

      public void setCargosCount(@Nullable Integer cargosCount)
    • stopsCount

      public TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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 TableTripFields 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)
    • averageRoundtripTime

      public TableTripFields averageRoundtripTime(@Nullable String averageRoundtripTime)
    • getAverageRoundtripTime

      @Nullable public String getAverageRoundtripTime()
      Time duration according to `P1DT2H12M34.2S`.
      Returns:
      averageRoundtripTime
    • setAverageRoundtripTime

      public void setAverageRoundtripTime(@Nullable String averageRoundtripTime)
    • averageRoundtripDistance

      public TableTripFields averageRoundtripDistance(@Nullable Double averageRoundtripDistance)
    • getAverageRoundtripDistance

      @Nullable public Double getAverageRoundtripDistance()
      Average mileage per roundtrip is the ratio of the total mileage per trip to the number of roundtrips, in meters. minimum: 0 maximum: 1000000000000
      Returns:
      averageRoundtripDistance
    • setAverageRoundtripDistance

      public void setAverageRoundtripDistance(@Nullable Double averageRoundtripDistance)
    • attributes

      public TableTripFields 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 TableTripFields customfields(@Nullable TableCustomfields customfields)
    • getCustomfields

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

      public void setCustomfields(@Nullable TableCustomfields customfields)
    • tripStatus

      public TableTripFields tripStatus(@Nullable TripStatus tripStatus)
    • getTripStatus

      @Nullable public TripStatus getTripStatus()
      Get tripStatus
      Returns:
      tripStatus
    • setTripStatus

      public void setTripStatus(@Nullable TripStatus tripStatus)
    • crewKey

      public TableTripFields crewKey(@Nullable String crewKey)
    • getCrewKey

      @Nullable public String getCrewKey()
      Essence key, unique identifier, may be `null`.
      Returns:
      crewKey
    • setCrewKey

      public void setCrewKey(@Nullable String crewKey)
    • crewName

      public TableTripFields crewName(@Nullable String crewName)
    • getCrewName

      @Nullable public String getCrewName()
      Name, information field.
      Returns:
      crewName
    • setCrewName

      public void setCrewName(@Nullable String crewName)
    • putAdditionalProperty

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

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

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