Package org.openapitools.client.model
Class ExtendLockOnExternalTaskDto
- java.lang.Object
-
- org.openapitools.client.model.ExtendLockOnExternalTaskDto
-
public class ExtendLockOnExternalTaskDto extends Object
ExtendLockOnExternalTaskDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_NEW_DURATIONstatic StringSERIALIZED_NAME_WORKER_ID
-
Constructor Summary
Constructors Constructor Description ExtendLockOnExternalTaskDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)LonggetNewDuration()An amount of time (in milliseconds).StringgetWorkerId()**Mandatory.** The ID of the worker who is performing the operation on the external task.inthashCode()ExtendLockOnExternalTaskDtonewDuration(Long newDuration)voidsetNewDuration(Long newDuration)voidsetWorkerId(String workerId)StringtoString()ExtendLockOnExternalTaskDtoworkerId(String workerId)
-
-
-
Field Detail
-
SERIALIZED_NAME_NEW_DURATION
public static final String SERIALIZED_NAME_NEW_DURATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WORKER_ID
public static final String SERIALIZED_NAME_WORKER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
newDuration
public ExtendLockOnExternalTaskDto newDuration(Long newDuration)
-
getNewDuration
public Long getNewDuration()
An amount of time (in milliseconds). This is the new lock duration starting from the current moment.- Returns:
- newDuration
-
setNewDuration
public void setNewDuration(Long newDuration)
-
workerId
public ExtendLockOnExternalTaskDto workerId(String workerId)
-
getWorkerId
public String getWorkerId()
**Mandatory.** The ID of the worker who is performing the operation on the external task. If the task is already locked, must match the id of the worker who has most recently locked the task.- Returns:
- workerId
-
setWorkerId
public void setWorkerId(String workerId)
-
-