Package com.openai.models.responses
Class Tool.CodeInterpreter.Container.CodeInterpreterToolAuto
-
- All Implemented Interfaces:
public final class Tool.CodeInterpreter.Container.CodeInterpreterToolAuto
Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder
A builder for CodeInterpreterToolAuto.
-
Method Summary
Modifier and Type Method Description final JsonValue
_type()
Always auto
.final Optional<List<String>>
fileIds()
An optional list of uploaded files to make available to your code. final JsonField<List<String>>
_fileIds()
Returns the raw JSON value of fileIds. final Map<String, JsonValue>
_additionalProperties()
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder
toBuilder()
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder
builder()
Returns a mutable builder for constructing an instance of CodeInterpreterToolAuto. -
-
Method Detail
-
_type
final JsonValue _type()
Always
auto
.Expected to always return the following:
JsonValue.from("auto")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
fileIds
final Optional<List<String>> fileIds()
An optional list of uploaded files to make available to your code.
-
_fileIds
final JsonField<List<String>> _fileIds()
Returns the raw JSON value of fileIds.
Unlike fileIds, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder toBuilder()
-
validate
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto validate()
-
builder
final static Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder builder()
Returns a mutable builder for constructing an instance of CodeInterpreterToolAuto.
-
-
-
-