Package com.datadog.api.client.v1.model
Class SyntheticsDevice
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsDevice
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsDevice
extends Object
Object describing the device used to perform the Synthetic test.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsDevice object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Screen height of the device.getId()The device ID.Whether or not the device is a mobile.getName()The device name.getWidth()Screen width of the device.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetIsMobile(Boolean isMobile) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HEIGHT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_IS_MOBILE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_WIDTH
- See Also:
-
-
Constructor Details
-
SyntheticsDevice
public SyntheticsDevice() -
SyntheticsDevice
-
-
Method Details
-
height
-
getHeight
Screen height of the device.- Returns:
- height
-
setHeight
-
id
-
getId
The device ID.- Returns:
- id
-
setId
-
isMobile
-
getIsMobile
Whether or not the device is a mobile.- Returns:
- isMobile
-
setIsMobile
-
name
-
getName
The device name.- Returns:
- name
-
setName
-
width
-
getWidth
Screen width of the device.- 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:
- SyntheticsDevice
-
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 SyntheticsDevice object is equal to o. -
hashCode
public int hashCode() -
toString
-