Package com.datadog.api.client.v2.model
Class CaseNotificationRuleCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.CaseNotificationRuleCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CaseNotificationRuleCreateAttributes
extends Object
Notification rule creation attributes
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCaseNotificationRuleCreateAttributes(List<CaseNotificationRuleRecipient> recipients, List<CaseNotificationRuleTrigger> triggers) -
Method Summary
Modifier and TypeMethodDescriptionaddRecipientsItem(CaseNotificationRuleRecipient recipientsItem) addTriggersItem(CaseNotificationRuleTrigger triggersItem) booleanReturn true if this CaseNotificationRuleCreateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the notification rule is enabledgetQuery()Query to filter cases for this notification ruleList of notification recipientsList of triggers for this notification ruleinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recipients(List<CaseNotificationRuleRecipient> recipients) voidsetIsEnabled(Boolean isEnabled) voidvoidsetRecipients(List<CaseNotificationRuleRecipient> recipients) voidsetTriggers(List<CaseNotificationRuleTrigger> triggers) toString()triggers(List<CaseNotificationRuleTrigger> triggers)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_IS_ENABLED
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_RECIPIENTS
- See Also:
-
JSON_PROPERTY_TRIGGERS
- See Also:
-
-
Constructor Details
-
CaseNotificationRuleCreateAttributes
public CaseNotificationRuleCreateAttributes() -
CaseNotificationRuleCreateAttributes
public CaseNotificationRuleCreateAttributes(List<CaseNotificationRuleRecipient> recipients, List<CaseNotificationRuleTrigger> triggers)
-
-
Method Details
-
isEnabled
-
getIsEnabled
Whether the notification rule is enabled- Returns:
- isEnabled
-
setIsEnabled
-
query
-
getQuery
Query to filter cases for this notification rule- Returns:
- query
-
setQuery
-
recipients
public CaseNotificationRuleCreateAttributes recipients(List<CaseNotificationRuleRecipient> recipients) -
addRecipientsItem
public CaseNotificationRuleCreateAttributes addRecipientsItem(CaseNotificationRuleRecipient recipientsItem) -
getRecipients
List of notification recipients- Returns:
- recipients
-
setRecipients
-
triggers
-
addTriggersItem
public CaseNotificationRuleCreateAttributes addTriggersItem(CaseNotificationRuleTrigger triggersItem) -
getTriggers
List of triggers for this notification rule- Returns:
- triggers
-
setTriggers
-
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:
- CaseNotificationRuleCreateAttributes
-
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 CaseNotificationRuleCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-