Class: OpenAI::Models::Beta::BetaResponseInjectCreatedEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::BetaResponseInjectCreatedEvent
- Defined in:
- lib/openai/models/beta/beta_response_inject_created_event.rb,
sig/openai/models/beta/beta_response_inject_created_event.rbs
Instance Attribute Summary collapse
-
#response_id ⇒ String
The ID of the response that accepted the input.
-
#sequence_number ⇒ Integer
The sequence number for this event.
-
#stream_id ⇒ String?
The multiplexed WebSocket stream that emitted the event.
-
#type ⇒ Symbol, :"response.inject.created"
The event discriminator.
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
25 |
# File 'sig/openai/models/beta/beta_response_inject_created_event.rbs', line 25
def initialize: (
|
Instance Attribute Details
#response_id ⇒ String
The ID of the response that accepted the input.
11 |
# File 'lib/openai/models/beta/beta_response_inject_created_event.rb', line 11 required :response_id, String |
#sequence_number ⇒ Integer
The sequence number for this event.
17 |
# File 'lib/openai/models/beta/beta_response_inject_created_event.rb', line 17 required :sequence_number, Integer |
#stream_id ⇒ String?
The multiplexed WebSocket stream that emitted the event. This field is present only when WebSocket multiplexing is enabled separately.
30 |
# File 'lib/openai/models/beta/beta_response_inject_created_event.rb', line 30 optional :stream_id, String |
#type ⇒ Symbol, :"response.inject.created"
The event discriminator. Always response.inject.created.
23 |
# File 'lib/openai/models/beta/beta_response_inject_created_event.rb', line 23 required :type, const: :"response.inject.created" |
Instance Method Details
#to_hash ⇒ {
32 |
# File 'sig/openai/models/beta/beta_response_inject_created_event.rbs', line 32
def to_hash: -> {
|