@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsAssertionJSONPathTargetTarget extends Object
validatesJSONPath operator.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ELEMENTS_OPERATOR |
static String |
JSON_PROPERTY_JSON_PATH |
static String |
JSON_PROPERTY_OPERATOR |
static String |
JSON_PROPERTY_TARGET_VALUE |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsAssertionJSONPathTargetTarget() |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsAssertionJSONPathTargetTarget |
elementsOperator(String elementsOperator) |
boolean |
equals(Object o)
Return true if this SyntheticsAssertionJSONPathTargetTarget 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.
|
String |
getElementsOperator()
The element from the list of results to assert on.
|
String |
getJsonPath()
The JSON path to assert.
|
String |
getOperator()
The specific operator to use on the path.
|
Object |
getTargetValue()
The path target value to compare to.
|
int |
hashCode() |
SyntheticsAssertionJSONPathTargetTarget |
jsonPath(String jsonPath) |
SyntheticsAssertionJSONPathTargetTarget |
operator(String operator) |
SyntheticsAssertionJSONPathTargetTarget |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setElementsOperator(String elementsOperator) |
void |
setJsonPath(String jsonPath) |
void |
setOperator(String operator) |
void |
setTargetValue(Object targetValue) |
SyntheticsAssertionJSONPathTargetTarget |
targetValue(Object targetValue) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ELEMENTS_OPERATOR
public static final String JSON_PROPERTY_JSON_PATH
public static final String JSON_PROPERTY_OPERATOR
public static final String JSON_PROPERTY_TARGET_VALUE
public SyntheticsAssertionJSONPathTargetTarget()
public SyntheticsAssertionJSONPathTargetTarget elementsOperator(String elementsOperator)
@Nullable public String getElementsOperator()
firstElementMatches, every element in the list everyElementMatches,
at least one element in the list atLeastOneElementMatches or the serialized value
of the list serializationMatches.public void setElementsOperator(String elementsOperator)
public SyntheticsAssertionJSONPathTargetTarget jsonPath(String jsonPath)
@Nullable public String getJsonPath()
public void setJsonPath(String jsonPath)
public SyntheticsAssertionJSONPathTargetTarget operator(String operator)
@Nullable public String getOperator()
public void setOperator(String operator)
public SyntheticsAssertionJSONPathTargetTarget targetValue(Object targetValue)
@Nullable public Object getTargetValue()
public void setTargetValue(Object targetValue)
public SyntheticsAssertionJSONPathTargetTarget 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.