Class CaseCreateAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CaseCreateAttributes extends Object
Case creation attributes
  • Field Details

  • Constructor Details

    • CaseCreateAttributes

      public CaseCreateAttributes()
    • CaseCreateAttributes

      public CaseCreateAttributes(String title, String typeId)
  • Method Details

    • customAttributes

      public CaseCreateAttributes customAttributes(Map<String,CustomAttributeValue> customAttributes)
    • putCustomAttributesItem

      public CaseCreateAttributes putCustomAttributesItem(String key, CustomAttributeValue customAttributesItem)
    • getCustomAttributes

      @Nullable public Map<String,CustomAttributeValue> getCustomAttributes()
      Case custom attributes
      Returns:
      customAttributes
    • setCustomAttributes

      public void setCustomAttributes(Map<String,CustomAttributeValue> customAttributes)
    • description

      public CaseCreateAttributes description(String description)
    • getDescription

      @Nullable public String getDescription()
      Description
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • priority

      public CaseCreateAttributes priority(CasePriority priority)
    • getPriority

      @Nullable public CasePriority getPriority()
      Case priority
      Returns:
      priority
    • setPriority

      public void setPriority(CasePriority priority)
    • statusName

      public CaseCreateAttributes statusName(String statusName)
    • getStatusName

      @Nullable public String getStatusName()
      Status of the case. Must be one of the existing statuses for the case's type.
      Returns:
      statusName
    • setStatusName

      public void setStatusName(String statusName)
    • title

      public CaseCreateAttributes title(String title)
    • getTitle

      public String getTitle()
      Title
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • typeId

      public CaseCreateAttributes typeId(String typeId)
    • getTypeId

      public String getTypeId()
      Case type UUID
      Returns:
      typeId
    • setTypeId

      public void setTypeId(String typeId)
    • putAdditionalProperty

      public CaseCreateAttributes 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:
      CaseCreateAttributes
    • 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 CaseCreateAttributes 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