Class: OpenAI::Models::Responses::ResponseSteerRequiredInput::CustomToolCallOutput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseSteerRequiredInput::CustomToolCallOutput
- Defined in:
- lib/openai/models/responses/response_steer_required_input.rb,
sig/openai/models/responses/response_steer_required_input.rbs
Instance Attribute Summary collapse
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ CustomToolCallOutput
constructor
A new instance of CustomToolCallOutput.
- #to_hash ⇒ { call_id: String, ?type: :custom_tool_call_output }
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 ⇒ CustomToolCallOutput
Returns a new instance of CustomToolCallOutput.
47 48 49 50 |
# File 'sig/openai/models/responses/response_steer_required_input.rbs', line 47
def initialize: (
call_id: String,
?type: :custom_tool_call_output
) -> void
|
Instance Attribute Details
#call_id ⇒ String
78 |
# File 'lib/openai/models/responses/response_steer_required_input.rb', line 78 required :call_id, String |
#type ⇒ Symbol, :custom_tool_call_output
83 |
# File 'lib/openai/models/responses/response_steer_required_input.rb', line 83 required :type, const: :custom_tool_call_output |
Instance Method Details
#to_hash ⇒ { call_id: String, ?type: :custom_tool_call_output }
52 |
# File 'sig/openai/models/responses/response_steer_required_input.rbs', line 52
def to_hash: -> { call_id: String, ?type: :custom_tool_call_output }
|