Package com.datadog.api.client.v1.model
Class SyntheticsAssertionJSONPathTarget
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsAssertionJSONPathTarget
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsAssertionJSONPathTarget
extends Object
An assertion for the
validatesJSONPath operator.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsAssertionJSONPathTarget(SyntheticsAssertionJSONPathOperator operator, SyntheticsAssertionType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsAssertionJSONPathTarget object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Assertion operator to apply.The associated assertion property.Composed target forvalidatesJSONPathoperator.getType()Type of the assertion.inthashCode()operator(SyntheticsAssertionJSONPathOperator operator) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetProperty(String property) voidvoidtoString()type(SyntheticsAssertionType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_OPERATOR
- See Also:
-
JSON_PROPERTY_PROPERTY
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SyntheticsAssertionJSONPathTarget
public SyntheticsAssertionJSONPathTarget() -
SyntheticsAssertionJSONPathTarget
public SyntheticsAssertionJSONPathTarget(SyntheticsAssertionJSONPathOperator operator, SyntheticsAssertionType type)
-
-
Method Details
-
operator
-
getOperator
Assertion operator to apply.- Returns:
- operator
-
setOperator
-
property
-
getProperty
The associated assertion property.- Returns:
- property
-
setProperty
-
target
-
getTarget
Composed target forvalidatesJSONPathoperator.- Returns:
- target
-
setTarget
-
type
-
getType
Type of the assertion.- Returns:
- type
-
setType
-
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:
- SyntheticsAssertionJSONPathTarget
-
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 SyntheticsAssertionJSONPathTarget object is equal to o. -
hashCode
public int hashCode() -
toString
-