Class SessionStartResponse.Data
-
- All Implemented Interfaces:
public final class SessionStartResponse.Data
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionStartResponse.Data.BuilderA builder for Data.
-
Method Summary
Modifier and Type Method Description final Booleanavailable()final StringsessionId()Unique Browserbase session identifier final Optional<String>cdpUrl()CDP WebSocket URL for connecting to the Browserbase cloud browser (present when available) final JsonField<Boolean>_available()Returns the raw JSON value of available. final JsonField<String>_sessionId()Returns the raw JSON value of sessionId. final JsonField<String>_cdpUrl()Returns the raw JSON value of cdpUrl. final Map<String, JsonValue>_additionalProperties()final SessionStartResponse.Data.BuildertoBuilder()final SessionStartResponse.Datavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionStartResponse.Data.Builderbuilder()Returns a mutable builder for constructing an instance of Data. -
-
Method Detail
-
cdpUrl
final Optional<String> cdpUrl()
CDP WebSocket URL for connecting to the Browserbase cloud browser (present when available)
-
_available
final JsonField<Boolean> _available()
Returns the raw JSON value of available.
Unlike available, this method doesn't throw if the JSON field has an unexpected type.
-
_sessionId
final JsonField<String> _sessionId()
Returns the raw JSON value of sessionId.
Unlike sessionId, this method doesn't throw if the JSON field has an unexpected type.
-
_cdpUrl
final JsonField<String> _cdpUrl()
Returns the raw JSON value of cdpUrl.
Unlike cdpUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionStartResponse.Data.Builder toBuilder()
-
validate
final SessionStartResponse.Data 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 SessionStartResponse.Data.Builder builder()
Returns a mutable builder for constructing an instance of Data.
The following fields are required:
.available() .sessionId()
-
-
-
-