Package com.datadog.api.client.v2.model
Class AutomationRule
java.lang.Object
com.datadog.api.client.v2.model.AutomationRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AutomationRule
extends Object
An automation rule that executes an action (such as running a Datadog workflow or assigning an AI
agent) when a specified case event occurs within a project.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAutomationRule(AutomationRuleAttributes attributes, String id, CaseAutomationRuleResourceType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(AutomationRuleAttributes attributes) booleanReturn true if this AutomationRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Core attributes of an automation rule, including its name, trigger condition, action to execute, and current state.getId()Automation rule identifier.Related resources for the automation rule, including the users who created and last modified it.getType()JSON:API resource type for case automation rules.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(AutomationRuleRelationships relationships) voidsetAttributes(AutomationRuleAttributes attributes) voidvoidsetRelationships(AutomationRuleRelationships relationships) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
AutomationRule
public AutomationRule() -
AutomationRule
public AutomationRule(AutomationRuleAttributes attributes, String id, CaseAutomationRuleResourceType type)
-
-
Method Details
-
attributes
-
getAttributes
Core attributes of an automation rule, including its name, trigger condition, action to execute, and current state.- Returns:
- attributes
-
setAttributes
-
id
-
getId
Automation rule identifier.- Returns:
- id
-
setId
-
relationships
-
getRelationships
Related resources for the automation rule, including the users who created and last modified it.- Returns:
- relationships
-
setRelationships
-
type
-
getType
JSON:API resource type for case automation rules.- Returns:
- type
-
setType
-
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:
- AutomationRule
-
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 AutomationRule object is equal to o. -
hashCode
public int hashCode() -
toString
-