Package com.datadog.api.client.v2.model
Class SyntheticsTestResultDevice
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestResultDevice
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestResultDevice
extends Object
Device information for the test result (browser and mobile tests).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbrowser(SyntheticsTestResultDeviceBrowser browser) booleanReturn true if this SyntheticsTestResultDevice object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Browser information for the device used to run the test.getId()Device identifier.getName()Device name.Platform information for the device used to run the test.Screen resolution of the device used to run the test.getType()Device type.inthashCode()platform(SyntheticsTestResultDevicePlatform platform) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resolution(SyntheticsTestResultDeviceResolution resolution) voidvoidvoidvoidvoidsetResolution(SyntheticsTestResultDeviceResolution resolution) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BROWSER
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PLATFORM
- See Also:
-
JSON_PROPERTY_RESOLUTION
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SyntheticsTestResultDevice
public SyntheticsTestResultDevice()
-
-
Method Details
-
browser
-
getBrowser
Browser information for the device used to run the test.- Returns:
- browser
-
setBrowser
-
id
-
getId
Device identifier.- Returns:
- id
-
setId
-
name
-
getName
Device name.- Returns:
- name
-
setName
-
platform
-
getPlatform
Platform information for the device used to run the test.- Returns:
- platform
-
setPlatform
-
resolution
-
getResolution
Screen resolution of the device used to run the test.- Returns:
- resolution
-
setResolution
-
type
-
getType
Device type.- Returns:
- type
-
setType
-
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:
- SyntheticsTestResultDevice
-
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 SyntheticsTestResultDevice object is equal to o. -
hashCode
public int hashCode() -
toString
-