Class: Cerca::Models::ThreadStreamEvent::ThreadStreamTurnCompletedMessage
Defined Under Namespace
Modules: Status
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(error:, event_seq:, result:, status:, turn_id:, turn_seq:, type: :"turn/completed") ⇒ Object
|
# File 'lib/cerca/models/thread_stream_event.rb', line 478
|
Instance Attribute Details
#error ⇒ String?
446
|
# File 'lib/cerca/models/thread_stream_event.rb', line 446
required :error, String, nil?: true
|
#event_seq ⇒ Float
451
|
# File 'lib/cerca/models/thread_stream_event.rb', line 451
required :event_seq, Float, api_name: :eventSeq
|
#result ⇒ String?
456
|
# File 'lib/cerca/models/thread_stream_event.rb', line 456
required :result, String, nil?: true
|
461
|
# File 'lib/cerca/models/thread_stream_event.rb', line 461
required :status, enum: -> { Cerca::ThreadStreamEvent::ThreadStreamTurnCompletedMessage::Status }
|
#turn_id ⇒ String
466
|
# File 'lib/cerca/models/thread_stream_event.rb', line 466
required :turn_id, String, api_name: :turnId
|
#turn_seq ⇒ Float
471
|
# File 'lib/cerca/models/thread_stream_event.rb', line 471
required :turn_seq, Float, api_name: :turnSeq
|
#type ⇒ Symbol, :"turn/completed"
476
|
# File 'lib/cerca/models/thread_stream_event.rb', line 476
required :type, const: :"turn/completed"
|