Package com.openai.models.responses
Interface ResponseComputerToolCall.Action.Visitor
-
- All Implemented Interfaces:
public interface ResponseComputerToolCall.Action.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitClick(ResponseComputerToolCall.Action.Click click)A click action. abstract TvisitDoubleClick(ResponseComputerToolCall.Action.DoubleClick doubleClick)A double click action. abstract TvisitDrag(ResponseComputerToolCall.Action.Drag drag)A drag action. abstract TvisitKeypress(ResponseComputerToolCall.Action.Keypress keypress)A collection of keypresses the model would like to perform. abstract TvisitMove(ResponseComputerToolCall.Action.Move move)A mouse move action. abstract TvisitScreenshot(JsonValue screenshot)A screenshot action. abstract TvisitScroll(ResponseComputerToolCall.Action.Scroll scroll)A scroll action. abstract TvisitType(ResponseComputerToolCall.Action.Type type)An action to type in text. abstract TvisitWait(JsonValue wait)A wait action. Tunknown(JsonValue json)Maps an unknown variant of Action to a value of type T. -
-
Method Detail
-
visitClick
abstract T visitClick(ResponseComputerToolCall.Action.Click click)
A click action.
-
visitDoubleClick
abstract T visitDoubleClick(ResponseComputerToolCall.Action.DoubleClick doubleClick)
A double click action.
-
visitDrag
abstract T visitDrag(ResponseComputerToolCall.Action.Drag drag)
A drag action.
-
visitKeypress
abstract T visitKeypress(ResponseComputerToolCall.Action.Keypress keypress)
A collection of keypresses the model would like to perform.
-
visitMove
abstract T visitMove(ResponseComputerToolCall.Action.Move move)
A mouse move action.
-
visitScreenshot
abstract T visitScreenshot(JsonValue screenshot)
A screenshot action.
-
visitScroll
abstract T visitScroll(ResponseComputerToolCall.Action.Scroll scroll)
A scroll action.
-
visitType
abstract T visitType(ResponseComputerToolCall.Action.Type type)
An action to type in text.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Action to a value of type T.
An instance of Action can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-