CodeInterpreterContainer class sealed
Container configuration for the code interpreter tool.
See CodeInterpreterContainerId and CodeInterpreterContainerAuto.
- Implementers
Constructors
- CodeInterpreterContainer.fromJson(Object json)
-
Creates a CodeInterpreterContainer from JSON.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object - Converts to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
auto(
{List< String> ? fileIds, int? memoryLimit, ContainerNetworkPolicy? networkPolicy}) → CodeInterpreterContainerAuto - Auto-create a container.
-
id(
String id) → CodeInterpreterContainerId - Use an existing container by ID.