Class CaseViewAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CaseViewAttributes extends Object
Attributes of a case view, including the filter query and optional notification rule.
  • Field Details

  • Constructor Details

    • CaseViewAttributes

      public CaseViewAttributes()
    • CaseViewAttributes

      public CaseViewAttributes(OffsetDateTime createdAt, String name, String query)
  • Method Details

    • getCreatedAt

      public OffsetDateTime getCreatedAt()
      Timestamp when the view was created.
      Returns:
      createdAt
    • getModifiedAt

      @Nullable public OffsetDateTime getModifiedAt()
      Timestamp when the view was last modified.
      Returns:
      modifiedAt
    • name

      public CaseViewAttributes name(String name)
    • getName

      public String getName()
      A human-readable name for the view, displayed in the Case Management UI.
      Returns:
      name
    • setName

      public void setName(String name)
    • npRuleId

      public CaseViewAttributes npRuleId(String npRuleId)
    • getNpRuleId

      @Nullable public String getNpRuleId()
      The identifier of a notification rule linked to this view. When set, users subscribed to the view receive alerts for matching cases.
      Returns:
      npRuleId
    • setNpRuleId

      public void setNpRuleId(String npRuleId)
    • query

      public CaseViewAttributes query(String query)
    • getQuery

      public String getQuery()
      The search query that determines which cases appear in this view. Uses the same syntax as the Case Management search bar (for example, status:open priority:P1).
      Returns:
      query
    • setQuery

      public void setQuery(String query)
    • putAdditionalProperty

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