Package com.datadog.api.client.v2.model
Class NotificationRuleResponse
java.lang.Object
com.datadog.api.client.v2.model.NotificationRuleResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class NotificationRuleResponse
extends Object
Response object which includes a notification rule.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata(NotificationRule data) booleanReturn true if this NotificationRuleResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()Notification rules allow full control over notifications generated by the various Datadog security products.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetData(NotificationRule data) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
-
Constructor Details
-
NotificationRuleResponse
public NotificationRuleResponse()
-
-
Method Details
-
data
-
getData
Notification rules allow full control over notifications generated by the various Datadog security products. They allow users to define the conditions under which a notification should be generated (based on rule severities, rule types, rule tags, and so on), and the targets to notify. A notification rule is composed of a rule ID, a rule type, and the rule attributes. All fields are required.- Returns:
- data
-
setData
-
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:
- NotificationRuleResponse
-
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 NotificationRuleResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-