Class: OpenAI::Models::Beta::AssistantStreamEvent::ThreadMessageInProgress
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::AssistantStreamEvent::ThreadMessageInProgress
- Defined in:
- lib/openai/models/beta/assistant_stream_event.rb,
sig/openai/models/beta/assistant_stream_event.rbs
Instance Attribute Summary collapse
-
#data ⇒ OpenAI::Models::Beta::Threads::Message
Represents a message within a thread.
- #event ⇒ Symbol, :"thread.message.in_progress"
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
442 |
# File 'sig/openai/models/beta/assistant_stream_event.rbs', line 442
def initialize: (
|
Instance Attribute Details
#data ⇒ OpenAI::Models::Beta::Threads::Message
Represents a message within a thread.
609 |
# File 'lib/openai/models/beta/assistant_stream_event.rb', line 609 required :data, -> { OpenAI::Beta::Threads::Message } |
#event ⇒ Symbol, :"thread.message.in_progress"
614 |
# File 'lib/openai/models/beta/assistant_stream_event.rb', line 614 required :event, const: :"thread.message.in_progress" |
Instance Method Details
#to_hash ⇒ {
447 |
# File 'sig/openai/models/beta/assistant_stream_event.rbs', line 447
def to_hash: -> {
|