Package com.datadog.api.client.v1.model
Class SyntheticsAssertionTarget
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsAssertionTarget
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsAssertionTarget
extends Object
An assertion which uses a simple target.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsAssertionTarget(SyntheticsAssertionOperator operator, SyntheticsAssertionTargetValue target, SyntheticsAssertionType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsAssertionTarget 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.Value used by the operator in assertions.Timings scope for response time assertions.getType()Type of the assertion.inthashCode()operator(SyntheticsAssertionOperator operator) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetOperator(SyntheticsAssertionOperator operator) voidsetProperty(String property) voidvoidsetTimingsScope(SyntheticsAssertionTimingsScope timingsScope) voidtarget(SyntheticsAssertionTargetValue target) timingsScope(SyntheticsAssertionTimingsScope timingsScope) toString()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_TIMINGS_SCOPE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SyntheticsAssertionTarget
public SyntheticsAssertionTarget() -
SyntheticsAssertionTarget
public SyntheticsAssertionTarget(SyntheticsAssertionOperator operator, SyntheticsAssertionTargetValue target, SyntheticsAssertionType type)
-
-
Method Details
-
operator
-
getOperator
Assertion operator to apply.- Returns:
- operator
-
setOperator
-
property
-
getProperty
The associated assertion property.- Returns:
- property
-
setProperty
-
target
-
getTarget
Value used by the operator in assertions. Can be either a number or string.- Returns:
- target
-
setTarget
-
timingsScope
-
getTimingsScope
Timings scope for response time assertions.- Returns:
- timingsScope
-
setTimingsScope
-
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:
- SyntheticsAssertionTarget
-
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 SyntheticsAssertionTarget object is equal to o. -
hashCode
public int hashCode() -
toString
-