Class UserTaskUpdateRequestChangeset

java.lang.Object
io.camunda.zeebe.client.protocol.rest.UserTaskUpdateRequestChangeset

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-03T11:40:38.552819393Z[GMT]", comments="Generator version: 7.4.0") public class UserTaskUpdateRequestChangeset extends 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 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.
  • Field Details

  • Constructor Details

    • UserTaskUpdateRequestChangeset

      public UserTaskUpdateRequestChangeset()
  • Method Details

    • dueDate

      public UserTaskUpdateRequestChangeset dueDate(String dueDate)
    • getDueDate

      @Nullable public String getDueDate()
      The due date of the task. Reset by providing an empty String.
      Returns:
      dueDate
    • setDueDate

      public void setDueDate(String dueDate)
    • followUpDate

      public UserTaskUpdateRequestChangeset followUpDate(String followUpDate)
    • getFollowUpDate

      @Nullable public String getFollowUpDate()
      The follow-up date of the task. Reset by providing an empty String.
      Returns:
      followUpDate
    • setFollowUpDate

      public void setFollowUpDate(String followUpDate)
    • candidateUsers

      public UserTaskUpdateRequestChangeset candidateUsers(List<String> candidateUsers)
    • addCandidateUsersItem

      public UserTaskUpdateRequestChangeset addCandidateUsersItem(String candidateUsersItem)
    • getCandidateUsers

      @Nullable public List<String> getCandidateUsers()
      The list of candidate users of the task. Reset by providing an empty list.
      Returns:
      candidateUsers
    • setCandidateUsers

      public void setCandidateUsers(List<String> candidateUsers)
    • candidateGroups

      public UserTaskUpdateRequestChangeset candidateGroups(List<String> candidateGroups)
    • addCandidateGroupsItem

      public UserTaskUpdateRequestChangeset addCandidateGroupsItem(String candidateGroupsItem)
    • getCandidateGroups

      @Nullable public List<String> getCandidateGroups()
      The list of candidate groups of the task. Reset by providing an empty list.
      Returns:
      candidateGroups
    • setCandidateGroups

      public void setCandidateGroups(List<String> candidateGroups)
    • 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