@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsCITest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ALLOW_INSECURE_CERTIFICATES |
static String |
JSON_PROPERTY_BASIC_AUTH |
static String |
JSON_PROPERTY_BODY |
static String |
JSON_PROPERTY_BODY_TYPE |
static String |
JSON_PROPERTY_COOKIES |
static String |
JSON_PROPERTY_DEVICE_IDS |
static String |
JSON_PROPERTY_FOLLOW_REDIRECTS |
static String |
JSON_PROPERTY_HEADERS |
static String |
JSON_PROPERTY_LOCATIONS |
static String |
JSON_PROPERTY_METADATA |
static String |
JSON_PROPERTY_PUBLIC_ID |
static String |
JSON_PROPERTY_RETRY |
static String |
JSON_PROPERTY_START_URL |
static String |
JSON_PROPERTY_VARIABLES |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsCITest() |
SyntheticsCITest(String publicId) |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsCITest |
addDeviceIdsItem(SyntheticsDeviceID deviceIdsItem) |
SyntheticsCITest |
addLocationsItem(String locationsItem) |
SyntheticsCITest |
allowInsecureCertificates(Boolean allowInsecureCertificates) |
SyntheticsCITest |
basicAuth(SyntheticsBasicAuth basicAuth) |
SyntheticsCITest |
body(String body) |
SyntheticsCITest |
bodyType(String bodyType) |
SyntheticsCITest |
cookies(String cookies) |
SyntheticsCITest |
deviceIds(List<SyntheticsDeviceID> deviceIds) |
boolean |
equals(Object o)
Return true if this SyntheticsCITest object is equal to o.
|
SyntheticsCITest |
followRedirects(Boolean followRedirects) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getAllowInsecureCertificates()
Disable certificate checks in API tests.
|
SyntheticsBasicAuth |
getBasicAuth()
Object to handle basic authentication when performing the test.
|
String |
getBody()
Body to include in the test.
|
String |
getBodyType()
Type of the data sent in a Synthetic API test.
|
String |
getCookies()
Cookies for the request.
|
List<SyntheticsDeviceID> |
getDeviceIds()
For browser test, array with the different device IDs used to run the test.
|
Boolean |
getFollowRedirects()
For API HTTP test, whether or not the test should follow redirects.
|
Map<String,String> |
getHeaders()
Headers to include when performing the test.
|
List<String> |
getLocations()
Array of locations used to run the test.
|
SyntheticsCIBatchMetadata |
getMetadata()
Metadata for the Synthetic tests run.
|
String |
getPublicId()
The public ID of the Synthetic test to trigger.
|
SyntheticsTestOptionsRetry |
getRetry()
Object describing the retry strategy to apply to a Synthetic test.
|
String |
getStartUrl()
Starting URL for the browser test.
|
Map<String,String> |
getVariables()
Variables to replace in the test.
|
int |
hashCode() |
SyntheticsCITest |
headers(Map<String,String> headers) |
SyntheticsCITest |
locations(List<String> locations) |
SyntheticsCITest |
metadata(SyntheticsCIBatchMetadata metadata) |
SyntheticsCITest |
publicId(String publicId) |
SyntheticsCITest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SyntheticsCITest |
putHeadersItem(String key,
String headersItem) |
SyntheticsCITest |
putVariablesItem(String key,
String variablesItem) |
SyntheticsCITest |
retry(SyntheticsTestOptionsRetry retry) |
void |
setAllowInsecureCertificates(Boolean allowInsecureCertificates) |
void |
setBasicAuth(SyntheticsBasicAuth basicAuth) |
void |
setBody(String body) |
void |
setBodyType(String bodyType) |
void |
setCookies(String cookies) |
void |
setDeviceIds(List<SyntheticsDeviceID> deviceIds) |
void |
setFollowRedirects(Boolean followRedirects) |
void |
setHeaders(Map<String,String> headers) |
void |
setLocations(List<String> locations) |
void |
setMetadata(SyntheticsCIBatchMetadata metadata) |
void |
setPublicId(String publicId) |
void |
setRetry(SyntheticsTestOptionsRetry retry) |
void |
setStartUrl(String startUrl) |
void |
setVariables(Map<String,String> variables) |
SyntheticsCITest |
startUrl(String startUrl) |
String |
toString() |
SyntheticsCITest |
variables(Map<String,String> variables) |
public boolean unparsed
public static final String JSON_PROPERTY_ALLOW_INSECURE_CERTIFICATES
public static final String JSON_PROPERTY_BASIC_AUTH
public static final String JSON_PROPERTY_BODY
public static final String JSON_PROPERTY_BODY_TYPE
public static final String JSON_PROPERTY_COOKIES
public static final String JSON_PROPERTY_DEVICE_IDS
public static final String JSON_PROPERTY_FOLLOW_REDIRECTS
public static final String JSON_PROPERTY_HEADERS
public static final String JSON_PROPERTY_LOCATIONS
public static final String JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_PUBLIC_ID
public static final String JSON_PROPERTY_RETRY
public static final String JSON_PROPERTY_START_URL
public static final String JSON_PROPERTY_VARIABLES
public SyntheticsCITest()
public SyntheticsCITest(String publicId)
public SyntheticsCITest allowInsecureCertificates(Boolean allowInsecureCertificates)
@Nullable public Boolean getAllowInsecureCertificates()
public void setAllowInsecureCertificates(Boolean allowInsecureCertificates)
public SyntheticsCITest basicAuth(SyntheticsBasicAuth basicAuth)
@Nullable public SyntheticsBasicAuth getBasicAuth()
public void setBasicAuth(SyntheticsBasicAuth basicAuth)
public SyntheticsCITest body(String body)
@Nullable public String getBody()
public void setBody(String body)
public SyntheticsCITest bodyType(String bodyType)
@Nullable public String getBodyType()
public void setBodyType(String bodyType)
public SyntheticsCITest cookies(String cookies)
@Nullable public String getCookies()
public void setCookies(String cookies)
public SyntheticsCITest deviceIds(List<SyntheticsDeviceID> deviceIds)
public SyntheticsCITest addDeviceIdsItem(SyntheticsDeviceID deviceIdsItem)
@Nullable public List<SyntheticsDeviceID> getDeviceIds()
public void setDeviceIds(List<SyntheticsDeviceID> deviceIds)
public SyntheticsCITest followRedirects(Boolean followRedirects)
@Nullable public Boolean getFollowRedirects()
public void setFollowRedirects(Boolean followRedirects)
public SyntheticsCITest headers(Map<String,String> headers)
public SyntheticsCITest putHeadersItem(String key, String headersItem)
@Nullable public Map<String,String> getHeaders()
public SyntheticsCITest locations(List<String> locations)
public SyntheticsCITest addLocationsItem(String locationsItem)
@Nullable public List<String> getLocations()
public SyntheticsCITest metadata(SyntheticsCIBatchMetadata metadata)
@Nullable public SyntheticsCIBatchMetadata getMetadata()
public void setMetadata(SyntheticsCIBatchMetadata metadata)
public SyntheticsCITest publicId(String publicId)
public String getPublicId()
public void setPublicId(String publicId)
public SyntheticsCITest retry(SyntheticsTestOptionsRetry retry)
@Nullable public SyntheticsTestOptionsRetry getRetry()
public void setRetry(SyntheticsTestOptionsRetry retry)
public SyntheticsCITest startUrl(String startUrl)
@Nullable public String getStartUrl()
public void setStartUrl(String startUrl)
public SyntheticsCITest variables(Map<String,String> variables)
public SyntheticsCITest putVariablesItem(String key, String variablesItem)
@Nullable public Map<String,String> getVariables()
public SyntheticsCITest putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.