Package com.datadog.api.client.v2.model
Class AutomationRuleTriggerData
java.lang.Object
com.datadog.api.client.v2.model.AutomationRuleTriggerData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AutomationRuleTriggerData
extends Object
Additional configuration for the trigger, dependent on the trigger type. For
STATUS_TRANSITIONED triggers, specify from_status_name and
to_status_name. For ATTRIBUTE_VALUE_CHANGED triggers, specify field
and change_type.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapprovalType(String approvalType) changeType(String changeType) booleanReturn true if this AutomationRuleTriggerData object is equal to o.fromStatusName(String fromStatusName) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The approval outcome to match.The kind of attribute change to match.getField()The case attribute field name to monitor for changes.The originating status name.The destination status name.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetApprovalType(String approvalType) voidsetChangeType(String changeType) voidvoidsetFromStatusName(String fromStatusName) voidsetToStatusName(String toStatusName) toStatusName(String toStatusName) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_APPROVAL_TYPE
- See Also:
-
JSON_PROPERTY_CHANGE_TYPE
- See Also:
-
JSON_PROPERTY_FIELD
- See Also:
-
JSON_PROPERTY_FROM_STATUS_NAME
- See Also:
-
JSON_PROPERTY_TO_STATUS_NAME
- See Also:
-
-
Constructor Details
-
AutomationRuleTriggerData
public AutomationRuleTriggerData()
-
-
Method Details
-
approvalType
-
getApprovalType
The approval outcome to match. Used withCASE_REVIEW_APPROVEDtriggers.- Returns:
- approvalType
-
setApprovalType
-
changeType
-
getChangeType
The kind of attribute change to match. Allowed values:VALUE_ADDED,VALUE_DELETED,ANY_CHANGES. Used withATTRIBUTE_VALUE_CHANGEDtriggers.- Returns:
- changeType
-
setChangeType
-
field
-
getField
The case attribute field name to monitor for changes. Used withATTRIBUTE_VALUE_CHANGEDtriggers.- Returns:
- field
-
setField
-
fromStatusName
-
getFromStatusName
The originating status name. Used withSTATUS_TRANSITIONEDtriggers to match transitions from this status.- Returns:
- fromStatusName
-
setFromStatusName
-
toStatusName
-
getToStatusName
The destination status name. Used withSTATUS_TRANSITIONEDtriggers to match transitions to this status.- Returns:
- toStatusName
-
setToStatusName
-
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:
- AutomationRuleTriggerData
-
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 AutomationRuleTriggerData object is equal to o. -
hashCode
public int hashCode() -
toString
-