Package com.datadog.api.client.v1.model
Class SyntheticsTestConfig
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsTestConfig
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestConfig
extends Object
Configuration object for a Synthetic test.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAssertionsItem(SyntheticsAssertion assertionsItem) addConfigVariablesItem(SyntheticsConfigVariable configVariablesItem) addVariablesItem(SyntheticsBrowserVariable variablesItem) assertions(List<SyntheticsAssertion> assertions) configVariables(List<SyntheticsConfigVariable> configVariables) booleanReturn true if this SyntheticsTestConfig 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.Browser tests only - array of variables used for the test steps.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) voidsetVariables(List<SyntheticsBrowserVariable> variables) toString()variables(List<SyntheticsBrowserVariable> variables)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSERTIONS
- See Also:
-
JSON_PROPERTY_CONFIG_VARIABLES
- See Also:
-
JSON_PROPERTY_REQUEST
- See Also:
-
JSON_PROPERTY_VARIABLES
- See Also:
-
-
Constructor Details
-
SyntheticsTestConfig
public SyntheticsTestConfig()
-
-
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
-
variables
-
addVariablesItem
-
getVariables
Browser tests only - array of variables used for the test steps.- Returns:
- variables
-
setVariables
-
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:
- SyntheticsTestConfig
-
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 SyntheticsTestConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-