@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsDevice extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_HEIGHT |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_IS_MOBILE |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_WIDTH |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsDevice() |
SyntheticsDevice(Long height,
SyntheticsDeviceID id,
String name,
Long width) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this SyntheticsDevice 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()
Screen height of the device.
|
SyntheticsDeviceID |
getId()
The device ID.
|
Boolean |
getIsMobile()
Whether or not the device is a mobile.
|
String |
getName()
The device name.
|
Long |
getWidth()
Screen width of the device.
|
int |
hashCode() |
SyntheticsDevice |
height(Long height) |
SyntheticsDevice |
id(SyntheticsDeviceID id) |
SyntheticsDevice |
isMobile(Boolean isMobile) |
SyntheticsDevice |
name(String name) |
SyntheticsDevice |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setHeight(Long height) |
void |
setId(SyntheticsDeviceID id) |
void |
setIsMobile(Boolean isMobile) |
void |
setName(String name) |
void |
setWidth(Long width) |
String |
toString() |
SyntheticsDevice |
width(Long width) |
public boolean unparsed
public static final String JSON_PROPERTY_HEIGHT
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_IS_MOBILE
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_WIDTH
public SyntheticsDevice()
public SyntheticsDevice(Long height, SyntheticsDeviceID id, String name, Long width)
public SyntheticsDevice height(Long height)
public Long getHeight()
public void setHeight(Long height)
public SyntheticsDevice id(SyntheticsDeviceID id)
public SyntheticsDeviceID getId()
public void setId(SyntheticsDeviceID id)
public SyntheticsDevice isMobile(Boolean isMobile)
@Nullable public Boolean getIsMobile()
public void setIsMobile(Boolean isMobile)
public SyntheticsDevice name(String name)
public String getName()
public void setName(String name)
public SyntheticsDevice width(Long width)
public Long getWidth()
public void setWidth(Long width)
public SyntheticsDevice 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 © 2024. All rights reserved.