@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestResultAssertionResult extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACTUAL |
static String |
JSON_PROPERTY_ERROR_MESSAGE |
static String |
JSON_PROPERTY_EXPECTED |
static String |
JSON_PROPERTY_OPERATOR |
static String |
JSON_PROPERTY_PROPERTY |
static String |
JSON_PROPERTY_TARGET |
static String |
JSON_PROPERTY_TARGET_PATH |
static String |
JSON_PROPERTY_TARGET_PATH_OPERATOR |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_VALID |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsTestResultAssertionResult() |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsTestResultAssertionResult |
actual(Object actual) |
boolean |
equals(Object o)
Return true if this SyntheticsTestResultAssertionResult object is equal to o.
|
SyntheticsTestResultAssertionResult |
errorMessage(String errorMessage) |
SyntheticsTestResultAssertionResult |
expected(Object expected) |
Object |
getActual()
Actual value observed during the test.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getErrorMessage()
Error message if the assertion failed.
|
Object |
getExpected()
Expected value for the assertion.
|
String |
getOperator()
Operator used for the assertion (for example,
is, contains). |
String |
getProperty()
Property targeted by the assertion, when applicable.
|
Object |
getTarget()
Target value for the assertion.
|
String |
getTargetPath()
JSON path or XPath evaluated for the assertion.
|
String |
getTargetPathOperator()
Operator used for the target path assertion.
|
String |
getType()
Type of the assertion (for example,
responseTime, statusCode,
body). |
Boolean |
getValid()
Whether the assertion passed.
|
int |
hashCode() |
SyntheticsTestResultAssertionResult |
operator(String operator) |
SyntheticsTestResultAssertionResult |
property(String property) |
SyntheticsTestResultAssertionResult |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setActual(Object actual) |
void |
setErrorMessage(String errorMessage) |
void |
setExpected(Object expected) |
void |
setOperator(String operator) |
void |
setProperty(String property) |
void |
setTarget(Object target) |
void |
setTargetPath(String targetPath) |
void |
setTargetPathOperator(String targetPathOperator) |
void |
setType(String type) |
void |
setValid(Boolean valid) |
SyntheticsTestResultAssertionResult |
target(Object target) |
SyntheticsTestResultAssertionResult |
targetPath(String targetPath) |
SyntheticsTestResultAssertionResult |
targetPathOperator(String targetPathOperator) |
String |
toString() |
SyntheticsTestResultAssertionResult |
type(String type) |
SyntheticsTestResultAssertionResult |
valid(Boolean valid) |
public boolean unparsed
public static final String JSON_PROPERTY_ACTUAL
public static final String JSON_PROPERTY_ERROR_MESSAGE
public static final String JSON_PROPERTY_EXPECTED
public static final String JSON_PROPERTY_OPERATOR
public static final String JSON_PROPERTY_PROPERTY
public static final String JSON_PROPERTY_TARGET
public static final String JSON_PROPERTY_TARGET_PATH
public static final String JSON_PROPERTY_TARGET_PATH_OPERATOR
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_VALID
public SyntheticsTestResultAssertionResult actual(Object actual)
@Nullable public Object getActual()
public void setActual(Object actual)
public SyntheticsTestResultAssertionResult errorMessage(String errorMessage)
@Nullable public String getErrorMessage()
public void setErrorMessage(String errorMessage)
public SyntheticsTestResultAssertionResult expected(Object expected)
@Nullable public Object getExpected()
public void setExpected(Object expected)
public SyntheticsTestResultAssertionResult operator(String operator)
@Nullable public String getOperator()
is, contains).public void setOperator(String operator)
public SyntheticsTestResultAssertionResult property(String property)
@Nullable public String getProperty()
public void setProperty(String property)
public SyntheticsTestResultAssertionResult target(Object target)
@Nullable public Object getTarget()
public void setTarget(Object target)
public SyntheticsTestResultAssertionResult targetPath(String targetPath)
@Nullable public String getTargetPath()
public void setTargetPath(String targetPath)
public SyntheticsTestResultAssertionResult targetPathOperator(String targetPathOperator)
@Nullable public String getTargetPathOperator()
public void setTargetPathOperator(String targetPathOperator)
public SyntheticsTestResultAssertionResult type(String type)
@Nullable public String getType()
responseTime, statusCode,
body).public void setType(String type)
public SyntheticsTestResultAssertionResult valid(Boolean valid)
@Nullable public Boolean getValid()
public void setValid(Boolean valid)
public SyntheticsTestResultAssertionResult 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.