Package com.datadog.api.client.v2.model
Class SyntheticsTestResultResponseInfo
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestResultResponseInfo
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestResultResponseInfo
extends Object
Details of the response received during the test execution.
-
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 Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRecordsItem(SyntheticsTestResultDnsRecord recordsItem) addRedirectsItem(SyntheticsTestResultRedirect redirectsItem) bodyCompressed(String bodyCompressed) bodyHashes(String bodyHashes) cacheHeaders(Map<String, String> cacheHeaders) compressedMessage(String compressedMessage) booleanReturn true if this SyntheticsTestResultResponseInfo object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getBody()Body of the response.Compressed representation of the response body.Hashes computed over the response body.Size of the response body in bytes.Cache-related response headers.getCdn()CDN provider details inferred from response headers.getClose()WebSocket close frame information for WebSocket test responses.Compressed representation of the response message.Response headers.Health check information returned from a gRPC health check call.HTTP version of the response.Whether the response body was truncated.Whether the response message was truncated.Message received in the response (for WebSocket/TCP/UDP tests).Additional metadata returned with the response.DNS records returned in the response (DNS tests only).Redirect hops encountered while performing the request.HTTP status code of the response.inthashCode()healthcheck(SyntheticsTestResultHealthCheck healthcheck) httpVersion(String httpVersion) isBodyTruncated(Boolean isBodyTruncated) isMessageTruncated(Boolean isMessageTruncated) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putCacheHeadersItem(String key, String cacheHeadersItem) putHeadersItem(String key, Object headersItem) putMetadataItem(String key, String metadataItem) records(List<SyntheticsTestResultDnsRecord> records) redirects(List<SyntheticsTestResultRedirect> redirects) voidvoidsetBodyCompressed(String bodyCompressed) voidsetBodyHashes(String bodyHashes) voidsetBodySize(Long bodySize) voidsetCacheHeaders(Map<String, String> cacheHeaders) voidvoidvoidsetCompressedMessage(String compressedMessage) voidsetHeaders(Map<String, Object> headers) voidsetHealthcheck(SyntheticsTestResultHealthCheck healthcheck) voidsetHttpVersion(String httpVersion) voidsetIsBodyTruncated(Boolean isBodyTruncated) voidsetIsMessageTruncated(Boolean isMessageTruncated) voidsetMessage(String message) voidsetMetadata(Map<String, String> metadata) voidsetRecords(List<SyntheticsTestResultDnsRecord> records) voidsetRedirects(List<SyntheticsTestResultRedirect> redirects) voidsetStatusCode(Long statusCode) statusCode(Long statusCode) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BODY
- See Also:
-
JSON_PROPERTY_BODY_COMPRESSED
- See Also:
-
JSON_PROPERTY_BODY_HASHES
- See Also:
-
JSON_PROPERTY_BODY_SIZE
- See Also:
-
JSON_PROPERTY_CACHE_HEADERS
- See Also:
-
JSON_PROPERTY_CDN
- See Also:
-
JSON_PROPERTY_CLOSE
- See Also:
-
JSON_PROPERTY_COMPRESSED_MESSAGE
- See Also:
-
JSON_PROPERTY_HEADERS
- See Also:
-
JSON_PROPERTY_HEALTHCHECK
- See Also:
-
JSON_PROPERTY_HTTP_VERSION
- See Also:
-
JSON_PROPERTY_IS_BODY_TRUNCATED
- See Also:
-
JSON_PROPERTY_IS_MESSAGE_TRUNCATED
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_RECORDS
- See Also:
-
JSON_PROPERTY_REDIRECTS
- See Also:
-
JSON_PROPERTY_STATUS_CODE
- See Also:
-
-
Constructor Details
-
SyntheticsTestResultResponseInfo
public SyntheticsTestResultResponseInfo()
-
-
Method Details
-
body
-
getBody
Body of the response.- Returns:
- body
-
setBody
-
bodyCompressed
-
getBodyCompressed
Compressed representation of the response body.- Returns:
- bodyCompressed
-
setBodyCompressed
-
bodyHashes
-
getBodyHashes
Hashes computed over the response body.- Returns:
- bodyHashes
-
setBodyHashes
-
bodySize
-
getBodySize
Size of the response body in bytes.- Returns:
- bodySize
-
setBodySize
-
cacheHeaders
-
putCacheHeadersItem
-
getCacheHeaders
Cache-related response headers.- Returns:
- cacheHeaders
-
setCacheHeaders
-
cdn
-
getCdn
CDN provider details inferred from response headers.- Returns:
- cdn
-
setCdn
-
close
-
getClose
WebSocket close frame information for WebSocket test responses.- Returns:
- close
-
setClose
-
compressedMessage
-
getCompressedMessage
Compressed representation of the response message.- Returns:
- compressedMessage
-
setCompressedMessage
-
headers
-
putHeadersItem
-
getHeaders
Response headers.- Returns:
- headers
-
setHeaders
-
healthcheck
-
getHealthcheck
Health check information returned from a gRPC health check call.- Returns:
- healthcheck
-
setHealthcheck
-
httpVersion
-
getHttpVersion
HTTP version of the response.- Returns:
- httpVersion
-
setHttpVersion
-
isBodyTruncated
-
getIsBodyTruncated
Whether the response body was truncated.- Returns:
- isBodyTruncated
-
setIsBodyTruncated
-
isMessageTruncated
-
getIsMessageTruncated
Whether the response message was truncated.- Returns:
- isMessageTruncated
-
setIsMessageTruncated
-
message
-
getMessage
Message received in the response (for WebSocket/TCP/UDP tests).- Returns:
- message
-
setMessage
-
metadata
-
putMetadataItem
-
getMetadata
Additional metadata returned with the response.- Returns:
- metadata
-
setMetadata
-
records
-
addRecordsItem
-
getRecords
DNS records returned in the response (DNS tests only).- Returns:
- records
-
setRecords
-
redirects
-
addRedirectsItem
public SyntheticsTestResultResponseInfo addRedirectsItem(SyntheticsTestResultRedirect redirectsItem) -
getRedirects
Redirect hops encountered while performing the request.- Returns:
- redirects
-
setRedirects
-
statusCode
-
getStatusCode
HTTP status code of the response.- Returns:
- statusCode
-
setStatusCode
-
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:
- SyntheticsTestResultResponseInfo
-
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 SyntheticsTestResultResponseInfo object is equal to o. -
hashCode
public int hashCode() -
toString
-