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 Details

  • Constructor Details

    • ExtendLockOnExternalTaskDto

      public ExtendLockOnExternalTaskDto()
  • Method Details

    • workerId

      public ExtendLockOnExternalTaskDto workerId(String workerId)
    • getWorkerId

      @Nullable 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)
    • newDuration

      public ExtendLockOnExternalTaskDto newDuration(Long newDuration)
    • getNewDuration

      @Nullable public Long getNewDuration()
      An amount of time (in milliseconds). This is the new lock duration starting from the current moment.
      Returns:
      newDuration
    • getNewDuration_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getNewDuration_JsonNullable()
    • setNewDuration_JsonNullable

      public void setNewDuration_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> newDuration)
    • setNewDuration

      public void setNewDuration(Long newDuration)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string