Package com.openai.models.beta.threads
Class ThreadCreateParams.ToolResources.CodeInterpreter
-
- All Implemented Interfaces:
public final class ThreadCreateParams.ToolResources.CodeInterpreter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadCreateParams.ToolResources.CodeInterpreter.BuilderA builder for CodeInterpreter.
-
Method Summary
Modifier and Type Method Description final Optional<List<String>>fileIds()A list of file IDs made available to the code_interpretertool.final JsonField<List<String>>_fileIds()Returns the raw JSON value of fileIds. final Map<String, JsonValue>_additionalProperties()final ThreadCreateParams.ToolResources.CodeInterpreter.BuildertoBuilder()final ThreadCreateParams.ToolResources.CodeInterpretervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThreadCreateParams.ToolResources.CodeInterpreter.Builderbuilder()Returns a mutable builder for constructing an instance of CodeInterpreter. -
-
Method Detail
-
fileIds
final Optional<List<String>> fileIds()
A list of file IDs made available to the
code_interpretertool. There can be a maximum of 20 files associated with the tool.
-
_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 ThreadCreateParams.ToolResources.CodeInterpreter.Builder toBuilder()
-
validate
final ThreadCreateParams.ToolResources.CodeInterpreter validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ThreadCreateParams.ToolResources.CodeInterpreter.Builder builder()
Returns a mutable builder for constructing an instance of CodeInterpreter.
-
-
-
-