Package com.datadog.api.client.v1.model
Class SyntheticsAPISubtestStep
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsAPISubtestStep
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsAPISubtestStep
extends Object
The subtest step used in a Synthetics multi-step API test.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsAPISubtestStep(String name, String subtestPublicId, SyntheticsAPISubtestStepSubtype subtype) -
Method Summary
Modifier and TypeMethodDescriptionallowFailure(Boolean allowFailure) alwaysExecute(Boolean alwaysExecute) booleanReturn true if this SyntheticsAPISubtestStep object is equal to o.exitIfSucceed(Boolean exitIfSucceed) 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.A boolean set to always execute this step even if the previous step failed or was skipped.Determines whether or not to exit the test if the step succeeds.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.getRetry()Object describing the retry strategy to apply to a Synthetic test.Public ID of the test to be played as part of aplaySubTeststep type.The subtype of the Synthetic multi-step API subtest step.inthashCode()isCritical(Boolean isCritical) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.retry(SyntheticsTestOptionsRetry retry) voidsetAllowFailure(Boolean allowFailure) voidsetAlwaysExecute(Boolean alwaysExecute) voidsetExitIfSucceed(Boolean exitIfSucceed) voidsetExtractedValuesFromScript(String extractedValuesFromScript) voidsetIsCritical(Boolean isCritical) voidvoidvoidsetSubtestPublicId(String subtestPublicId) voidsubtestPublicId(String subtestPublicId) subtype(SyntheticsAPISubtestStepSubtype subtype) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALLOW_FAILURE
- See Also:
-
JSON_PROPERTY_ALWAYS_EXECUTE
- See Also:
-
JSON_PROPERTY_EXIT_IF_SUCCEED
- 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_RETRY
- See Also:
-
JSON_PROPERTY_SUBTEST_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_SUBTYPE
- See Also:
-
-
Constructor Details
-
SyntheticsAPISubtestStep
public SyntheticsAPISubtestStep() -
SyntheticsAPISubtestStep
public SyntheticsAPISubtestStep(String name, String subtestPublicId, SyntheticsAPISubtestStepSubtype subtype)
-
-
Method Details
-
allowFailure
-
getAllowFailure
Determines whether or not to continue with test if this step fails.- Returns:
- allowFailure
-
setAllowFailure
-
alwaysExecute
-
getAlwaysExecute
A boolean set to always execute this step even if the previous step failed or was skipped.- Returns:
- alwaysExecute
-
setAlwaysExecute
-
exitIfSucceed
-
getExitIfSucceed
Determines whether or not to exit the test if the step succeeds.- Returns:
- exitIfSucceed
-
setExitIfSucceed
-
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
-
retry
-
getRetry
Object describing the retry strategy to apply to a Synthetic test.- Returns:
- retry
-
setRetry
-
subtestPublicId
-
getSubtestPublicId
Public ID of the test to be played as part of aplaySubTeststep type.- Returns:
- subtestPublicId
-
setSubtestPublicId
-
subtype
-
getSubtype
The subtype of the Synthetic multi-step API subtest 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:
- SyntheticsAPISubtestStep
-
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 SyntheticsAPISubtestStep object is equal to o. -
hashCode
public int hashCode() -
toString
-