Package com.datadog.api.client.v2.model
Class UpdateOnCallNotificationRuleRequestData
java.lang.Object
com.datadog.api.client.v2.model.UpdateOnCallNotificationRuleRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UpdateOnCallNotificationRuleRequestData
extends Object
Data for updating an on-call notification rule
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this UpdateOnCallNotificationRuleRequestData 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.getId()Unique identifier for the ruleRelationship 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) voidvoidvoidsetRelationships(OnCallNotificationRuleRelationships relationships) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
UpdateOnCallNotificationRuleRequestData
public UpdateOnCallNotificationRuleRequestData() -
UpdateOnCallNotificationRuleRequestData
-
-
Method Details
-
attributes
public UpdateOnCallNotificationRuleRequestData attributes(UpdateOnCallNotificationRuleRequestAttributes attributes) -
getAttributes
Attributes for creating or modifying an on-call notification rule.- Returns:
- attributes
-
setAttributes
-
id
-
getId
Unique identifier for the rule- Returns:
- id
-
setId
-
relationships
public UpdateOnCallNotificationRuleRequestData 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:
- UpdateOnCallNotificationRuleRequestData
-
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 UpdateOnCallNotificationRuleRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-