Package com.datadog.api.client.v2.model
Class NotificationRulePreviewResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.NotificationRulePreviewResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class NotificationRulePreviewResponseAttributes
extends Object
Attributes of the notification preview response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNotificationRulePreviewResponseAttributes(List<NotificationRulePreviewResult> previewResults) -
Method Summary
Modifier and TypeMethodDescriptionaddPreviewResultsItem(NotificationRulePreviewResult previewResultsItem) booleanReturn true if this NotificationRulePreviewResponseAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of preview results for each rule type matched by the notification rule.inthashCode()previewResults(List<NotificationRulePreviewResult> previewResults) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetPreviewResults(List<NotificationRulePreviewResult> previewResults) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_PREVIEW_RESULTS
- See Also:
-
-
Constructor Details
-
NotificationRulePreviewResponseAttributes
public NotificationRulePreviewResponseAttributes() -
NotificationRulePreviewResponseAttributes
public NotificationRulePreviewResponseAttributes(List<NotificationRulePreviewResult> previewResults)
-
-
Method Details
-
previewResults
public NotificationRulePreviewResponseAttributes previewResults(List<NotificationRulePreviewResult> previewResults) -
addPreviewResultsItem
public NotificationRulePreviewResponseAttributes addPreviewResultsItem(NotificationRulePreviewResult previewResultsItem) -
getPreviewResults
List of preview results for each rule type matched by the notification rule.- Returns:
- previewResults
-
setPreviewResults
-
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:
- NotificationRulePreviewResponseAttributes
-
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 NotificationRulePreviewResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-