Class Hardlink

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

@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 Hardlink extends Object
Assignment required to associate entities in a single group. It can consist of two or more entities. Example: * driver assignment to the transport (connection between the performer's shifts and the transport). * order assignment to the performer (link the order to a performer's shift). * specifying the need to perform multiple orders during a single trip (linking orders to deliver them within one trip).
  • Field Details

  • Constructor Details

    • Hardlink

      public Hardlink()
  • Method Details

    • key

      public Hardlink key(@Nonnull String key)
    • getKey

      @Nonnull public String getKey()
      Hardlink key.
      Returns:
      key
    • setKey

      public void setKey(@Nonnull String key)
    • links

      public Hardlink links(@Nonnull List<HardlinkElement> links)
    • addLinksItem

      public Hardlink addLinksItem(HardlinkElement linksItem)
    • getLinks

      @Nonnull public List<HardlinkElement> getLinks()
      List of items in the assignment group.
      Returns:
      links
    • setLinks

      public void setLinks(@Nonnull List<HardlinkElement> links)
    • attributes

      public Hardlink attributes(@Nullable Set<Attribute> attributes)
    • addAttributesItem

      public Hardlink addAttributesItem(Attribute attributesItem)
    • getAttributes

      @Nullable public Set<Attribute> getAttributes()
      Attributes. Used to add service information.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(@Nullable Set<Attribute> attributes)
    • putAdditionalProperty

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

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

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