Class CaseViewCreateAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CaseViewCreateAttributes extends Object
Attributes required to create a case view.
  • Field Details

  • Constructor Details

    • CaseViewCreateAttributes

      public CaseViewCreateAttributes()
    • CaseViewCreateAttributes

      public CaseViewCreateAttributes(String name, String projectId, String query)
  • Method Details

    • name

      public CaseViewCreateAttributes name(String name)
    • getName

      public String getName()
      The name of the view.
      Returns:
      name
    • setName

      public void setName(String name)
    • npRuleId

      public CaseViewCreateAttributes 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)
    • projectId

      public CaseViewCreateAttributes projectId(String projectId)
    • getProjectId

      public String getProjectId()
      The UUID of the project this view belongs to. Views are scoped to a single project.
      Returns:
      projectId
    • setProjectId

      public void setProjectId(String projectId)
    • query

      public CaseViewCreateAttributes query(String query)
    • getQuery

      public String getQuery()
      The query used to filter cases in this view.
      Returns:
      query
    • setQuery

      public void setQuery(String query)
    • putAdditionalProperty

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