Class BetaBrowserKeyInput
-
- All Implemented Interfaces:
public final class BetaBrowserKeyInputPress a key or key chord. Use "+" to combine modifiers with a key (e.g. "ctrl+a", "cmd+shift+p") and space to sequence presses (e.g. "Backspace Backspace Delete"). Common names like "Return", "Tab", "Escape", "BackSpace" are supported.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaBrowserKeyInput.BuilderA builder for BetaBrowserKeyInput.
-
Method Summary
Modifier and Type Method Description final Stringtext()The key, chord, or space-separated sequence to press. final Optional<Long>repeat()Number of times to repeat. final Optional<String>tabId()Tab to act on. final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<Long>_repeat()Returns the raw JSON value of repeat. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BetaBrowserKeyInput.BuildertoBuilder()final BetaBrowserKeyInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaBrowserKeyInput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaBrowserKeyInput. final static BetaBrowserKeyInputof(String text)Returns an immutable instance of BetaBrowserKeyInput with the required text set to the given value. -
-
Method Detail
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_repeat
final JsonField<Long> _repeat()
Returns the raw JSON value of repeat.
Unlike repeat, 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 BetaBrowserKeyInput.Builder toBuilder()
-
validate
final BetaBrowserKeyInput 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 BetaBrowserKeyInput.Builder builder()
Returns a mutable builder for constructing an instance of BetaBrowserKeyInput.
The following fields are required:
.text()
-
of
final static BetaBrowserKeyInput of(String text)
Returns an immutable instance of BetaBrowserKeyInput with the required text set to the given value.
-
-
-
-