Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CaseViewCreateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getName()The name of the view.The identifier of a notification rule linked to this view.The UUID of the project this view belongs to.getQuery()The query used to filter cases in this view.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetNpRuleId(String npRuleId) voidsetProjectId(String projectId) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NP_RULE_ID
- See Also:
-
JSON_PROPERTY_PROJECT_ID
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
-
Constructor Details
-
CaseViewCreateAttributes
public CaseViewCreateAttributes() -
CaseViewCreateAttributes
-
-
Method Details
-
name
-
getName
The name of the view.- Returns:
- name
-
setName
-
npRuleId
-
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
-
projectId
-
getProjectId
The UUID of the project this view belongs to. Views are scoped to a single project.- Returns:
- projectId
-
setProjectId
-
query
-
getQuery
The query used to filter cases in this view.- Returns:
- query
-
setQuery
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- CaseViewCreateAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this CaseViewCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-