Package com.openai.models.beta.responses
Class BetaComputerTool
-
- All Implemented Interfaces:
public final class BetaComputerToolA tool that controls a virtual computer. Learn more about the computer tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaComputerTool.BuilderA builder for BetaComputerTool.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The type of the computer tool. final Map<String, JsonValue>_additionalProperties()final BetaComputerTool.BuildertoBuilder()final BetaComputerToolvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaComputerTool.Builderbuilder()Returns a mutable builder for constructing an instance of BetaComputerTool. -
-
Method Detail
-
_type
final JsonValue _type()
The type of the computer tool. Always
computer.Expected to always return the following:
JsonValue.from("computer")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaComputerTool.Builder toBuilder()
-
validate
final BetaComputerTool 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 BetaComputerTool.Builder builder()
Returns a mutable builder for constructing an instance of BetaComputerTool.
-
-
-
-