Package com.datadog.api.client.v2.model
Class SyntheticsTestResultDeviceResolution
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestResultDeviceResolution
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestResultDeviceResolution
extends Object
Screen resolution of the device used to run the test.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsTestResultDeviceResolution object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Viewport height in pixels.Device pixel ratio.getWidth()Viewport width in pixels.inthashCode()pixelRatio(Double pixelRatio) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetPixelRatio(Double pixelRatio) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HEIGHT
- See Also:
-
JSON_PROPERTY_PIXEL_RATIO
- See Also:
-
JSON_PROPERTY_WIDTH
- See Also:
-
-
Constructor Details
-
SyntheticsTestResultDeviceResolution
public SyntheticsTestResultDeviceResolution()
-
-
Method Details
-
height
-
getHeight
Viewport height in pixels.- Returns:
- height
-
setHeight
-
pixelRatio
-
getPixelRatio
Device pixel ratio.- Returns:
- pixelRatio
-
setPixelRatio
-
width
-
getWidth
Viewport width in pixels.- Returns:
- width
-
setWidth
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SyntheticsTestResultDeviceResolution
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SyntheticsTestResultDeviceResolution object is equal to o. -
hashCode
public int hashCode() -
toString
-