@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestResultDuration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_HAS_DURATION |
static String |
JSON_PROPERTY_VALUE |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsTestResultDuration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this SyntheticsTestResultDuration 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.
|
Boolean |
getHasDuration()
Whether a duration was recorded for this execution.
|
Long |
getValue()
Duration value in milliseconds.
|
SyntheticsTestResultDuration |
hasDuration(Boolean hasDuration) |
int |
hashCode() |
SyntheticsTestResultDuration |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setHasDuration(Boolean hasDuration) |
void |
setValue(Long value) |
String |
toString() |
SyntheticsTestResultDuration |
value(Long value) |
public boolean unparsed
public static final String JSON_PROPERTY_HAS_DURATION
public static final String JSON_PROPERTY_VALUE
public SyntheticsTestResultDuration hasDuration(Boolean hasDuration)
@Nullable public Boolean getHasDuration()
public void setHasDuration(Boolean hasDuration)
public SyntheticsTestResultDuration value(Long value)
@Nullable public Long getValue()
public void setValue(Long value)
public SyntheticsTestResultDuration 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.