Package com.openai.models.responses
Class ResponseCodeInterpreterToolCall.Result.Files
-
- All Implemented Interfaces:
public final class ResponseCodeInterpreterToolCall.Result.Files
The output of a code interpreter tool call that is a file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseCodeInterpreterToolCall.Result.Files.Builder
A builder for Files.
public final class
ResponseCodeInterpreterToolCall.Result.Files.File
-
Method Summary
Modifier and Type Method Description final List<ResponseCodeInterpreterToolCall.Result.Files.File>
files()
final JsonValue
_type()
The type of the code interpreter file output. final JsonField<List<ResponseCodeInterpreterToolCall.Result.Files.File>>
_files()
Returns the raw JSON value of files. final Map<String, JsonValue>
_additionalProperties()
final ResponseCodeInterpreterToolCall.Result.Files.Builder
toBuilder()
final ResponseCodeInterpreterToolCall.Result.Files
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseCodeInterpreterToolCall.Result.Files.Builder
builder()
Returns a mutable builder for constructing an instance of Files. -
-
Method Detail
-
files
final List<ResponseCodeInterpreterToolCall.Result.Files.File> files()
-
_type
final JsonValue _type()
The type of the code interpreter file output. Always
files
.Expected to always return the following:
JsonValue.from("files")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_files
final JsonField<List<ResponseCodeInterpreterToolCall.Result.Files.File>> _files()
Returns the raw JSON value of files.
Unlike files, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseCodeInterpreterToolCall.Result.Files.Builder toBuilder()
-
validate
final ResponseCodeInterpreterToolCall.Result.Files validate()
-
builder
final static ResponseCodeInterpreterToolCall.Result.Files.Builder builder()
Returns a mutable builder for constructing an instance of Files.
The following fields are required:
.files()
-
-
-
-