Class: OpenAI::Models::Responses::ResponseCodeInterpreterToolCall::Result::Files::File
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseCodeInterpreterToolCall::Result::Files::File
- Defined in:
- lib/openai/models/responses/response_code_interpreter_tool_call.rb
Instance Attribute Summary collapse
-
#file_id ⇒ String
The ID of the file.
-
#mime_type ⇒ String
The MIME type of the file.
Instance Method Summary collapse
-
#initialize(files: , type: :files) ⇒ Object
constructor
Some parameter documentations has been truncated, see OpenAI::Models::Responses::ResponseCodeInterpreterToolCall::Result::Files for more details.
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, 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(files: , type: :files) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Responses::ResponseCodeInterpreterToolCall::Result::Files for more details.
The output of a code interpreter tool call that is a file.
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'lib/openai/models/responses/response_code_interpreter_tool_call.rb', line 127 class File < OpenAI::Internal::Type::BaseModel # @!attribute file_id # The ID of the file. # # @return [String] required :file_id, String # @!attribute mime_type # The MIME type of the file. # # @return [String] required :mime_type, String # @!method initialize(file_id:, mime_type:) # Some parameter documentations has been truncated, see # {OpenAI::Models::Responses::ResponseCodeInterpreterToolCall::Result::Files::File} # for more details. # # @param file_id [String] The ID of the file. # # @param mime_type [String] The MIME type of the file. end |
Instance Attribute Details
#file_id ⇒ String
The ID of the file.
132 |
# File 'lib/openai/models/responses/response_code_interpreter_tool_call.rb', line 132 required :file_id, String |
#mime_type ⇒ String
The MIME type of the file.
138 |
# File 'lib/openai/models/responses/response_code_interpreter_tool_call.rb', line 138 required :mime_type, String |