Class SessionStartParams.Browser.LaunchOptions.Viewport
-
- All Implemented Interfaces:
public final class SessionStartParams.Browser.LaunchOptions.Viewport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionStartParams.Browser.LaunchOptions.Viewport.BuilderA builder for Viewport.
-
Method Summary
Modifier and Type Method Description final Doubleheight()final Doublewidth()final JsonField<Double>_height()Returns the raw JSON value of height. final JsonField<Double>_width()Returns the raw JSON value of width. final Map<String, JsonValue>_additionalProperties()final SessionStartParams.Browser.LaunchOptions.Viewport.BuildertoBuilder()final SessionStartParams.Browser.LaunchOptions.Viewportvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionStartParams.Browser.LaunchOptions.Viewport.Builderbuilder()Returns a mutable builder for constructing an instance of Viewport. -
-
Method Detail
-
_height
final JsonField<Double> _height()
Returns the raw JSON value of height.
Unlike height, this method doesn't throw if the JSON field has an unexpected type.
-
_width
final JsonField<Double> _width()
Returns the raw JSON value of width.
Unlike width, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionStartParams.Browser.LaunchOptions.Viewport.Builder toBuilder()
-
validate
final SessionStartParams.Browser.LaunchOptions.Viewport 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 SessionStartParams.Browser.LaunchOptions.Viewport.Builder builder()
Returns a mutable builder for constructing an instance of Viewport.
The following fields are required:
.height() .width()
-
-
-
-