@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AutomationRuleTriggerData extends Object
status_transitioned triggers, specify from_status_name and
to_status_name. For attribute_value_changed triggers, specify field
and change_type.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_APPROVAL_TYPE |
static String |
JSON_PROPERTY_CHANGE_TYPE |
static String |
JSON_PROPERTY_FIELD |
static String |
JSON_PROPERTY_FROM_STATUS_NAME |
static String |
JSON_PROPERTY_TO_STATUS_NAME |
boolean |
unparsed |
| Constructor and Description |
|---|
AutomationRuleTriggerData() |
| Modifier and Type | Method and Description |
|---|---|
AutomationRuleTriggerData |
approvalType(String approvalType) |
AutomationRuleTriggerData |
changeType(String changeType) |
boolean |
equals(Object o)
Return true if this AutomationRuleTriggerData object is equal to o.
|
AutomationRuleTriggerData |
field(String field) |
AutomationRuleTriggerData |
fromStatusName(String fromStatusName) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getApprovalType()
The approval outcome to match.
|
String |
getChangeType()
The kind of attribute change to match.
|
String |
getField()
The case attribute field name to monitor for changes.
|
String |
getFromStatusName()
The originating status name.
|
String |
getToStatusName()
The destination status name.
|
int |
hashCode() |
AutomationRuleTriggerData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setApprovalType(String approvalType) |
void |
setChangeType(String changeType) |
void |
setField(String field) |
void |
setFromStatusName(String fromStatusName) |
void |
setToStatusName(String toStatusName) |
AutomationRuleTriggerData |
toStatusName(String toStatusName) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_APPROVAL_TYPE
public static final String JSON_PROPERTY_CHANGE_TYPE
public static final String JSON_PROPERTY_FIELD
public static final String JSON_PROPERTY_FROM_STATUS_NAME
public static final String JSON_PROPERTY_TO_STATUS_NAME
public AutomationRuleTriggerData approvalType(String approvalType)
@Nullable public String getApprovalType()
case_review_approved triggers.public void setApprovalType(String approvalType)
public AutomationRuleTriggerData changeType(String changeType)
@Nullable public String getChangeType()
VALUE_ADDED,
VALUE_DELETED, ANY_CHANGES. Used with attribute_value_changed
triggers.public void setChangeType(String changeType)
public AutomationRuleTriggerData field(String field)
@Nullable public String getField()
attribute_value_changed
triggers.public void setField(String field)
public AutomationRuleTriggerData fromStatusName(String fromStatusName)
@Nullable public String getFromStatusName()
status_transitioned triggers to match
transitions from this status.public void setFromStatusName(String fromStatusName)
public AutomationRuleTriggerData toStatusName(String toStatusName)
@Nullable public String getToStatusName()
status_transitioned triggers to match
transitions to this status.public void setToStatusName(String toStatusName)
public AutomationRuleTriggerData putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.