Class ResponseComputerToolCall.Action.DoubleClick
-
- All Implemented Interfaces:
public final class ResponseComputerToolCall.Action.DoubleClickA double click action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseComputerToolCall.Action.DoubleClick.BuilderA builder for DoubleClick.
-
Method Summary
Modifier and Type Method Description final Optional<List<String>>keys()The keys being held while double-clicking. final JsonValue_type()Specifies the event type. final Longx()The x-coordinate where the double click occurred. final Longy()The y-coordinate where the double click occurred. final JsonField<List<String>>_keys()Returns the raw JSON value of keys. final JsonField<Long>_x()Returns the raw JSON value of x. final JsonField<Long>_y()Returns the raw JSON value of y. final Map<String, JsonValue>_additionalProperties()final ResponseComputerToolCall.Action.DoubleClick.BuildertoBuilder()final ResponseComputerToolCall.Action.DoubleClickvalidate()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.DoubleClick.Builderbuilder()Returns a mutable builder for constructing an instance of DoubleClick. -
-
Method Detail
-
_type
final JsonValue _type()
Specifies the event type. For a double click action, this property is always set to
double_click.Expected to always return the following:
JsonValue.from("double_click")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseComputerToolCall.Action.DoubleClick.Builder toBuilder()
-
validate
final ResponseComputerToolCall.Action.DoubleClick 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.DoubleClick.Builder builder()
Returns a mutable builder for constructing an instance of DoubleClick.
The following fields are required:
.keys() .x() .y()
-
-
-
-