Class: Anthropic::Models::Beta::Sessions::BetaManagedAgentsWorkflowRunStatusIdleEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Sessions::BetaManagedAgentsWorkflowRunStatusIdleEvent
- Defined in:
- lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_idle_event.rb,
sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_idle_event.rbs
Instance Attribute Summary collapse
-
#id ⇒ String
Unique identifier for this event.
-
#processed_at ⇒ Time
Timestamp when this event was processed.
- #type ⇒ Symbol, :"workflow_run.status_idle"
-
#workflow_run_id ⇒ String
Identifier of the run.
Instance Method Summary collapse
-
#initialize(id:, processed_at:, workflow_run_id:, type: :"workflow_run.status_idle") ⇒ BetaManagedAgentsWorkflowRunStatusIdleEvent
constructor
A workflow run is idle.
- #to_hash ⇒ { id: String, processed_at: Time, type: :"workflow_run.status_idle", workflow_run_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:, processed_at:, workflow_run_id:, type: :"workflow_run.status_idle") ⇒ BetaManagedAgentsWorkflowRunStatusIdleEvent
A workflow run is idle. Emitted each time the run goes idle, whatever the cause.
If the run ends while idle, no workflow_run.status_running comes between this
event and its workflow_run.status_ended.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Sessions::BetaManagedAgentsWorkflowRunStatusIdleEvent for more details.
|
|
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_idle_event.rb', line 32
|
Instance Attribute Details
#id ⇒ String
Unique identifier for this event.
12 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_idle_event.rb', line 12 required :id, String |
#processed_at ⇒ Time
Timestamp when this event was processed.
18 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_idle_event.rb', line 18 required :processed_at, Time |
#type ⇒ Symbol, :"workflow_run.status_idle"
23 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_idle_event.rb', line 23 required :type, const: :"workflow_run.status_idle" |
#workflow_run_id ⇒ String
Identifier of the run. The same value is on all of the run's workflow_run.*
events.
30 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_idle_event.rb', line 30 required :workflow_run_id, String |
Instance Method Details
#to_hash ⇒ { id: String, processed_at: Time, type: :"workflow_run.status_idle", workflow_run_id: String }
29 30 31 32 33 34 |
# File 'sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_idle_event.rbs', line 29
def to_hash: -> {
id: String,
processed_at: Time,
type: :"workflow_run.status_idle",
workflow_run_id: String
}
|