@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestResultDeviceResolution extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_HEIGHT |
static String |
JSON_PROPERTY_PIXEL_RATIO |
static String |
JSON_PROPERTY_WIDTH |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsTestResultDeviceResolution() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this SyntheticsTestResultDeviceResolution object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getHeight()
Viewport height in pixels.
|
Double |
getPixelRatio()
Device pixel ratio.
|
Long |
getWidth()
Viewport width in pixels.
|
int |
hashCode() |
SyntheticsTestResultDeviceResolution |
height(Long height) |
SyntheticsTestResultDeviceResolution |
pixelRatio(Double pixelRatio) |
SyntheticsTestResultDeviceResolution |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setHeight(Long height) |
void |
setPixelRatio(Double pixelRatio) |
void |
setWidth(Long width) |
String |
toString() |
SyntheticsTestResultDeviceResolution |
width(Long width) |
public boolean unparsed
public static final String JSON_PROPERTY_HEIGHT
public static final String JSON_PROPERTY_PIXEL_RATIO
public static final String JSON_PROPERTY_WIDTH
public SyntheticsTestResultDeviceResolution()
public SyntheticsTestResultDeviceResolution height(Long height)
@Nullable public Long getHeight()
public void setHeight(Long height)
public SyntheticsTestResultDeviceResolution pixelRatio(Double pixelRatio)
@Nullable public Double getPixelRatio()
public void setPixelRatio(Double pixelRatio)
public SyntheticsTestResultDeviceResolution width(Long width)
@Nullable public Long getWidth()
public void setWidth(Long width)
public SyntheticsTestResultDeviceResolution putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.