Class: OpenAI::Models::Responses::ResponsesServerEvent::ResponseFunctionCallArgumentsWsDone
- Inherits:
-
OpenAI::Models::Responses::ResponseFunctionCallArgumentsDoneEvent
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseFunctionCallArgumentsDoneEvent
- OpenAI::Models::Responses::ResponsesServerEvent::ResponseFunctionCallArgumentsWsDone
- Defined in:
- lib/openai/models/responses/responses_server_event.rb,
sig/openai/models/responses/responses_server_event.rbs
Instance Attribute Summary collapse
-
#stream_id ⇒ String?
The WebSocket lane that emitted this event.
Attributes inherited from OpenAI::Models::Responses::ResponseFunctionCallArgumentsDoneEvent
#arguments, #item_id, #output_index, #sequence_number, #type
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ ResponseFunctionCallArgumentsWsDone
constructor
A new instance of ResponseFunctionCallArgumentsWsDone.
- #to_hash ⇒ { arguments: String, item_id: String, output_index: Integer, sequence_number: Integer, ?type: :"response.function_call_arguments.done", ?stream_id: String }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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 ⇒ ResponseFunctionCallArgumentsWsDone
Returns a new instance of ResponseFunctionCallArgumentsWsDone.
928 929 930 931 932 933 934 935 |
# File 'sig/openai/models/responses/responses_server_event.rbs', line 928
def initialize: (
arguments: String,
item_id: String,
output_index: Integer,
sequence_number: Integer,
?stream_id: String,
?type: :"response.function_call_arguments.done"
) -> void
|
Instance Attribute Details
#stream_id ⇒ String?
The WebSocket lane that emitted this event. This field is present when the
originating response.create event supplied a stream_id.
883 |
# File 'lib/openai/models/responses/responses_server_event.rb', line 883 optional :stream_id, String |
Instance Method Details
#to_hash ⇒ { arguments: String, item_id: String, output_index: Integer, sequence_number: Integer, ?type: :"response.function_call_arguments.done", ?stream_id: String }
937 938 939 940 941 942 943 944 |
# File 'sig/openai/models/responses/responses_server_event.rbs', line 937
def to_hash: -> {
arguments: String,
item_id: String,
output_index: Integer,
sequence_number: Integer,
?type: :"response.function_call_arguments.done",
?stream_id: String
}
|