Package com.openai.models.responses
Class ResponseComputerToolCall.Action.Drag.Builder
-
- All Implemented Interfaces:
public final class ResponseComputerToolCall.Action.Drag.Builder
A builder for Drag.
-
-
Method Summary
-
-
Method Detail
-
path
final ResponseComputerToolCall.Action.Drag.Builder path(List<ResponseComputerToolCall.Action.Drag.Path> path)
An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg
[ { x: 100, y: 200 }, { x: 200, y: 300 } ]
-
path
final ResponseComputerToolCall.Action.Drag.Builder path(JsonField<List<ResponseComputerToolCall.Action.Drag.Path>> path)
An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg
[ { x: 100, y: 200 }, { x: 200, y: 300 } ]
-
addPath
final ResponseComputerToolCall.Action.Drag.Builder addPath(ResponseComputerToolCall.Action.Drag.Path path)
An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg
[ { x: 100, y: 200 }, { x: 200, y: 300 } ]
-
type
final ResponseComputerToolCall.Action.Drag.Builder type(JsonValue type)
Specifies the event type. For a drag action, this property is always set to
drag
.
-
additionalProperties
final ResponseComputerToolCall.Action.Drag.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseComputerToolCall.Action.Drag.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseComputerToolCall.Action.Drag.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseComputerToolCall.Action.Drag.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseComputerToolCall.Action.Drag.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseComputerToolCall.Action.Drag build()
-
-
-
-