Class: Cerca::Models::ThreadStreamEvent::ThreadStreamItemStartedMessage
Defined Under Namespace
Modules: ItemType
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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(event_seq:, item_id:, item_type:, turn_id:, requested_tool_name: nil, sub_thread_id: nil, tool_name: nil, type: :"item/started") ⇒ Object
|
# File 'lib/cerca/models/thread_stream_event.rb', line 542
|
Instance Attribute Details
#event_seq ⇒ Float
503
|
# File 'lib/cerca/models/thread_stream_event.rb', line 503
required :event_seq, Float, api_name: :eventSeq
|
#item_id ⇒ String
508
|
# File 'lib/cerca/models/thread_stream_event.rb', line 508
required :item_id, String, api_name: :itemId
|
513
514
515
|
# File 'lib/cerca/models/thread_stream_event.rb', line 513
required :item_type,
enum: -> { Cerca::ThreadStreamEvent::ThreadStreamItemStartedMessage::ItemType },
api_name: :itemType
|
530
|
# File 'lib/cerca/models/thread_stream_event.rb', line 530
optional :requested_tool_name, String, api_name: :requestedToolName
|
#sub_thread_id ⇒ String?
535
|
# File 'lib/cerca/models/thread_stream_event.rb', line 535
optional :sub_thread_id, String, api_name: :subThreadId
|
540
|
# File 'lib/cerca/models/thread_stream_event.rb', line 540
optional :tool_name, enum: -> { Cerca::ToolName }, api_name: :toolName
|
#turn_id ⇒ String
520
|
# File 'lib/cerca/models/thread_stream_event.rb', line 520
required :turn_id, String, api_name: :turnId
|
#type ⇒ Symbol, :"item/started"
525
|
# File 'lib/cerca/models/thread_stream_event.rb', line 525
required :type, const: :"item/started"
|