Package com.datadog.api.client.v2.model
Class CreateOnCallNotificationRuleRequestData
java.lang.Object
com.datadog.api.client.v2.model.CreateOnCallNotificationRuleRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateOnCallNotificationRuleRequestData
extends Object
Data for creating an on-call notification rule
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionattributes(OnCallNotificationRuleRequestAttributes attributes) booleanReturn true if this CreateOnCallNotificationRuleRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes for creating or modifying an on-call notification rule.Relationship object for creating a notification rulegetType()Indicates that the resource is of type 'notification_rules'.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(OnCallNotificationRuleRelationships relationships) voidsetAttributes(OnCallNotificationRuleRequestAttributes attributes) voidsetRelationships(OnCallNotificationRuleRelationships 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
-
CreateOnCallNotificationRuleRequestData
public CreateOnCallNotificationRuleRequestData() -
CreateOnCallNotificationRuleRequestData
-
-
Method Details
-
attributes
public CreateOnCallNotificationRuleRequestData attributes(OnCallNotificationRuleRequestAttributes attributes) -
getAttributes
Attributes for creating or modifying an on-call notification rule.- Returns:
- attributes
-
setAttributes
-
relationships
public CreateOnCallNotificationRuleRequestData relationships(OnCallNotificationRuleRelationships relationships) -
getRelationships
Relationship object for creating a notification rule- Returns:
- relationships
-
setRelationships
-
type
-
getType
Indicates that the resource is of type '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:
- CreateOnCallNotificationRuleRequestData
-
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 CreateOnCallNotificationRuleRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-