Package com.datadog.api.client.v1.model
Class SyntheticsAPITestConfig
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsAPITestConfig
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsAPITestConfig
extends Object
Configuration object for a Synthetic API test.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAssertionsItem(SyntheticsAssertion assertionsItem) addConfigVariablesItem(SyntheticsConfigVariable configVariablesItem) addStepsItem(SyntheticsAPIStep stepsItem) assertions(List<SyntheticsAssertion> assertions) configVariables(List<SyntheticsConfigVariable> configVariables) booleanReturn true if this SyntheticsAPITestConfig object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Array of assertions used for the test.Array of variables used for the test.Object describing the Synthetic test request.getSteps()When the test subtype ismulti, the steps of the test.Variables defined from JavaScript code.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.request(SyntheticsTestRequest request) voidsetAssertions(List<SyntheticsAssertion> assertions) voidsetConfigVariables(List<SyntheticsConfigVariable> configVariables) voidsetRequest(SyntheticsTestRequest request) voidsetSteps(List<SyntheticsAPIStep> steps) voidsetVariablesFromScript(String variablesFromScript) steps(List<SyntheticsAPIStep> steps) toString()variablesFromScript(String variablesFromScript)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSERTIONS
- See Also:
-
JSON_PROPERTY_CONFIG_VARIABLES
- See Also:
-
JSON_PROPERTY_REQUEST
- See Also:
-
JSON_PROPERTY_STEPS
- See Also:
-
JSON_PROPERTY_VARIABLES_FROM_SCRIPT
- See Also:
-
-
Constructor Details
-
SyntheticsAPITestConfig
public SyntheticsAPITestConfig()
-
-
Method Details
-
assertions
-
addAssertionsItem
-
getAssertions
Array of assertions used for the test. Required for single API tests.- Returns:
- assertions
-
setAssertions
-
configVariables
-
addConfigVariablesItem
-
getConfigVariables
Array of variables used for the test.- Returns:
- configVariables
-
setConfigVariables
-
request
-
getRequest
Object describing the Synthetic test request.- Returns:
- request
-
setRequest
-
steps
-
addStepsItem
-
getSteps
When the test subtype ismulti, the steps of the test.- Returns:
- steps
-
setSteps
-
variablesFromScript
-
getVariablesFromScript
Variables defined from JavaScript code.- Returns:
- variablesFromScript
-
setVariablesFromScript
-
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:
- SyntheticsAPITestConfig
-
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 SyntheticsAPITestConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-