Package com.datadog.api.client.v2.model
Class MonitorAlertTriggerAttributes
java.lang.Object
com.datadog.api.client.v2.model.MonitorAlertTriggerAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorAlertTriggerAttributes
extends Object
Attributes for a monitor alert trigger.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this MonitorAlertTriggerAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The event ID associated with the monitor alert.The timestamp of the event in Unix milliseconds.The monitor ID that triggered the alert.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEventId(String eventId) voidsetEventTs(Long eventTs) voidsetMonitorId(Long monitorId) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_EVENT_ID
- See Also:
-
JSON_PROPERTY_EVENT_TS
- See Also:
-
JSON_PROPERTY_MONITOR_ID
- See Also:
-
-
Constructor Details
-
MonitorAlertTriggerAttributes
public MonitorAlertTriggerAttributes() -
MonitorAlertTriggerAttributes
-
-
Method Details
-
eventId
-
getEventId
The event ID associated with the monitor alert.- Returns:
- eventId
-
setEventId
-
eventTs
-
getEventTs
The timestamp of the event in Unix milliseconds.- Returns:
- eventTs
-
setEventTs
-
monitorId
-
getMonitorId
The monitor ID that triggered the alert.- Returns:
- monitorId
-
setMonitorId
-
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:
- MonitorAlertTriggerAttributes
-
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 MonitorAlertTriggerAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-