Class TrackerOrderInfo

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

@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 TrackerOrderInfo extends Object
Tracked order information.
  • Field Details

  • Constructor Details

    • TrackerOrderInfo

      public TrackerOrderInfo()
  • Method Details

    • orderStatus

      public TrackerOrderInfo orderStatus(@Nonnull OrderStatus orderStatus)
    • getOrderStatus

      @Nonnull public OrderStatus getOrderStatus()
      Get orderStatus
      Returns:
      orderStatus
    • setOrderStatus

      public void setOrderStatus(@Nonnull OrderStatus orderStatus)
    • orderName

      public TrackerOrderInfo orderName(@Nullable String orderName)
    • getOrderName

      @Nullable public String getOrderName()
      Name, information field.
      Returns:
      orderName
    • setOrderName

      public void setOrderName(@Nullable String orderName)
    • demands

      public TrackerOrderInfo demands(@Nonnull List<TrackerDemand> demands)
    • addDemandsItem

      public TrackerOrderInfo addDemandsItem(TrackerDemand demandsItem)
    • getDemands

      @Nonnull public List<TrackerDemand> getDemands()
      List of tracked demands.
      Returns:
      demands
    • setDemands

      public void setDemands(@Nonnull List<TrackerDemand> demands)
    • cargos

      public TrackerOrderInfo cargos(@Nullable Set<Cargo> cargos)
    • addCargosItem

      public TrackerOrderInfo addCargosItem(Cargo cargosItem)
    • getCargos

      @Nullable public Set<Cargo> getCargos()
      The list of cargoes referred to by the demands of this order. The list must be empty if all demands in the order are of type `WORK`.
      Returns:
      cargos
    • setCargos

      public void setCargos(@Nullable Set<Cargo> cargos)
    • settings

      public TrackerOrderInfo settings(@Nullable TrackerSettings settings)
    • getSettings

      @Nullable public TrackerSettings getSettings()
      Get settings
      Returns:
      settings
    • setSettings

      public void setSettings(@Nullable TrackerSettings settings)
    • putAdditionalProperty

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

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

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