Class CaseBulkUpdateRequestAttributes

java.lang.Object
com.datadog.api.client.v2.model.CaseBulkUpdateRequestAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CaseBulkUpdateRequestAttributes extends Object
Attributes for the bulk update, specifying which cases to update and the action to apply.
  • Field Details

  • Constructor Details

    • CaseBulkUpdateRequestAttributes

      public CaseBulkUpdateRequestAttributes()
    • CaseBulkUpdateRequestAttributes

      public CaseBulkUpdateRequestAttributes(List<String> caseIds, CaseBulkActionType type)
  • Method Details

    • caseIds

      public CaseBulkUpdateRequestAttributes caseIds(List<String> caseIds)
    • addCaseIdsItem

      public CaseBulkUpdateRequestAttributes addCaseIdsItem(String caseIdsItem)
    • getCaseIds

      public List<String> getCaseIds()
      An array of case identifiers to apply the bulk action to.
      Returns:
      caseIds
    • setCaseIds

      public void setCaseIds(List<String> caseIds)
    • payload

      public CaseBulkUpdateRequestAttributes payload(Map<String,String> payload)
    • putPayloadItem

      public CaseBulkUpdateRequestAttributes putPayloadItem(String key, String payloadItem)
    • getPayload

      @Nullable public Map<String,String> getPayload()
      A key-value map of action-specific parameters. The required keys depend on the action type (for example, priority for the priority action, assignee_id for assign).
      Returns:
      payload
    • setPayload

      public void setPayload(Map<String,String> payload)
    • type

    • getType

      public CaseBulkActionType getType()
      The type of action to apply in a bulk update. Allowed values are priority, status, assign, unassign, archive, unarchive, jira, servicenow, linear, update_project.
      Returns:
      type
    • setType

      public void setType(CaseBulkActionType type)
    • putAdditionalProperty

      public CaseBulkUpdateRequestAttributes putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      CaseBulkUpdateRequestAttributes
    • getAdditionalProperties

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

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this CaseBulkUpdateRequestAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object