Class: OpenAI::Models::Realtime::ResponseFunctionCallArgumentsDoneEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Realtime::ResponseFunctionCallArgumentsDoneEvent
- Defined in:
- lib/openai/models/realtime/response_function_call_arguments_done_event.rb,
sig/openai/models/realtime/response_function_call_arguments_done_event.rbs
Instance Attribute Summary collapse
-
#arguments ⇒ String
The final arguments as a JSON string.
-
#call_id ⇒ String
The ID of the function call.
-
#event_id ⇒ String
The unique ID of the server event.
-
#item_id ⇒ String
The ID of the function call item.
-
#name ⇒ String
The name of the function that was called.
-
#output_index ⇒ Integer
The index of the output item in the response.
-
#response_id ⇒ String
The ID of the response.
-
#type ⇒ :"response.function_call_arguments.done"
The event type, must be
response.function_call_arguments.done.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(arguments:, call_id:, event_id:, item_id:, name:, output_index:, response_id:, type: :"response.function_call_arguments.done") ⇒ ResponseFunctionCallArgumentsDoneEvent
constructor
A new instance of ResponseFunctionCallArgumentsDoneEvent.
- #to_hash ⇒ { arguments: String, call_id: String, event_id: String, item_id: String, name: String, output_index: Integer, response_id: String, ?type: :"response.function_call_arguments.done" }
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(arguments:, call_id:, event_id:, item_id:, name:, output_index:, response_id:, type: :"response.function_call_arguments.done") ⇒ ResponseFunctionCallArgumentsDoneEvent
Returns a new instance of ResponseFunctionCallArgumentsDoneEvent.
|
|
# File 'lib/openai/models/realtime/response_function_call_arguments_done_event.rb', line 55
|
Instance Attribute Details
#arguments ⇒ String
The final arguments as a JSON string.
11 |
# File 'lib/openai/models/realtime/response_function_call_arguments_done_event.rb', line 11 required :arguments, String |
#call_id ⇒ String
The ID of the function call.
17 |
# File 'lib/openai/models/realtime/response_function_call_arguments_done_event.rb', line 17 required :call_id, String |
#event_id ⇒ String
The unique ID of the server event.
23 |
# File 'lib/openai/models/realtime/response_function_call_arguments_done_event.rb', line 23 required :event_id, String |
#item_id ⇒ String
The ID of the function call item.
29 |
# File 'lib/openai/models/realtime/response_function_call_arguments_done_event.rb', line 29 required :item_id, String |
#name ⇒ String
The name of the function that was called.
35 |
# File 'lib/openai/models/realtime/response_function_call_arguments_done_event.rb', line 35 required :name, String |
#output_index ⇒ Integer
The index of the output item in the response.
41 |
# File 'lib/openai/models/realtime/response_function_call_arguments_done_event.rb', line 41 required :output_index, Integer |
#response_id ⇒ String
The ID of the response.
47 |
# File 'lib/openai/models/realtime/response_function_call_arguments_done_event.rb', line 47 required :response_id, String |
#type ⇒ :"response.function_call_arguments.done"
The event type, must be response.function_call_arguments.done.
53 |
# File 'lib/openai/models/realtime/response_function_call_arguments_done_event.rb', line 53 required :type, const: :"response.function_call_arguments.done" |
Instance Method Details
#to_hash ⇒ { arguments: String, call_id: String, event_id: String, item_id: String, name: String, output_index: Integer, response_id: String, ?type: :"response.function_call_arguments.done" }
68 69 70 71 72 73 74 75 76 77 |
# File 'sig/openai/models/realtime/response_function_call_arguments_done_event.rbs', line 68
def to_hash: -> {
arguments: String,
call_id: String,
event_id: String,
item_id: String,
name: String,
output_index: Integer,
response_id: String,
?type: :"response.function_call_arguments.done"
}
|