Package com.datadog.api.client.v2.model
Class OnCallNotificationRuleAttributes
java.lang.Object
com.datadog.api.client.v2.model.OnCallNotificationRuleAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OnCallNotificationRuleAttributes
extends Object
Attributes for an on-call notification rule.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory(OnCallNotificationRuleCategory category) channelSettings(OnCallNotificationRuleChannelSettings channelSettings) delayMinutes(Long delayMinutes) booleanReturn true if this OnCallNotificationRuleAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Specifies the category a notification rule will apply toDefines the configuration for a channel associated with a notification ruleThe number of minutes that will elapse before this rule is evaluated.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCategory(OnCallNotificationRuleCategory category) voidsetChannelSettings(OnCallNotificationRuleChannelSettings channelSettings) voidsetDelayMinutes(Long delayMinutes) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_CHANNEL_SETTINGS
- See Also:
-
JSON_PROPERTY_DELAY_MINUTES
- See Also:
-
-
Constructor Details
-
OnCallNotificationRuleAttributes
public OnCallNotificationRuleAttributes()
-
-
Method Details
-
category
-
getCategory
Specifies the category a notification rule will apply to- Returns:
- category
-
setCategory
-
channelSettings
public OnCallNotificationRuleAttributes channelSettings(OnCallNotificationRuleChannelSettings channelSettings) -
getChannelSettings
Defines the configuration for a channel associated with a notification rule- Returns:
- channelSettings
-
setChannelSettings
-
delayMinutes
-
getDelayMinutes
The number of minutes that will elapse before this rule is evaluated. 0 indicates immediate evaluation- Returns:
- delayMinutes
-
setDelayMinutes
-
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:
- OnCallNotificationRuleAttributes
-
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 OnCallNotificationRuleAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-