Package com.datadog.api.client.v2.model
Class IncidentNotificationRuleCreateData
java.lang.Object
com.datadog.api.client.v2.model.IncidentNotificationRuleCreateData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentNotificationRuleCreateData
extends Object
Notification rule data for a create request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIncidentNotificationRuleCreateData(IncidentNotificationRuleCreateAttributes attributes, IncidentNotificationRuleType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(IncidentNotificationRuleCreateAttributes attributes) booleanReturn true if this IncidentNotificationRuleCreateData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The attributes for creating a notification rule.The definition ofNotificationRuleCreateDataRelationshipsobject.getType()Notification rules resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(IncidentNotificationRuleCreateDataRelationships relationships) voidvoidsetRelationships(IncidentNotificationRuleCreateDataRelationships relationships) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
IncidentNotificationRuleCreateData
public IncidentNotificationRuleCreateData() -
IncidentNotificationRuleCreateData
public IncidentNotificationRuleCreateData(IncidentNotificationRuleCreateAttributes attributes, IncidentNotificationRuleType type)
-
-
Method Details
-
attributes
public IncidentNotificationRuleCreateData attributes(IncidentNotificationRuleCreateAttributes attributes) -
getAttributes
The attributes for creating a notification rule.- Returns:
- attributes
-
setAttributes
-
relationships
public IncidentNotificationRuleCreateData relationships(IncidentNotificationRuleCreateDataRelationships relationships) -
getRelationships
The definition ofNotificationRuleCreateDataRelationshipsobject.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Notification rules resource type.- 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:
- IncidentNotificationRuleCreateData
-
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 IncidentNotificationRuleCreateData object is equal to o. -
hashCode
public int hashCode() -
toString
-