Package com.veeroute.lss.routing.model
Class Attribute
java.lang.Object
com.veeroute.lss.routing.model.Attribute
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:52.805996699+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class Attribute
extends Object
Attribute.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AttributeCreate an instance of Attribute given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getKey()Attribute's key.Attribute processing strategy: * `LASTMILE_REF_TIME` - when sending a task to the scheduler, the value (format [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6)) of the attribute is replaced with a relative time; if the value is not in the format, the calculation stops with the `FAILED` status.getValue()Attribute's value.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetStrategy(String strategy) voidtoJson()Convert an instance of Attribute 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_VALUE
- See Also:
-
SERIALIZED_NAME_STRATEGY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Attribute
public Attribute()
-
-
Method Details
-
key
-
getKey
Attribute's key.- Returns:
- key
-
setKey
-
value
-
getValue
Attribute's value.- Returns:
- value
-
setValue
-
strategy
-
getStrategy
Attribute processing strategy: * `LASTMILE_REF_TIME` - when sending a task to the scheduler, the value (format [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6)) of the attribute is replaced with a relative time; if the value is not in the format, the calculation stops with the `FAILED` status.- Returns:
- strategy
-
setStrategy
-
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 Attribute 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 Attribute
-
fromJson
Create an instance of Attribute given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Attribute
- Throws:
IOException- if the JSON string is invalid with respect to Attribute
-
toJson
Convert an instance of Attribute to an JSON string- Returns:
- JSON string
-