Package com.datadog.api.client.v1.model
Class SyntheticsAssertionJSONPathTargetTarget
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsAssertionJSONPathTargetTarget
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsAssertionJSONPathTargetTarget
extends Object
Composed target for
validatesJSONPath operator.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionelementsOperator(String elementsOperator) booleanReturn true if this SyntheticsAssertionJSONPathTargetTarget object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The element from the list of results to assert on.The JSON path to assert.The specific operator to use on the path.Value used by the operator in assertions.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetElementsOperator(String elementsOperator) voidsetJsonPath(String jsonPath) voidsetOperator(String operator) voidsetTargetValue(SyntheticsAssertionTargetValue targetValue) targetValue(SyntheticsAssertionTargetValue targetValue) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ELEMENTS_OPERATOR
- See Also:
-
JSON_PROPERTY_JSON_PATH
- See Also:
-
JSON_PROPERTY_OPERATOR
- See Also:
-
JSON_PROPERTY_TARGET_VALUE
- See Also:
-
-
Constructor Details
-
SyntheticsAssertionJSONPathTargetTarget
public SyntheticsAssertionJSONPathTargetTarget()
-
-
Method Details
-
elementsOperator
-
getElementsOperator
The element from the list of results to assert on. To choose from the first element in the listfirstElementMatches, every element in the listeveryElementMatches, at least one element in the listatLeastOneElementMatchesor the serialized value of the listserializationMatches.- Returns:
- elementsOperator
-
setElementsOperator
-
jsonPath
-
getJsonPath
The JSON path to assert.- Returns:
- jsonPath
-
setJsonPath
-
operator
-
getOperator
The specific operator to use on the path.- Returns:
- operator
-
setOperator
-
targetValue
public SyntheticsAssertionJSONPathTargetTarget targetValue(SyntheticsAssertionTargetValue targetValue) -
getTargetValue
Value used by the operator in assertions. Can be either a number or string.- Returns:
- targetValue
-
setTargetValue
-
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:
- SyntheticsAssertionJSONPathTargetTarget
-
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 SyntheticsAssertionJSONPathTargetTarget object is equal to o. -
hashCode
public int hashCode() -
toString
-