Class BetaComputerHoldKeyInput
-
- All Implemented Interfaces:
public final class BetaComputerHoldKeyInputHold down a key or key-combination for a specified duration. Uses the same key syntax as
key.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaComputerHoldKeyInput.BuilderA builder for BetaComputerHoldKeyInput.
-
Method Summary
Modifier and Type Method Description final Longduration()Duration to hold the key, in seconds. final Stringtext()The key or key-combination to hold. final JsonField<Long>_duration()Returns the raw JSON value of duration. final JsonField<String>_text()Returns the raw JSON value of text. final Map<String, JsonValue>_additionalProperties()final BetaComputerHoldKeyInput.BuildertoBuilder()final BetaComputerHoldKeyInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaComputerHoldKeyInput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaComputerHoldKeyInput. -
-
Method Detail
-
_duration
final JsonField<Long> _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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaComputerHoldKeyInput.Builder toBuilder()
-
validate
final BetaComputerHoldKeyInput 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 BetaComputerHoldKeyInput.Builder builder()
Returns a mutable builder for constructing an instance of BetaComputerHoldKeyInput.
The following fields are required:
.duration() .text()
-
-
-
-