Package com.datadog.api.client.v1.model
Class SyntheticsCITest
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsCITest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsCITest
extends Object
Configuration for Continuous Testing.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDeviceIdsItem(String deviceIdsItem) addLocationsItem(String locationsItem) allowInsecureCertificates(Boolean allowInsecureCertificates) basicAuth(SyntheticsBasicAuth basicAuth) booleanReturn true if this SyntheticsCITest object is equal to o.followRedirects(Boolean followRedirects) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Disable certificate checks in API tests.Object to handle basic authentication when performing the test.getBody()Body to include in the test.Type of the data sent in a Synthetic API test.Cookies for the request.For browser test, array with the different device IDs used to run the test.For API HTTP test, whether or not the test should follow redirects.Headers to include when performing the test.Array of locations used to run the test.Metadata for the Synthetic tests run.The public ID of the Synthetic test to trigger.getRetry()Object describing the retry strategy to apply to a Synthetic test.Starting URL for the browser test.Variables to replace in the test.The version number of the Synthetic test version to trigger.inthashCode()metadata(SyntheticsCIBatchMetadata metadata) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putHeadersItem(String key, String headersItem) putVariablesItem(String key, String variablesItem) retry(SyntheticsTestOptionsRetry retry) voidsetAllowInsecureCertificates(Boolean allowInsecureCertificates) voidsetBasicAuth(SyntheticsBasicAuth basicAuth) voidvoidsetBodyType(String bodyType) voidsetCookies(String cookies) voidsetDeviceIds(List<String> deviceIds) voidsetFollowRedirects(Boolean followRedirects) voidsetHeaders(Map<String, String> headers) voidsetLocations(List<String> locations) voidsetMetadata(SyntheticsCIBatchMetadata metadata) voidsetPublicId(String publicId) voidvoidsetStartUrl(String startUrl) voidsetVariables(Map<String, String> variables) voidsetVersion(Long version) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALLOW_INSECURE_CERTIFICATES
- See Also:
-
JSON_PROPERTY_BASIC_AUTH
- See Also:
-
JSON_PROPERTY_BODY
- See Also:
-
JSON_PROPERTY_BODY_TYPE
- See Also:
-
JSON_PROPERTY_COOKIES
- See Also:
-
JSON_PROPERTY_DEVICE_IDS
- See Also:
-
JSON_PROPERTY_FOLLOW_REDIRECTS
- See Also:
-
JSON_PROPERTY_HEADERS
- See Also:
-
JSON_PROPERTY_LOCATIONS
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_RETRY
- See Also:
-
JSON_PROPERTY_START_URL
- See Also:
-
JSON_PROPERTY_VARIABLES
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
SyntheticsCITest
public SyntheticsCITest() -
SyntheticsCITest
-
-
Method Details
-
allowInsecureCertificates
-
getAllowInsecureCertificates
Disable certificate checks in API tests.- Returns:
- allowInsecureCertificates
-
setAllowInsecureCertificates
-
basicAuth
-
getBasicAuth
Object to handle basic authentication when performing the test.- Returns:
- basicAuth
-
setBasicAuth
-
body
-
getBody
Body to include in the test.- Returns:
- body
-
setBody
-
bodyType
-
getBodyType
Type of the data sent in a Synthetic API test.- Returns:
- bodyType
-
setBodyType
-
cookies
-
getCookies
Cookies for the request.- Returns:
- cookies
-
setCookies
-
deviceIds
-
addDeviceIdsItem
-
getDeviceIds
For browser test, array with the different device IDs used to run the test.- Returns:
- deviceIds
-
setDeviceIds
-
followRedirects
-
getFollowRedirects
For API HTTP test, whether or not the test should follow redirects.- Returns:
- followRedirects
-
setFollowRedirects
-
headers
-
putHeadersItem
-
getHeaders
Headers to include when performing the test.- Returns:
- headers
-
setHeaders
-
locations
-
addLocationsItem
-
getLocations
Array of locations used to run the test.- Returns:
- locations
-
setLocations
-
metadata
-
getMetadata
Metadata for the Synthetic tests run.- Returns:
- metadata
-
setMetadata
-
publicId
-
getPublicId
The public ID of the Synthetic test to trigger.- Returns:
- publicId
-
setPublicId
-
retry
-
getRetry
Object describing the retry strategy to apply to a Synthetic test.- Returns:
- retry
-
setRetry
-
startUrl
-
getStartUrl
Starting URL for the browser test.- Returns:
- startUrl
-
setStartUrl
-
variables
-
putVariablesItem
-
getVariables
Variables to replace in the test.- Returns:
- variables
-
setVariables
-
version
-
getVersion
The version number of the Synthetic test version to trigger.- Returns:
- version
-
setVersion
-
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:
- SyntheticsCITest
-
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 SyntheticsCITest object is equal to o. -
hashCode
public int hashCode() -
toString
-