Class TableTransportFields

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

@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 TableTransportFields extends Object
Transport and shift fields for table.
  • Field Details

  • Constructor Details

    • TableTransportFields

      public TableTransportFields()
    • TableTransportFields

      public TableTransportFields(Boolean pristine)
  • Method Details

    • essenceType

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

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

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

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

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

      public void setEnabled(@Nullable Boolean enabled)
    • 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
    • state

      public TableTransportFields state(@Nullable BasicState state)
    • getState

      @Nullable public BasicState getState()
      Get state
      Returns:
      state
    • setState

      public void setState(@Nullable BasicState state)
    • availabilityTime

      public TableTransportFields availabilityTime(@Nullable TimeWindow availabilityTime)
    • getAvailabilityTime

      @Nullable public TimeWindow getAvailabilityTime()
      Get availabilityTime
      Returns:
      availabilityTime
    • setAvailabilityTime

      public void setAvailabilityTime(@Nullable TimeWindow availabilityTime)
    • transportType

      public TableTransportFields transportType(@Nullable TransportType transportType)
    • getTransportType

      @Nullable public TransportType getTransportType()
      Get transportType
      Returns:
      transportType
    • setTransportType

      public void setTransportType(@Nullable TransportType transportType)
    • tripKey

      public TableTransportFields 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)
    • tripName

      public TableTransportFields tripName(@Nullable String tripName)
    • getTripName

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

      public void setTripName(@Nullable String tripName)
    • locationKeys

      public TableTransportFields locationKeys(@Nullable String locationKeys)
    • getLocationKeys

      @Nullable public String getLocationKeys()
      String table field. For the parent entity, a comma-separated list of values is specified.
      Returns:
      locationKeys
    • setLocationKeys

      public void setLocationKeys(@Nullable String locationKeys)
    • mass

      public TableTransportFields mass(@Nullable Double mass)
    • getMass

      @Nullable public Double getMass()
      Weight in kilograms (the sum of all boxes). minimum: 0 maximum: 1000000
      Returns:
      mass
    • setMass

      public void setMass(@Nullable Double mass)
    • volume

      public TableTransportFields volume(@Nullable Double volume)
    • getVolume

      @Nullable public Double getVolume()
      Volume in cubic meters (the sum of all boxes). minimum: 0 maximum: 1000000
      Returns:
      volume
    • setVolume

      public void setVolume(@Nullable Double volume)
    • capacityA

      public TableTransportFields capacityA(@Nullable Double capacityA)
    • getCapacityA

      @Nullable public Double getCapacityA()
      Additional capacity parameter (A) in alternative units (the sum of all boxes). minimum: 0 maximum: 1000000
      Returns:
      capacityA
    • setCapacityA

      public void setCapacityA(@Nullable Double capacityA)
    • capacityB

      public TableTransportFields capacityB(@Nullable Double capacityB)
    • getCapacityB

      @Nullable public Double getCapacityB()
      Additional capacity parameter (B) in alternative units (the sum of all boxes). minimum: 0 maximum: 1000000
      Returns:
      capacityB
    • setCapacityB

      public void setCapacityB(@Nullable Double capacityB)
    • capacityC

      public TableTransportFields capacityC(@Nullable Double capacityC)
    • getCapacityC

      @Nullable public Double getCapacityC()
      Additional capacity parameter (C) in alternative units (the sum of all boxes). minimum: 0 maximum: 1000000
      Returns:
      capacityC
    • setCapacityC

      public void setCapacityC(@Nullable Double capacityC)
    • transportFeatures

      public TableTransportFields transportFeatures(@Nullable String transportFeatures)
    • getTransportFeatures

      @Nullable public String getTransportFeatures()
      String table field. For the parent entity, a comma-separated list of values is specified.
      Returns:
      transportFeatures
    • setTransportFeatures

      public void setTransportFeatures(@Nullable String transportFeatures)
    • performerRestrictions

      public TableTransportFields performerRestrictions(@Nullable String performerRestrictions)
    • getPerformerRestrictions

      @Nullable public String getPerformerRestrictions()
      String table field. For the parent entity, a comma-separated list of values is specified.
      Returns:
      performerRestrictions
    • setPerformerRestrictions

      public void setPerformerRestrictions(@Nullable String performerRestrictions)
    • tripsCount

      public TableTransportFields tripsCount(@Nullable Integer tripsCount)
    • getTripsCount

      @Nullable public Integer getTripsCount()
      The number of trips in which the transport participates (for a shift - 0 or 1). minimum: 0 maximum: 15001
      Returns:
      tripsCount
    • setTripsCount

      public void setTripsCount(@Nullable Integer tripsCount)
    • roundtripsCount

      public TableTransportFields roundtripsCount(@Nullable Integer roundtripsCount)
    • getRoundtripsCount

      @Nullable public Integer getRoundtripsCount()
      The number of roundtrips in which the transport participates. minimum: 0 maximum: 15001
      Returns:
      roundtripsCount
    • setRoundtripsCount

      public void setRoundtripsCount(@Nullable Integer roundtripsCount)
    • shiftsCount

      public TableTransportFields shiftsCount(@Nullable Integer shiftsCount)
    • getShiftsCount

      @Nullable public Integer getShiftsCount()
      The number of shifts for the performer. minimum: 0 maximum: 15001
      Returns:
      shiftsCount
    • setShiftsCount

      public void setShiftsCount(@Nullable Integer shiftsCount)
    • name

      public TableTransportFields name(@Nullable String name)
    • getName

      @Nullable public String getName()
      Name, information field.
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • warnings

      public TableTransportFields warnings(@Nullable String warnings)
    • getWarnings

      @Nullable public String getWarnings()
      String table field. For the parent entity, a comma-separated list of values is specified.
      Returns:
      warnings
    • setWarnings

      public void setWarnings(@Nullable String warnings)
    • attributes

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

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

      public void setCustomfields(@Nullable TableCustomfields customfields)
    • putAdditionalProperty

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

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

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