Class: Cerca::Models::ThreadStreamEvent::ThreadStreamApprovalRequestedMessage::Approval
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id:, created_at:, requested_tool_name:, resolved_at:, status:, thread_id:, timeout_at:, timeout_ms:, tool_index:, tool_input:, tool_name:, tool_use_id:, turn_id:, tool_source_id: nil, tool_source_version: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Approval for more details.
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, created_at:, requested_tool_name:, resolved_at:, status:, thread_id:, timeout_at:, timeout_ms:, tool_index:, tool_input:, tool_name:, tool_use_id:, turn_id:, tool_source_id: nil, tool_source_version: nil) ⇒ Object
|
# File 'lib/cerca/models/thread_stream_event.rb', line 786
|
Instance Attribute Details
#created_at ⇒ String
716
|
# File 'lib/cerca/models/thread_stream_event.rb', line 716
required :created_at, String, api_name: :createdAt
|
#id ⇒ String
711
|
# File 'lib/cerca/models/thread_stream_event.rb', line 711
required :id, String
|
721
|
# File 'lib/cerca/models/thread_stream_event.rb', line 721
required :requested_tool_name, String, api_name: :requestedToolName
|
#resolved_at ⇒ String?
726
|
# File 'lib/cerca/models/thread_stream_event.rb', line 726
required :resolved_at, String, api_name: :resolvedAt, nil?: true
|
731
732
|
# File 'lib/cerca/models/thread_stream_event.rb', line 731
required :status,
enum: -> { Cerca::ThreadStreamEvent::ThreadStreamApprovalRequestedMessage::Approval::Status }
|
#thread_id ⇒ String
737
|
# File 'lib/cerca/models/thread_stream_event.rb', line 737
required :thread_id, String, api_name: :threadId
|
#timeout_at ⇒ String?
742
|
# File 'lib/cerca/models/thread_stream_event.rb', line 742
required :timeout_at, String, api_name: :timeoutAt, nil?: true
|
#timeout_ms ⇒ Float?
747
|
# File 'lib/cerca/models/thread_stream_event.rb', line 747
required :timeout_ms, Float, api_name: :timeoutMs, nil?: true
|
752
|
# File 'lib/cerca/models/thread_stream_event.rb', line 752
required :tool_index, Float, api_name: :toolIndex
|
JSON-serialized tool input payload. Parse as JSON before reading tool-specific fields.
759
|
# File 'lib/cerca/models/thread_stream_event.rb', line 759
required :tool_input, String, api_name: :toolInput
|
764
|
# File 'lib/cerca/models/thread_stream_event.rb', line 764
required :tool_name, enum: -> { Cerca::ToolName }, api_name: :toolName
|
779
|
# File 'lib/cerca/models/thread_stream_event.rb', line 779
optional :tool_source_id, String, api_name: :toolSourceId
|
784
|
# File 'lib/cerca/models/thread_stream_event.rb', line 784
optional :tool_source_version, Float, api_name: :toolSourceVersion
|
769
|
# File 'lib/cerca/models/thread_stream_event.rb', line 769
required :tool_use_id, String, api_name: :toolUseId
|
#turn_id ⇒ String
774
|
# File 'lib/cerca/models/thread_stream_event.rb', line 774
required :turn_id, String, api_name: :turnId
|