@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsBatchResult extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DEVICE |
static String |
JSON_PROPERTY_DURATION |
static String |
JSON_PROPERTY_EXECUTION_RULE |
static String |
JSON_PROPERTY_LOCATION |
static String |
JSON_PROPERTY_RESULT_ID |
static String |
JSON_PROPERTY_RETRIES |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_TEST_NAME |
static String |
JSON_PROPERTY_TEST_PUBLIC_ID |
static String |
JSON_PROPERTY_TEST_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsBatchResult() |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsBatchResult |
device(SyntheticsDeviceID device) |
SyntheticsBatchResult |
duration(Double duration) |
boolean |
equals(Object o)
Return true if this SyntheticsBatchResult object is equal to o.
|
SyntheticsBatchResult |
executionRule(SyntheticsTestExecutionRule executionRule) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
SyntheticsDeviceID |
getDevice()
The device ID.
|
Double |
getDuration()
Total duration in millisecond of the test.
|
SyntheticsTestExecutionRule |
getExecutionRule()
Execution rule for a Synthetic test.
|
String |
getLocation()
Name of the location.
|
String |
getResultId()
The ID of the result to get.
|
Double |
getRetries()
Number of times this result has been retried.
|
SyntheticsStatus |
getStatus()
Determines whether or not the batch has passed, failed, or is in progress.
|
String |
getTestName()
Name of the test.
|
String |
getTestPublicId()
The public ID of the Synthetic test.
|
SyntheticsTestDetailsType |
getTestType()
Type of the Synthetic test, either
api or browser. |
int |
hashCode() |
SyntheticsBatchResult |
location(String location) |
SyntheticsBatchResult |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SyntheticsBatchResult |
resultId(String resultId) |
SyntheticsBatchResult |
retries(Double retries) |
void |
setDevice(SyntheticsDeviceID device) |
void |
setDuration(Double duration) |
void |
setExecutionRule(SyntheticsTestExecutionRule executionRule) |
void |
setLocation(String location) |
void |
setResultId(String resultId) |
void |
setRetries(Double retries) |
void |
setStatus(SyntheticsStatus status) |
void |
setTestName(String testName) |
void |
setTestPublicId(String testPublicId) |
void |
setTestType(SyntheticsTestDetailsType testType) |
SyntheticsBatchResult |
status(SyntheticsStatus status) |
SyntheticsBatchResult |
testName(String testName) |
SyntheticsBatchResult |
testPublicId(String testPublicId) |
SyntheticsBatchResult |
testType(SyntheticsTestDetailsType testType) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DEVICE
public static final String JSON_PROPERTY_DURATION
public static final String JSON_PROPERTY_EXECUTION_RULE
public static final String JSON_PROPERTY_LOCATION
public static final String JSON_PROPERTY_RESULT_ID
public static final String JSON_PROPERTY_RETRIES
public static final String JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_TEST_NAME
public static final String JSON_PROPERTY_TEST_PUBLIC_ID
public static final String JSON_PROPERTY_TEST_TYPE
public SyntheticsBatchResult device(SyntheticsDeviceID device)
@Nullable public SyntheticsDeviceID getDevice()
public void setDevice(SyntheticsDeviceID device)
public SyntheticsBatchResult duration(Double duration)
@Nullable public Double getDuration()
public void setDuration(Double duration)
public SyntheticsBatchResult executionRule(SyntheticsTestExecutionRule executionRule)
@Nullable public SyntheticsTestExecutionRule getExecutionRule()
public void setExecutionRule(SyntheticsTestExecutionRule executionRule)
public SyntheticsBatchResult location(String location)
@Nullable public String getLocation()
public void setLocation(String location)
public SyntheticsBatchResult resultId(String resultId)
@Nullable public String getResultId()
public void setResultId(String resultId)
public SyntheticsBatchResult retries(Double retries)
@Nullable public Double getRetries()
public void setRetries(Double retries)
public SyntheticsBatchResult status(SyntheticsStatus status)
@Nullable public SyntheticsStatus getStatus()
public void setStatus(SyntheticsStatus status)
public SyntheticsBatchResult testName(String testName)
@Nullable public String getTestName()
public void setTestName(String testName)
public SyntheticsBatchResult testPublicId(String testPublicId)
@Nullable public String getTestPublicId()
public void setTestPublicId(String testPublicId)
public SyntheticsBatchResult testType(SyntheticsTestDetailsType testType)
@Nullable public SyntheticsTestDetailsType getTestType()
api or browser.public void setTestType(SyntheticsTestDetailsType testType)
public SyntheticsBatchResult 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.