Class BetaBrowserStateChangeTabOpened
-
- All Implemented Interfaces:
public final class BetaBrowserStateChangeTabOpenedA tab this call's execution opened that remains open at its end — the creation delta of the
tabsinventory, not an event log.Carries only the
tab_id; the tab'stitleandurllive on itstabsentry, which must include the sametab_id. A tab opened during a failed call gets no deferredtab_opened; it simply appears in the next result'stabsinventory.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaBrowserStateChangeTabOpened.BuilderA builder for BetaBrowserStateChangeTabOpened.
-
Method Summary
Modifier and Type Method Description final StringtabId()The tab_idof the opened tab, present intabs.final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("tab_opened")final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BetaBrowserStateChangeTabOpened.BuildertoBuilder()final BetaBrowserStateChangeTabOpenedvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaBrowserStateChangeTabOpened.Builderbuilder()Returns a mutable builder for constructing an instance of BetaBrowserStateChangeTabOpened. final static BetaBrowserStateChangeTabOpenedof(String tabId)Returns an immutable instance of BetaBrowserStateChangeTabOpened with the required tabId set to the given value. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("tab_opened")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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 BetaBrowserStateChangeTabOpened.Builder toBuilder()
-
validate
final BetaBrowserStateChangeTabOpened 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 BetaBrowserStateChangeTabOpened.Builder builder()
Returns a mutable builder for constructing an instance of BetaBrowserStateChangeTabOpened.
The following fields are required:
.tabId()
-
of
final static BetaBrowserStateChangeTabOpened of(String tabId)
Returns an immutable instance of BetaBrowserStateChangeTabOpened with the required tabId set to the given value.
-
-
-
-