Package com.veeroute.lss.universal.model
Class DemandExtraDuration
java.lang.Object
com.veeroute.lss.universal.model.DemandExtraDuration
@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 DemandExtraDuration
extends Object
Additional time for the execution of the application by a certain performer.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalDuration(String additionalDuration) booleanstatic DemandExtraDurationCreate an instance of DemandExtraDuration given an JSON stringTime duration according to `P1DT2H12M34.2S`.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The key of the ticket whose events need to increase the execution time.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAdditionalDuration(String additionalDuration) voidsetDemandKey(String demandKey) toJson()Convert an instance of DemandExtraDuration 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_DEMAND_KEY
- See Also:
-
SERIALIZED_NAME_ADDITIONAL_DURATION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DemandExtraDuration
public DemandExtraDuration()
-
-
Method Details
-
demandKey
-
getDemandKey
The key of the ticket whose events need to increase the execution time.- Returns:
- demandKey
-
setDemandKey
-
additionalDuration
-
getAdditionalDuration
Time duration according to `P1DT2H12M34.2S`.- Returns:
- additionalDuration
-
setAdditionalDuration
-
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 DemandExtraDuration 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 DemandExtraDuration
-
fromJson
Create an instance of DemandExtraDuration given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DemandExtraDuration
- Throws:
IOException- if the JSON string is invalid with respect to DemandExtraDuration
-
toJson
Convert an instance of DemandExtraDuration to an JSON string- Returns:
- JSON string
-