Package com.datadog.api.client.v2.model
Class CreateNotificationRuleParametersData
java.lang.Object
com.datadog.api.client.v2.model.CreateNotificationRuleParametersData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateNotificationRuleParametersData
extends Object
Data of the notification rule create request: the rule type, and the rule attributes. All fields
are required.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateNotificationRuleParametersData(CreateNotificationRuleParametersDataAttributes attributes, NotificationRulesType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CreateNotificationRuleParametersData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes of the notification rule create request.getType()The rule type associated to notification rules.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetType(NotificationRulesType type) toString()type(NotificationRulesType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CreateNotificationRuleParametersData
public CreateNotificationRuleParametersData() -
CreateNotificationRuleParametersData
public CreateNotificationRuleParametersData(CreateNotificationRuleParametersDataAttributes attributes, NotificationRulesType type)
-
-
Method Details
-
attributes
public CreateNotificationRuleParametersData attributes(CreateNotificationRuleParametersDataAttributes attributes) -
getAttributes
Attributes of the notification rule create request.- Returns:
- attributes
-
setAttributes
-
type
-
getType
The rule type associated to notification rules.- Returns:
- type
-
setType
-
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:
- CreateNotificationRuleParametersData
-
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 CreateNotificationRuleParametersData object is equal to o. -
hashCode
public int hashCode() -
toString
-