Class BetaBrowserLeftClickInput
-
- All Implemented Interfaces:
public final class BetaBrowserLeftClickInputLeft-click at a viewport coordinate or on an element by reference.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaBrowserLeftClickInput.BuilderA builder for BetaBrowserLeftClickInput.
-
Method Summary
Modifier and Type Method Description final BetaBrowserClickTargettarget()Where to act: either a viewport coordinate or an element reference. final Optional<String>modifiers()Optional modifier key chord to hold for the duration of this action (e.g. final Optional<String>tabId()Tab to act on. final JsonField<BetaBrowserClickTarget>_target()Returns the raw JSON value of target. final JsonField<String>_modifiers()Returns the raw JSON value of modifiers. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BetaBrowserLeftClickInput.BuildertoBuilder()final BetaBrowserLeftClickInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaBrowserLeftClickInput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaBrowserLeftClickInput. final static BetaBrowserLeftClickInputof(BetaBrowserClickTarget target)Returns an immutable instance of BetaBrowserLeftClickInput with the required target set to the given value. final static BetaBrowserLeftClickInputof(BetaBrowserCoordinateTarget coordinate)Alias for calling of with BetaBrowserClickTarget.ofCoordinate(coordinate).final static BetaBrowserLeftClickInputof(BetaBrowserRefTarget ref)Alias for calling of with BetaBrowserClickTarget.ofRef(ref).-
-
Method Detail
-
target
final BetaBrowserClickTarget target()
Where to act: either a viewport coordinate or an element reference.
-
modifiers
final Optional<String> modifiers()
Optional modifier key chord to hold for the duration of this action (e.g. "shift", "ctrl+shift", "cmd+alt").
-
_target
final JsonField<BetaBrowserClickTarget> _target()
Returns the raw JSON value of target.
Unlike target, this method doesn't throw if the JSON field has an unexpected type.
-
_modifiers
final JsonField<String> _modifiers()
Returns the raw JSON value of modifiers.
Unlike modifiers, this method doesn't throw if the JSON field has an unexpected type.
-
_tabId
final JsonField<String> _tabId()
Returns the raw JSON value of tabId.
Unlike tabId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaBrowserLeftClickInput.Builder toBuilder()
-
validate
final BetaBrowserLeftClickInput 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 BetaBrowserLeftClickInput.Builder builder()
Returns a mutable builder for constructing an instance of BetaBrowserLeftClickInput.
The following fields are required:
.target()
-
of
final static BetaBrowserLeftClickInput of(BetaBrowserClickTarget target)
Returns an immutable instance of BetaBrowserLeftClickInput with the required target set to the given value.
-
of
final static BetaBrowserLeftClickInput of(BetaBrowserCoordinateTarget coordinate)
Alias for calling of with
BetaBrowserClickTarget.ofCoordinate(coordinate).
-
of
final static BetaBrowserLeftClickInput of(BetaBrowserRefTarget ref)
Alias for calling of with
BetaBrowserClickTarget.ofRef(ref).
-
-
-
-