Package com.datadog.api.client.v2.model
Class SyntheticsTestResultAssertionResult
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestResultAssertionResult
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestResultAssertionResult
extends Object
An individual assertion result from a Synthetic test.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsTestResultAssertionResult object is equal to o.errorMessage(String errorMessage) Actual value observed during the test.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Error message if the assertion failed.Expected value for the assertion.Operator used for the assertion (for example,is,contains).Property targeted by the assertion, when applicable.Target value for the assertion.JSON path or XPath evaluated for the assertion.Operator used for the target path assertion.getType()Type of the assertion (for example,responseTime,statusCode,body).getValid()Whether the assertion passed.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetErrorMessage(String errorMessage) voidsetExpected(Object expected) voidsetOperator(String operator) voidsetProperty(String property) voidvoidsetTargetPath(String targetPath) voidsetTargetPathOperator(String targetPathOperator) voidvoidtargetPath(String targetPath) targetPathOperator(String targetPathOperator) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTUAL
- See Also:
-
JSON_PROPERTY_ERROR_MESSAGE
- See Also:
-
JSON_PROPERTY_EXPECTED
- See Also:
-
JSON_PROPERTY_OPERATOR
- See Also:
-
JSON_PROPERTY_PROPERTY
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
JSON_PROPERTY_TARGET_PATH
- See Also:
-
JSON_PROPERTY_TARGET_PATH_OPERATOR
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VALID
- See Also:
-
-
Constructor Details
-
SyntheticsTestResultAssertionResult
public SyntheticsTestResultAssertionResult()
-
-
Method Details
-
actual
-
getActual
Actual value observed during the test. Its type depends on the assertion type.- Returns:
- actual
-
setActual
-
errorMessage
-
getErrorMessage
Error message if the assertion failed.- Returns:
- errorMessage
-
setErrorMessage
-
expected
-
getExpected
Expected value for the assertion. Its type depends on the assertion type.- Returns:
- expected
-
setExpected
-
operator
-
getOperator
Operator used for the assertion (for example,is,contains).- Returns:
- operator
-
setOperator
-
property
-
getProperty
Property targeted by the assertion, when applicable.- Returns:
- property
-
setProperty
-
target
-
getTarget
Target value for the assertion. Its type depends on the assertion type.- Returns:
- target
-
setTarget
-
targetPath
-
getTargetPath
JSON path or XPath evaluated for the assertion.- Returns:
- targetPath
-
setTargetPath
-
targetPathOperator
-
getTargetPathOperator
Operator used for the target path assertion.- Returns:
- targetPathOperator
-
setTargetPathOperator
-
type
-
getType
Type of the assertion (for example,responseTime,statusCode,body).- Returns:
- type
-
setType
-
valid
-
getValid
Whether the assertion passed.- Returns:
- valid
-
setValid
-
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:
- SyntheticsTestResultAssertionResult
-
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 SyntheticsTestResultAssertionResult object is equal to o. -
hashCode
public int hashCode() -
toString
-