Class BetaTool.CodeInterpreter.Container.CodeInterpreterToolAuto
-
- All Implemented Interfaces:
public final class BetaTool.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 classBetaTool.CodeInterpreter.Container.CodeInterpreterToolAuto.BuilderA builder for CodeInterpreterToolAuto.
public final classBetaTool.CodeInterpreter.Container.CodeInterpreterToolAuto.MemoryLimitThe memory limit for the code interpreter container.
public final classBetaTool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicyNetwork access policy for the container.
-
Method Summary
-
-
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.
-
memoryLimit
final Optional<BetaTool.CodeInterpreter.Container.CodeInterpreterToolAuto.MemoryLimit> memoryLimit()
The memory limit for the code interpreter container.
-
networkPolicy
final Optional<BetaTool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicy> networkPolicy()
Network access policy for the container.
-
_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.
-
_memoryLimit
final JsonField<BetaTool.CodeInterpreter.Container.CodeInterpreterToolAuto.MemoryLimit> _memoryLimit()
Returns the raw JSON value of memoryLimit.
Unlike memoryLimit, this method doesn't throw if the JSON field has an unexpected type.
-
_networkPolicy
final JsonField<BetaTool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicy> _networkPolicy()
Returns the raw JSON value of networkPolicy.
Unlike networkPolicy, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaTool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder toBuilder()
-
validate
final BetaTool.CodeInterpreter.Container.CodeInterpreterToolAuto 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 BetaTool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder builder()
Returns a mutable builder for constructing an instance of CodeInterpreterToolAuto.
-
-
-
-