Class: Cerca::Models::ThreadStreamEvent::ThreadStreamContentMessage
Defined Under Namespace
Classes: Message
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:, message:, step_seq:, turn_id:, type: :message) ⇒ Object
|
# File 'lib/cerca/models/thread_stream_event.rb', line 115
|
Instance Attribute Details
#event_seq ⇒ Float
93
|
# File 'lib/cerca/models/thread_stream_event.rb', line 93
required :event_seq, Float, api_name: :eventSeq
|
98
|
# File 'lib/cerca/models/thread_stream_event.rb', line 98
required :message, -> { Cerca::ThreadStreamEvent::ThreadStreamContentMessage::Message }
|
#step_seq ⇒ Float
103
|
# File 'lib/cerca/models/thread_stream_event.rb', line 103
required :step_seq, Float, api_name: :stepSeq
|
#turn_id ⇒ String
108
|
# File 'lib/cerca/models/thread_stream_event.rb', line 108
required :turn_id, String, api_name: :turnId
|
#type ⇒ Symbol, :message
113
|
# File 'lib/cerca/models/thread_stream_event.rb', line 113
required :type, const: :message
|