Class BrowserHoldKeyInput
-
- All Implemented Interfaces:
public final class BrowserHoldKeyInputHold a key or key chord down for a duration, then release it. Uses the same key names and "+" chord syntax as the key action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserHoldKeyInput.BuilderA builder for BrowserHoldKeyInput.
-
Method Summary
Modifier and Type Method Description final Doubleduration()Seconds to hold the key down (maximum 30). final Stringtext()The key or chord to hold. final Optional<String>tabId()Tab to act on. final JsonField<Double>_duration()Returns the raw JSON value of duration. final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BrowserHoldKeyInput.BuildertoBuilder()final BrowserHoldKeyInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserHoldKeyInput.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserHoldKeyInput. -
-
Method Detail
-
_duration
final JsonField<Double> _duration()
Returns the raw JSON value of duration.
Unlike duration, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_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 BrowserHoldKeyInput.Builder toBuilder()
-
validate
final BrowserHoldKeyInput 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 BrowserHoldKeyInput.Builder builder()
Returns a mutable builder for constructing an instance of BrowserHoldKeyInput.
The following fields are required:
.duration() .text()
-
-
-
-