Package com.datadog.api.client.v2.model
Class AgentTriggerWrapper
java.lang.Object
com.datadog.api.client.v2.model.AgentTriggerWrapper
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AgentTriggerWrapper
extends Object
Schema for an agent-based trigger.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddStartStepNamesItem(String startStepNamesItem) agentTrigger(AgentTrigger agentTrigger) booleanReturn true if this AgentTriggerWrapper object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Trigger a workflow from an agent via the MCP execute tool.Names of existing workflow steps that run first after a trigger fires.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAgentTrigger(AgentTrigger agentTrigger) voidsetStartStepNames(List<String> startStepNames) startStepNames(List<String> startStepNames) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGENT_TRIGGER
- See Also:
-
JSON_PROPERTY_START_STEP_NAMES
- See Also:
-
-
Constructor Details
-
AgentTriggerWrapper
public AgentTriggerWrapper() -
AgentTriggerWrapper
-
-
Method Details
-
agentTrigger
-
getAgentTrigger
Trigger a workflow from an agent via the MCP execute tool. Workflow can be executed from Bits Chat, Bits Agent Builder, Claude Code, Codex, Cursor, and any other coding agent using the Datadog MCP.- Returns:
- agentTrigger
-
setAgentTrigger
-
startStepNames
-
addStartStepNamesItem
-
getStartStepNames
Names of existing workflow steps that run first after a trigger fires.- Returns:
- startStepNames
-
setStartStepNames
-
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:
- AgentTriggerWrapper
-
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 AgentTriggerWrapper object is equal to o. -
hashCode
public int hashCode() -
toString
-