Class: Anthropic::Models::Beta::Sessions::BetaManagedAgentsWorkflowRunPhaseEndedEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Sessions::BetaManagedAgentsWorkflowRunPhaseEndedEvent
- Defined in:
- lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rb,
sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rbs
Instance Attribute Summary collapse
-
#id ⇒ String
Unique identifier for this event.
-
#phase_started_id ⇒ String
Identifier of the
workflow_run.phase_startedevent that opened the phase. -
#processed_at ⇒ Time
Timestamp when this event was processed.
- #type ⇒ Symbol, :"workflow_run.phase_ended"
-
#workflow_run_id ⇒ String
Identifier of the run.
-
#workflow_run_phase_id ⇒ String
Identifier of the phase, as in
phaseson the run'sworkflow_run.createdevent.
Instance Method Summary collapse
-
#initialize(id:, phase_started_id:, processed_at:, workflow_run_id:, workflow_run_phase_id:, type: :"workflow_run.phase_ended") ⇒ BetaManagedAgentsWorkflowRunPhaseEndedEvent
constructor
A workflow run's plan left a phase, or the run's end closed it.
- #to_hash ⇒ { id: String, phase_started_id: String, processed_at: Time, type: :"workflow_run.phase_ended", workflow_run_id: String, workflow_run_phase_id: String }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, phase_started_id:, processed_at:, workflow_run_id:, workflow_run_phase_id:, type: :"workflow_run.phase_ended") ⇒ BetaManagedAgentsWorkflowRunPhaseEndedEvent
A workflow run's plan left a phase, or the run's end closed it. Emitted once for
every workflow_run.phase_started event, before the run's
workflow_run.status_ended event. The event does not say whether the plan
finished the phase's work, or why it left.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Sessions::BetaManagedAgentsWorkflowRunPhaseEndedEvent for more details.
|
|
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rb', line 45
|
Instance Attribute Details
#id ⇒ String
Unique identifier for this event.
12 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rb', line 12 required :id, String |
#phase_started_id ⇒ String
Identifier of the workflow_run.phase_started event that opened the phase.
18 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rb', line 18 required :phase_started_id, String |
#processed_at ⇒ Time
Timestamp when this event was processed.
24 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rb', line 24 required :processed_at, Time |
#type ⇒ Symbol, :"workflow_run.phase_ended"
29 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rb', line 29 required :type, const: :"workflow_run.phase_ended" |
#workflow_run_id ⇒ String
Identifier of the run. The same value is on all of the run's workflow_run.*
events.
36 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rb', line 36 required :workflow_run_id, String |
#workflow_run_phase_id ⇒ String
Identifier of the phase, as in phases on the run's workflow_run.created
event.
43 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rb', line 43 required :workflow_run_phase_id, String |
Instance Method Details
#to_hash ⇒ { id: String, phase_started_id: String, processed_at: Time, type: :"workflow_run.phase_ended", workflow_run_id: String, workflow_run_phase_id: String }
37 38 39 40 41 42 43 44 |
# File 'sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rbs', line 37
def to_hash: -> {
id: String,
phase_started_id: String,
processed_at: Time,
type: :"workflow_run.phase_ended",
workflow_run_id: String,
workflow_run_phase_id: String
}
|