Skip to content

Trigger

Source code in docs_src/capo_devops_agent/types/trigger.py
class Trigger(TypedDict, closed=True):
    trigger_id: "capo_devops_agent.types.resource_id.ResourceId"
    """<p>The unique identifier for this Trigger</p>"""
    agent_space_id: "capo_devops_agent.types.agent_space_id.AgentSpaceId"
    """<p>The agent space this Trigger belongs to</p>"""
    type: "capo_devops_agent.types.trigger_type.TriggerType"
    """<p>How this Trigger fires</p>"""
    condition: "capo_devops_agent.types.trigger_condition.TriggerCondition"
    """<p>The condition that fires this Trigger</p>"""
    action: "capo_devops_agent.types.trigger_action.TriggerAction"
    """<p>The action this Trigger performs when it fires</p>"""
    status: "capo_devops_agent.types.trigger_status.TriggerStatus"
    """<p>The status of this Trigger</p>"""
    created_at: "datetime.datetime"
    """<p>Timestamp when this Trigger was created</p>"""
    updated_at: "datetime.datetime"
    """<p>Timestamp when this Trigger was last updated</p>"""

action instance-attribute

action: TriggerAction

The action this Trigger performs when it fires

agent_space_id instance-attribute

agent_space_id: AgentSpaceId

The agent space this Trigger belongs to

condition instance-attribute

condition: TriggerCondition

The condition that fires this Trigger

created_at instance-attribute

created_at: datetime

Timestamp when this Trigger was created

status instance-attribute

status: TriggerStatus

The status of this Trigger

trigger_id instance-attribute

trigger_id: ResourceId

The unique identifier for this Trigger

type instance-attribute

How this Trigger fires

updated_at instance-attribute

updated_at: datetime

Timestamp when this Trigger was last updated