Package com.datadog.api.client.v1.model
Class SyntheticsTestRequest
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsTestRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestRequest
extends Object
Object describing the Synthetic test request.
-
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 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 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 TypeMethodDescriptionaddCertificateDomainsItem(String certificateDomainsItem) addFilesItem(SyntheticsTestRequestBodyFile filesItem) allowInsecure(Boolean allowInsecure) basicAuth(SyntheticsBasicAuth basicAuth) bodyType(SyntheticsTestRequestBodyType bodyType) callType(SyntheticsTestCallType callType) certificate(SyntheticsTestRequestCertificate certificate) certificateDomains(List<String> certificateDomains) checkCertificateRevocation(Boolean checkCertificateRevocation) compressedJsonDescriptor(String compressedJsonDescriptor) compressedProtoFile(String compressedProtoFile) disableAiaIntermediateFetching(Boolean disableAiaIntermediateFetching) dnsServerPort(SyntheticsTestRequestDNSServerPort dnsServerPort) booleanReturn true if this SyntheticsTestRequest object is equal to o.files(List<SyntheticsTestRequestBodyFile> files) followRedirects(Boolean followRedirects) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Allows loading insecure content for an HTTP request in a multistep test step.Object to handle basic authentication when performing the test.getBody()Body to include in the test.Type of the request body.The type of call to perform.Client certificate to use when performing the test request.By default, the client certificate is applied on the domain of the starting URL for browser tests.Check for certificate revocation.A protobuf JSON descriptor that needs to be gzipped first then base64 encoded.A protobuf file that needs to be gzipped first then base64 encoded.Disable fetching intermediate certificates from AIA.DNS server to use for DNS tests.DNS server port to use for DNS tests.getFiles()Files to be used as part of the request in the test.Specifies whether or not the request follows redirects.getForm()Form to be used as part of the request in the test.Headers to include when performing the test.getHost()Host name to perform the test with.HTTP version to use for a Synthetic test.For SSL tests, whether the test should ignore certificate validation.Whether the message is base64 encoded.The MCP protocol version used by the step.Message to send for UDP or WebSocket tests.Metadata to include when performing the gRPC test.Either the HTTP method/verb to use or a gRPC method available on the service set in theservicefield.Determines whether or not to save the response body.Number of pings to use per test.Persist cookies across redirects.getPort()Port to use when performing the test.getProxy()The proxy to perform the test.getQuery()Query to use for the test.For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.The gRPC service on which you want to perform the gRPC call.Turns on a traceroute probe to discover all gateways along the path to the host destination.Timeout in seconds for the test.Arguments to pass to the MCP tool.The name of the MCP tool to call.getUrl()URL to perform the test with.inthashCode()httpVersion(SyntheticsTestOptionsHTTPVersion httpVersion) ignoreCertificateValidation(Boolean ignoreCertificateValidation) isMessageBase64Encoded(Boolean isMessageBase64Encoded) mcpProtocolVersion(SyntheticsMCPProtocolVersion mcpProtocolVersion) noSavingResponseBody(Boolean noSavingResponseBody) numberOfPackets(Integer numberOfPackets) persistCookies(Boolean persistCookies) proxy(SyntheticsTestRequestProxy proxy) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putFormItem(String key, String formItem) putHeadersItem(String key, String headersItem) putMetadataItem(String key, String metadataItem) putToolArgsItem(String key, Object toolArgsItem) servername(String servername) voidsetAllowInsecure(Boolean allowInsecure) voidsetBasicAuth(SyntheticsBasicAuth basicAuth) voidvoidsetBodyType(SyntheticsTestRequestBodyType bodyType) voidsetCallType(SyntheticsTestCallType callType) voidsetCertificate(SyntheticsTestRequestCertificate certificate) voidsetCertificateDomains(List<String> certificateDomains) voidsetCheckCertificateRevocation(Boolean checkCertificateRevocation) voidsetCompressedJsonDescriptor(String compressedJsonDescriptor) voidsetCompressedProtoFile(String compressedProtoFile) voidsetDisableAiaIntermediateFetching(Boolean disableAiaIntermediateFetching) voidsetDnsServer(String dnsServer) voidsetDnsServerPort(SyntheticsTestRequestDNSServerPort dnsServerPort) voidvoidsetFollowRedirects(Boolean followRedirects) voidvoidsetHeaders(Map<String, String> headers) voidvoidsetHttpVersion(SyntheticsTestOptionsHTTPVersion httpVersion) voidsetIgnoreCertificateValidation(Boolean ignoreCertificateValidation) voidsetIsMessageBase64Encoded(Boolean isMessageBase64Encoded) voidsetMcpProtocolVersion(SyntheticsMCPProtocolVersion mcpProtocolVersion) voidsetMessage(String message) voidsetMetadata(Map<String, String> metadata) voidvoidsetNoSavingResponseBody(Boolean noSavingResponseBody) voidsetNumberOfPackets(Integer numberOfPackets) voidsetPersistCookies(Boolean persistCookies) voidvoidvoidvoidsetServername(String servername) voidsetService(String service) voidsetShouldTrackHops(Boolean shouldTrackHops) voidsetTimeout(Double timeout) voidsetToolArgs(Map<String, Object> toolArgs) voidsetToolName(String toolName) voidshouldTrackHops(Boolean shouldTrackHops) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALLOW_INSECURE
- See Also:
-
JSON_PROPERTY_BASIC_AUTH
- See Also:
-
JSON_PROPERTY_BODY
- See Also:
-
JSON_PROPERTY_BODY_TYPE
- See Also:
-
JSON_PROPERTY_CALL_TYPE
- See Also:
-
JSON_PROPERTY_CERTIFICATE
- See Also:
-
JSON_PROPERTY_CERTIFICATE_DOMAINS
- See Also:
-
JSON_PROPERTY_CHECK_CERTIFICATE_REVOCATION
- See Also:
-
JSON_PROPERTY_COMPRESSED_JSON_DESCRIPTOR
- See Also:
-
JSON_PROPERTY_COMPRESSED_PROTO_FILE
- See Also:
-
JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING
- See Also:
-
JSON_PROPERTY_DNS_SERVER
- See Also:
-
JSON_PROPERTY_DNS_SERVER_PORT
- See Also:
-
JSON_PROPERTY_FILES
- See Also:
-
JSON_PROPERTY_FOLLOW_REDIRECTS
- See Also:
-
JSON_PROPERTY_FORM
- See Also:
-
JSON_PROPERTY_HEADERS
- See Also:
-
JSON_PROPERTY_HOST
- See Also:
-
JSON_PROPERTY_HTTP_VERSION
- See Also:
-
JSON_PROPERTY_IGNORE_CERTIFICATE_VALIDATION
- See Also:
-
JSON_PROPERTY_IS_MESSAGE_BASE64_ENCODED
- See Also:
-
JSON_PROPERTY_MCP_PROTOCOL_VERSION
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_METHOD
- See Also:
-
JSON_PROPERTY_NO_SAVING_RESPONSE_BODY
- See Also:
-
JSON_PROPERTY_NUMBER_OF_PACKETS
- See Also:
-
JSON_PROPERTY_PERSIST_COOKIES
- See Also:
-
JSON_PROPERTY_PORT
- See Also:
-
JSON_PROPERTY_PROXY
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_SERVERNAME
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_SHOULD_TRACK_HOPS
- See Also:
-
JSON_PROPERTY_TIMEOUT
- See Also:
-
JSON_PROPERTY_TOOL_ARGS
- See Also:
-
JSON_PROPERTY_TOOL_NAME
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
-
Constructor Details
-
SyntheticsTestRequest
public SyntheticsTestRequest()
-
-
Method Details
-
allowInsecure
-
getAllowInsecure
Allows loading insecure content for an HTTP request in a multistep test step.- Returns:
- allowInsecure
-
setAllowInsecure
-
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 request body.- Returns:
- bodyType
-
setBodyType
-
callType
-
getCallType
The type of call to perform. Used by gRPC steps (healthcheck,unary) and MCP steps (init,tool_list,tool_call). Valid values depend on the parent step'ssubtype.- Returns:
- callType
-
setCallType
-
certificate
-
getCertificate
Client certificate to use when performing the test request.- Returns:
- certificate
-
setCertificate
-
certificateDomains
-
addCertificateDomainsItem
-
getCertificateDomains
By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them incertificateDomains.- Returns:
- certificateDomains
-
setCertificateDomains
-
checkCertificateRevocation
-
getCheckCertificateRevocation
Check for certificate revocation.- Returns:
- checkCertificateRevocation
-
setCheckCertificateRevocation
-
compressedJsonDescriptor
-
getCompressedJsonDescriptor
A protobuf JSON descriptor that needs to be gzipped first then base64 encoded.- Returns:
- compressedJsonDescriptor
-
setCompressedJsonDescriptor
-
compressedProtoFile
-
getCompressedProtoFile
A protobuf file that needs to be gzipped first then base64 encoded.- Returns:
- compressedProtoFile
-
setCompressedProtoFile
-
disableAiaIntermediateFetching
-
getDisableAiaIntermediateFetching
Disable fetching intermediate certificates from AIA.- Returns:
- disableAiaIntermediateFetching
-
setDisableAiaIntermediateFetching
-
dnsServer
-
getDnsServer
DNS server to use for DNS tests.- Returns:
- dnsServer
-
setDnsServer
-
dnsServerPort
-
getDnsServerPort
DNS server port to use for DNS tests.- Returns:
- dnsServerPort
-
setDnsServerPort
-
files
-
addFilesItem
-
getFiles
Files to be used as part of the request in the test. Only valid ifbodyTypeismultipart/form-data.- Returns:
- files
-
setFiles
-
followRedirects
-
getFollowRedirects
Specifies whether or not the request follows redirects.- Returns:
- followRedirects
-
setFollowRedirects
-
form
-
putFormItem
-
getForm
Form to be used as part of the request in the test. Only valid ifbodyTypeismultipart/form-data.- Returns:
- form
-
setForm
-
headers
-
putHeadersItem
-
getHeaders
Headers to include when performing the test.- Returns:
- headers
-
setHeaders
-
host
-
getHost
Host name to perform the test with.- Returns:
- host
-
setHost
-
httpVersion
-
getHttpVersion
HTTP version to use for a Synthetic test.- Returns:
- httpVersion
-
setHttpVersion
-
ignoreCertificateValidation
-
getIgnoreCertificateValidation
For SSL tests, whether the test should ignore certificate validation.- Returns:
- ignoreCertificateValidation
-
setIgnoreCertificateValidation
-
isMessageBase64Encoded
-
getIsMessageBase64Encoded
Whether the message is base64 encoded.- Returns:
- isMessageBase64Encoded
-
setIsMessageBase64Encoded
-
mcpProtocolVersion
-
getMcpProtocolVersion
The MCP protocol version used by the step. See https://modelcontextprotocol.io/specification.- Returns:
- mcpProtocolVersion
-
setMcpProtocolVersion
-
message
-
getMessage
Message to send for UDP or WebSocket tests.- Returns:
- message
-
setMessage
-
metadata
-
putMetadataItem
-
getMetadata
Metadata to include when performing the gRPC test.- Returns:
- metadata
-
setMetadata
-
method
-
getMethod
Either the HTTP method/verb to use or a gRPC method available on the service set in theservicefield. Required ifsubtypeisHTTPor ifsubtypeisgrpcandcallTypeisunary.- Returns:
- method
-
setMethod
-
noSavingResponseBody
-
getNoSavingResponseBody
Determines whether or not to save the response body.- Returns:
- noSavingResponseBody
-
setNoSavingResponseBody
-
numberOfPackets
-
getNumberOfPackets
Number of pings to use per test. minimum: 0 maximum: 10- Returns:
- numberOfPackets
-
setNumberOfPackets
-
persistCookies
-
getPersistCookies
Persist cookies across redirects.- Returns:
- persistCookies
-
setPersistCookies
-
port
-
getPort
Port to use when performing the test.- Returns:
- port
-
setPort
-
proxy
-
getProxy
The proxy to perform the test.- Returns:
- proxy
-
setProxy
-
query
-
getQuery
Query to use for the test.- Returns:
- query
-
setQuery
-
servername
-
getServername
For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.- Returns:
- servername
-
setServername
-
service
-
getService
The gRPC service on which you want to perform the gRPC call.- Returns:
- service
-
setService
-
shouldTrackHops
-
getShouldTrackHops
Turns on a traceroute probe to discover all gateways along the path to the host destination.- Returns:
- shouldTrackHops
-
setShouldTrackHops
-
timeout
-
getTimeout
Timeout in seconds for the test.- Returns:
- timeout
-
setTimeout
-
toolArgs
-
putToolArgsItem
-
getToolArgs
Arguments to pass to the MCP tool. Free-form object whose shape depends on the tool. Used whencallTypeistool_call.- Returns:
- toolArgs
-
setToolArgs
-
toolName
-
getToolName
The name of the MCP tool to call. Required whencallTypeistool_call.- Returns:
- toolName
-
setToolName
-
url
-
getUrl
URL to perform the test with.- Returns:
- url
-
setUrl
-
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:
- SyntheticsTestRequest
-
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 SyntheticsTestRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-