Class BrowserStateChangeTabOpened
-
- All Implemented Interfaces:
public final class BrowserStateChangeTabOpenedA 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 classBrowserStateChangeTabOpened.BuilderA builder for BrowserStateChangeTabOpened.
-
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 BrowserStateChangeTabOpened.BuildertoBuilder()final BrowserStateChangeTabOpenedvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserStateChangeTabOpened.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserStateChangeTabOpened. final static BrowserStateChangeTabOpenedof(String tabId)Returns an immutable instance of BrowserStateChangeTabOpened 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 BrowserStateChangeTabOpened.Builder toBuilder()
-
validate
final BrowserStateChangeTabOpened 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 BrowserStateChangeTabOpened.Builder builder()
Returns a mutable builder for constructing an instance of BrowserStateChangeTabOpened.
The following fields are required:
.tabId()
-
of
final static BrowserStateChangeTabOpened of(String tabId)
Returns an immutable instance of BrowserStateChangeTabOpened with the required tabId set to the given value.
-
-
-
-