Class ResponseComputerToolCall.Action.Move
-
- All Implemented Interfaces:
public final class ResponseComputerToolCall.Action.MoveA mouse move action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseComputerToolCall.Action.Move.BuilderA builder for Move.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Specifies the event type. final Longx()The x-coordinate to move to. final Longy()The y-coordinate to move to. final Optional<List<String>>keys()The keys being held while moving the mouse. final JsonField<Long>_x()Returns the raw JSON value of x. final JsonField<Long>_y()Returns the raw JSON value of y. final JsonField<List<String>>_keys()Returns the raw JSON value of keys. final Map<String, JsonValue>_additionalProperties()final ResponseComputerToolCall.Action.Move.BuildertoBuilder()final ResponseComputerToolCall.Action.Movevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseComputerToolCall.Action.Move.Builderbuilder()Returns a mutable builder for constructing an instance of Move. -
-
Method Detail
-
_type
final JsonValue _type()
Specifies the event type. For a move action, this property is always set to
move.Expected to always return the following:
JsonValue.from("move")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_x
final JsonField<Long> _x()
Returns the raw JSON value of x.
Unlike x, this method doesn't throw if the JSON field has an unexpected type.
-
_y
final JsonField<Long> _y()
Returns the raw JSON value of y.
Unlike y, this method doesn't throw if the JSON field has an unexpected type.
-
_keys
final JsonField<List<String>> _keys()
Returns the raw JSON value of keys.
Unlike keys, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseComputerToolCall.Action.Move.Builder toBuilder()
-
validate
final ResponseComputerToolCall.Action.Move 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 ResponseComputerToolCall.Action.Move.Builder builder()
Returns a mutable builder for constructing an instance of Move.
The following fields are required:
.x() .y()
-
-
-
-