Package com.datadog.api.client.v1.model
Class SyntheticsAPITestStep
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsAPITestStep
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsAPITestStep
extends Object
The Test step used in a Synthetic multi-step API test.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsAPITestStep(List<SyntheticsAssertion> assertions, String name, SyntheticsTestRequest request, SyntheticsAPITestStepSubtype subtype) -
Method Summary
Modifier and TypeMethodDescriptionaddAssertionsItem(SyntheticsAssertion assertionsItem) addExtractedValuesItem(SyntheticsParsingOptions extractedValuesItem) allowFailure(Boolean allowFailure) assertions(List<SyntheticsAssertion> assertions) booleanReturn true if this SyntheticsAPITestStep object is equal to o.exitIfSucceed(Boolean exitIfSucceed) extractedValues(List<SyntheticsParsingOptions> extractedValues) extractedValuesFromScript(String extractedValuesFromScript) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Determines whether or not to continue with test if this step fails.Array of assertions used for the test.Determines whether or not to exit the test if the step succeeds.Array of values to parse and save as variables from the response.Generate variables using JavaScript.getId()ID of the step.Determines whether or not to consider the entire test as failed if this step fails.getName()The name of the step.Object describing the Synthetic test request.getRetry()Object describing the retry strategy to apply to a Synthetic test.The subtype of the Synthetic multi-step API test step.inthashCode()isCritical(Boolean isCritical) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.request(SyntheticsTestRequest request) retry(SyntheticsTestOptionsRetry retry) voidsetAllowFailure(Boolean allowFailure) voidsetAssertions(List<SyntheticsAssertion> assertions) voidsetExitIfSucceed(Boolean exitIfSucceed) voidsetExtractedValues(List<SyntheticsParsingOptions> extractedValues) voidsetExtractedValuesFromScript(String extractedValuesFromScript) voidsetIsCritical(Boolean isCritical) voidvoidsetRequest(SyntheticsTestRequest request) voidvoidsetSubtype(SyntheticsAPITestStepSubtype subtype) subtype(SyntheticsAPITestStepSubtype subtype) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALLOW_FAILURE
- See Also:
-
JSON_PROPERTY_ASSERTIONS
- See Also:
-
JSON_PROPERTY_EXIT_IF_SUCCEED
- See Also:
-
JSON_PROPERTY_EXTRACTED_VALUES
- See Also:
-
JSON_PROPERTY_EXTRACTED_VALUES_FROM_SCRIPT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_IS_CRITICAL
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_REQUEST
- See Also:
-
JSON_PROPERTY_RETRY
- See Also:
-
JSON_PROPERTY_SUBTYPE
- See Also:
-
-
Constructor Details
-
SyntheticsAPITestStep
public SyntheticsAPITestStep() -
SyntheticsAPITestStep
public SyntheticsAPITestStep(List<SyntheticsAssertion> assertions, String name, SyntheticsTestRequest request, SyntheticsAPITestStepSubtype subtype)
-
-
Method Details
-
allowFailure
-
getAllowFailure
Determines whether or not to continue with test if this step fails.- Returns:
- allowFailure
-
setAllowFailure
-
assertions
-
addAssertionsItem
-
getAssertions
Array of assertions used for the test.- Returns:
- assertions
-
setAssertions
-
exitIfSucceed
-
getExitIfSucceed
Determines whether or not to exit the test if the step succeeds.- Returns:
- exitIfSucceed
-
setExitIfSucceed
-
extractedValues
-
addExtractedValuesItem
-
getExtractedValues
Array of values to parse and save as variables from the response.- Returns:
- extractedValues
-
setExtractedValues
-
extractedValuesFromScript
-
getExtractedValuesFromScript
Generate variables using JavaScript.- Returns:
- extractedValuesFromScript
-
setExtractedValuesFromScript
-
getId
ID of the step.- Returns:
- id
-
isCritical
-
getIsCritical
Determines whether or not to consider the entire test as failed if this step fails. Can be used only ifallowFailureistrue.- Returns:
- isCritical
-
setIsCritical
-
name
-
getName
The name of the step.- Returns:
- name
-
setName
-
request
-
getRequest
Object describing the Synthetic test request.- Returns:
- request
-
setRequest
-
retry
-
getRetry
Object describing the retry strategy to apply to a Synthetic test.- Returns:
- retry
-
setRetry
-
subtype
-
getSubtype
The subtype of the Synthetic multi-step API test step.- Returns:
- subtype
-
setSubtype
-
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:
- SyntheticsAPITestStep
-
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 SyntheticsAPITestStep object is equal to o. -
hashCode
public int hashCode() -
toString
-