Package com.openai.models.responses
Class Tool.CodeInterpreter.Container.CodeInterpreterToolAuto
-
- All Implemented Interfaces:
public final class Tool.CodeInterpreter.Container.CodeInterpreterToolAutoConfiguration 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 classTool.CodeInterpreter.Container.CodeInterpreterToolAuto.BuilderA 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.BuildertoBuilder()final Tool.CodeInterpreter.Container.CodeInterpreterToolAutovalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builderbuilder()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.
-
-
-
-