Package com.datadog.api.client.v1.model
Class SyntheticsAssertionXPathTarget
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsAssertionXPathTarget
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsAssertionXPathTarget
extends Object
An assertion for the
validatesXPath operator.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsAssertionXPathTarget(SyntheticsAssertionXPathOperator operator, SyntheticsAssertionType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsAssertionXPathTarget 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 forvalidatesXPathoperator.getType()Type of the assertion.inthashCode()operator(SyntheticsAssertionXPathOperator operator) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetOperator(SyntheticsAssertionXPathOperator operator) voidsetProperty(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
-
SyntheticsAssertionXPathTarget
public SyntheticsAssertionXPathTarget() -
SyntheticsAssertionXPathTarget
public SyntheticsAssertionXPathTarget(SyntheticsAssertionXPathOperator 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 forvalidatesXPathoperator.- 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:
- SyntheticsAssertionXPathTarget
-
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 SyntheticsAssertionXPathTarget object is equal to o. -
hashCode
public int hashCode() -
toString
-