Package io.camunda.client.protocol.rest
Class Changeset
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class Changeset
extends HashMap<String,Object>
JSON object with changed task attribute values. The following attributes can be adjusted with this endpoint, additional attributes will be ignored: * `candidateGroups` - reset by providing an empty list * `candidateUsers` - reset by providing an empty list * `dueDate` - reset by providing an empty String * `followUpDate` - reset by providing an empty String * `priority` - minimum 0, maximum 100, default 50 Providing any of those attributes with a `null` value or omitting it preserves the persisted attribute's value. The assignee cannot be adjusted with this endpoint, use the Assign task endpoint. This ensures correct event emission for assignee changes.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCandidateGroupsItem(String candidateGroupsItem) addCandidateUsersItem(String candidateUsersItem) candidateGroups(List<String> candidateGroups) candidateUsers(List<String> candidateUsers) booleanfollowUpDate(String followUpDate) Return the additional (undeclared) properties.Return the additional (undeclared) property with the specified name.The list of candidate groups of the task.The list of candidate users of the task.The due date of the task.The follow-up date of the task.The priority of the task.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCandidateGroups(List<String> candidateGroups) voidsetCandidateUsers(List<String> candidateUsers) voidsetDueDate(String dueDate) voidsetFollowUpDate(String followUpDate) voidsetPriority(Integer priority) toString()Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Field Details
-
JSON_PROPERTY_DUE_DATE
- See Also:
-
JSON_PROPERTY_FOLLOW_UP_DATE
- See Also:
-
JSON_PROPERTY_CANDIDATE_USERS
- See Also:
-
JSON_PROPERTY_CANDIDATE_GROUPS
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
-
Constructor Details
-
Changeset
public Changeset()
-
-
Method Details
-
dueDate
-
getDueDate
The due date of the task. Reset by providing an empty String.- Returns:
- dueDate
-
setDueDate
-
followUpDate
-
getFollowUpDate
The follow-up date of the task. Reset by providing an empty String.- Returns:
- followUpDate
-
setFollowUpDate
-
candidateUsers
-
addCandidateUsersItem
-
getCandidateUsers
The list of candidate users of the task. Reset by providing an empty list.- Returns:
- candidateUsers
-
setCandidateUsers
-
candidateGroups
-
addCandidateGroupsItem
-
getCandidateGroups
The list of candidate groups of the task. Reset by providing an empty list.- Returns:
- candidateGroups
-
setCandidateGroups
-
priority
-
getPriority
The priority of the task. minimum: 0 maximum: 100- Returns:
- priority
-
setPriority
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. Creates the property if it does not already exist, otherwise replaces it.- Parameters:
key- the name of the propertyvalue- the value of the property- Returns:
- self reference
-
getAdditionalProperties
Return the additional (undeclared) properties.- Returns:
- the additional (undeclared) properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- the name of the property- Returns:
- the additional (undeclared) property with the specified name
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classAbstractMap<String,Object>
-