Class CaseAttributes

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

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

  • Constructor Details

    • CaseAttributes

      public CaseAttributes()
  • Method Details

    • getArchivedAt

      @Nullable public OffsetDateTime getArchivedAt()
      Timestamp of when the case was archived
      Returns:
      archivedAt
    • getArchivedAt_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getArchivedAt_JsonNullable()
    • attributes

      public CaseAttributes attributes(Map<String,List<String>> attributes)
    • putAttributesItem

      public CaseAttributes putAttributesItem(String key, List<String> attributesItem)
    • getAttributes

      @Nullable public Map<String,List<String>> getAttributes()
      Key-value pairs of case attributes. Each key maps to an array of string values, used for flexible metadata such as labels or tags.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(Map<String,List<String>> attributes)
    • getClosedAt

      @Nullable public OffsetDateTime getClosedAt()
      Timestamp of when the case was closed
      Returns:
      closedAt
    • getClosedAt_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getClosedAt_JsonNullable()
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Timestamp of when the case was created
      Returns:
      createdAt
    • customAttributes

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

      public CaseAttributes 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 CaseAttributes description(String description)
    • getDescription

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

      public void setDescription(String description)
    • getJiraIssue

      @Nullable public JiraIssue getJiraIssue()
      Jira issue attached to case
      Returns:
      jiraIssue
    • getJiraIssue_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<JiraIssue> getJiraIssue_JsonNullable()
    • key

      public CaseAttributes key(String key)
    • getKey

      @Nullable public String getKey()
      Key
      Returns:
      key
    • setKey

      public void setKey(String key)
    • getModifiedAt

      @Nullable public OffsetDateTime getModifiedAt()
      Timestamp of when the case was last modified
      Returns:
      modifiedAt
    • getModifiedAt_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getModifiedAt_JsonNullable()
    • priority

      public CaseAttributes priority(CasePriority priority)
    • getPriority

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

      public void setPriority(CasePriority priority)
    • getServiceNowTicket

      @Nullable public ServiceNowTicket getServiceNowTicket()
      ServiceNow ticket attached to case
      Returns:
      serviceNowTicket
    • getServiceNowTicket_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<ServiceNowTicket> getServiceNowTicket_JsonNullable()
    • status

      public CaseAttributes status(CaseStatus status)
    • getStatus

      @Deprecated @Nullable public CaseStatus getStatus()
      Deprecated.
      Deprecated way of representing the case status, which only supports OPEN, IN_PROGRESS, and CLOSED statuses. Use status_name instead.
      Returns:
      status
    • setStatus

      @Deprecated public void setStatus(CaseStatus status)
      Deprecated.
    • statusGroup

      public CaseAttributes statusGroup(CaseStatusGroup statusGroup)
    • getStatusGroup

      @Nullable public CaseStatusGroup getStatusGroup()
      Status group of the case.
      Returns:
      statusGroup
    • setStatusGroup

      public void setStatusGroup(CaseStatusGroup statusGroup)
    • statusName

      public CaseAttributes 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 CaseAttributes title(String title)
    • getTitle

      @Nullable public String getTitle()
      Title
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • type

      public CaseAttributes type(CaseType type)
    • getType

      @Deprecated @Nullable public CaseType getType()
      Deprecated.
      Case type
      Returns:
      type
    • setType

      @Deprecated public void setType(CaseType type)
      Deprecated.
    • typeId

      public CaseAttributes typeId(String typeId)
    • getTypeId

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

      public void setTypeId(String typeId)
    • putAdditionalProperty

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