Class BetaBrowserRefTarget
-
- All Implemented Interfaces:
public final class BetaBrowserRefTargetAn element on the page, identified by a reference from a prior
read_pageorfindresult. References are scoped to the tab that produced them and become stale after navigation or a major re-render.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaBrowserRefTarget.BuilderA builder for BetaBrowserRefTarget.
-
Method Summary
Modifier and Type Method Description final Stringref()An element reference (e.g. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("ref")final JsonField<String>_ref()Returns the raw JSON value of ref. final Map<String, JsonValue>_additionalProperties()final BetaBrowserRefTarget.BuildertoBuilder()final BetaBrowserRefTargetvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaBrowserRefTarget.Builderbuilder()Returns a mutable builder for constructing an instance of BetaBrowserRefTarget. final static BetaBrowserRefTargetof(String ref)Returns an immutable instance of BetaBrowserRefTarget with the required ref set to the given value. -
-
Method Detail
-
ref
final String ref()
An element reference (e.g. "ref_7") returned by a prior
read_pageorfindresult.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("ref")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_ref
final JsonField<String> _ref()
Returns the raw JSON value of ref.
Unlike ref, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaBrowserRefTarget.Builder toBuilder()
-
validate
final BetaBrowserRefTarget 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 BetaBrowserRefTarget.Builder builder()
Returns a mutable builder for constructing an instance of BetaBrowserRefTarget.
The following fields are required:
.ref()
-
of
final static BetaBrowserRefTarget of(String ref)
Returns an immutable instance of BetaBrowserRefTarget with the required ref set to the given value.
-
-
-
-