Class ExtendLockOnExternalTaskDto
java.lang.Object
org.camunda.community.rest.client.dto.ExtendLockOnExternalTaskDto
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class ExtendLockOnExternalTaskDto
extends Object
ExtendLockOnExternalTaskDto
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAn amount of time (in milliseconds).org.openapitools.jackson.nullable.JsonNullable<Long>**Mandatory.** The ID of the worker who is performing the operation on the external task.inthashCode()newDuration(Long newDuration) voidsetNewDuration(Long newDuration) voidsetNewDuration_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> newDuration) voidsetWorkerId(String workerId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_WORKER_ID
- See Also:
-
JSON_PROPERTY_NEW_DURATION
- See Also:
-
-
Constructor Details
-
ExtendLockOnExternalTaskDto
public ExtendLockOnExternalTaskDto()
-
-
Method Details
-
workerId
-
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
-
newDuration
-
getNewDuration
An amount of time (in milliseconds). This is the new lock duration starting from the current moment.- Returns:
- newDuration
-
getNewDuration_JsonNullable
-
setNewDuration_JsonNullable
public void setNewDuration_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> newDuration) -
setNewDuration
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-