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:
  • Field Details

  • Constructor Details

    • Changeset

      public Changeset()
  • Method Details

    • dueDate

      public Changeset dueDate(@Nullable 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(@Nullable String dueDate)
    • followUpDate

      public Changeset followUpDate(@Nullable 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(@Nullable String followUpDate)
    • candidateUsers

      public Changeset candidateUsers(@Nullable List<String> candidateUsers)
    • addCandidateUsersItem

      public Changeset 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(@Nullable List<String> candidateUsers)
    • candidateGroups

      public Changeset candidateGroups(@Nullable List<String> candidateGroups)
    • addCandidateGroupsItem

      public Changeset 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(@Nullable List<String> candidateGroups)
    • priority

      public Changeset priority(@Nullable Integer priority)
    • getPriority

      @Nullable public Integer getPriority()
      The priority of the task. minimum: 0 maximum: 100
      Returns:
      priority
    • setPriority

      public void setPriority(@Nullable Integer priority)
    • putAdditionalProperty

      public Changeset putAdditionalProperty(String key, Object value)
      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 property
      value - the value of the property
      Returns:
      self reference
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) properties.
      Returns:
      the additional (undeclared) properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Specified by:
      equals in interface Map<String,Object>
      Overrides:
      equals in class AbstractMap<String,Object>
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Map<String,Object>
      Overrides:
      hashCode in class AbstractMap<String,Object>
    • toString

      public String toString()
      Overrides:
      toString in class AbstractMap<String,Object>