Package com.veeroute.lss.universal.model
Class Hardlink
java.lang.Object
com.veeroute.lss.universal.model.Hardlink
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:48:07.156941043+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).
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem(Attribute attributesItem) addLinksItem(HardlinkElement linksItem) attributes(Set<Attribute> attributes) booleanstatic HardlinkCreate an instance of Hardlink given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes.getKey()Hardlink key.getLinks()List of items in the assignment group.inthashCode()links(List<HardlinkElement> links) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(Set<Attribute> attributes) voidvoidsetLinks(List<HardlinkElement> links) toJson()Convert an instance of Hardlink to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_KEY
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Hardlink
public Hardlink()
-
-
Method Details
-
key
-
getKey
Hardlink key.- Returns:
- key
-
setKey
-
links
-
addLinksItem
-
getLinks
List of items in the assignment group.- Returns:
- links
-
setLinks
-
attributes
-
addAttributesItem
-
getAttributes
Attributes. Used to add service information.- Returns:
- attributes
-
setAttributes
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the Hardlink instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of Hardlink to an JSON string- Returns:
- JSON string
-