Class TaskAssignRequest
java.lang.Object
io.camunda.tasklist.generated.model.TaskAssignRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-29T10:52:23.981575172Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class TaskAssignRequest
extends Object
Request params used to assign the task to assignee or current user.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowOverrideAssignment(Boolean allowOverrideAssignment) booleanWhen `true` the task that is already assigned may be assigned again.When using a JWT token, the assignee parameter is NOT optional when called directly from the API.inthashCode()voidsetAllowOverrideAssignment(Boolean allowOverrideAssignment) voidsetAssignee(String assignee) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ASSIGNEE
- See Also:
-
JSON_PROPERTY_ALLOW_OVERRIDE_ASSIGNMENT
- See Also:
-
-
Constructor Details
-
TaskAssignRequest
public TaskAssignRequest()
-
-
Method Details
-
assignee
-
getAssignee
When using a JWT token, the assignee parameter is NOT optional when called directly from the API. The system will not be able to detect the assignee from the JWT token, therefore the assignee parameter needs to be explicitly passed in this instance.- Returns:
- assignee
-
setAssignee
-
allowOverrideAssignment
-
getAllowOverrideAssignment
When `true` the task that is already assigned may be assigned again. Otherwise the task must be first unassigned and only then assigned again.- Returns:
- allowOverrideAssignment
-
setAllowOverrideAssignment
-
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
-