Package com.datadog.api.client.v2.model
Class SyntheticsFastTestResultDetail
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsFastTestResultDetail
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsFastTestResultDetail
extends Object
Detailed result data for the fast test run. The exact shape of nested fields (
request
, response, assertions, etc.) depends on the test subtype.-
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 Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAssertionsItem(SyntheticsTestResultAssertionResult assertionsItem) addStepsItem(SyntheticsTestResultStep stepsItem) addTracerouteItem(SyntheticsTestResultTracerouteHop tracerouteItem) assertions(List<SyntheticsTestResultAssertionResult> assertions) booleanReturn true if this SyntheticsFastTestResultDetail object is equal to o.failure(SyntheticsTestResultFailure failure) finishedAt(Long finishedAt) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Results of each assertion evaluated during the test.gRPC call type (for example,unary,healthCheck, orreflection).getCert()SSL/TLS certificate information returned from an SSL test.Total duration of the test in milliseconds.Details about the failure of a Synthetic test.Unix timestamp (ms) of when the test finished.getId()The result ID.Whether this result is from an automatic fast retry.Details of the outgoing request made during the test execution.IP address resolved for the target host.Details of the response received during the test execution.The type of run for a Synthetic test result.Unix timestamp (ms) of when the test started.Status of the test result (passedorfailed).getSteps()Step results for multistep API tests.Timing breakdown of the test request phases (for example, DNS, TCP, TLS, first byte).Traceroute hop results, present for ICMP and TCP tests.Unix timestamp (ms) of when the test was triggered.Whether the test was run through a Synthetics tunnel.inthashCode()isFastRetry(Boolean isFastRetry) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putTimingsItem(String key, Object timingsItem) request(SyntheticsTestResultRequestInfo request) resolvedIp(String resolvedIp) response(SyntheticsTestResultResponseInfo response) runType(SyntheticsTestResultRunType runType) voidsetAssertions(List<SyntheticsTestResultAssertionResult> assertions) voidsetCallType(String callType) voidvoidsetDuration(Double duration) voidsetFailure(SyntheticsTestResultFailure failure) voidsetFinishedAt(Long finishedAt) voidvoidsetIsFastRetry(Boolean isFastRetry) voidvoidsetResolvedIp(String resolvedIp) voidsetResponse(SyntheticsTestResultResponseInfo response) voidsetRunType(SyntheticsTestResultRunType runType) voidsetStartedAt(Long startedAt) voidvoidsetSteps(List<SyntheticsTestResultStep> steps) voidsetTimings(Map<String, Object> timings) voidsetTraceroute(List<SyntheticsTestResultTracerouteHop> traceroute) voidsetTriggeredAt(Long triggeredAt) voidsteps(List<SyntheticsTestResultStep> steps) toString()traceroute(List<SyntheticsTestResultTracerouteHop> traceroute) triggeredAt(Long triggeredAt)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSERTIONS
- See Also:
-
JSON_PROPERTY_CALL_TYPE
- See Also:
-
JSON_PROPERTY_CERT
- See Also:
-
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_FAILURE
- See Also:
-
JSON_PROPERTY_FINISHED_AT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_IS_FAST_RETRY
- See Also:
-
JSON_PROPERTY_REQUEST
- See Also:
-
JSON_PROPERTY_RESOLVED_IP
- See Also:
-
JSON_PROPERTY_RESPONSE
- See Also:
-
JSON_PROPERTY_RUN_TYPE
- See Also:
-
JSON_PROPERTY_STARTED_AT
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_STEPS
- See Also:
-
JSON_PROPERTY_TIMINGS
- See Also:
-
JSON_PROPERTY_TRACEROUTE
- See Also:
-
JSON_PROPERTY_TRIGGERED_AT
- See Also:
-
JSON_PROPERTY_TUNNEL
- See Also:
-
-
Constructor Details
-
SyntheticsFastTestResultDetail
public SyntheticsFastTestResultDetail()
-
-
Method Details
-
assertions
public SyntheticsFastTestResultDetail assertions(List<SyntheticsTestResultAssertionResult> assertions) -
addAssertionsItem
public SyntheticsFastTestResultDetail addAssertionsItem(SyntheticsTestResultAssertionResult assertionsItem) -
getAssertions
Results of each assertion evaluated during the test.- Returns:
- assertions
-
setAssertions
-
callType
-
getCallType
gRPC call type (for example,unary,healthCheck, orreflection).- Returns:
- callType
-
setCallType
-
cert
-
getCert
SSL/TLS certificate information returned from an SSL test.- Returns:
- cert
-
setCert
-
duration
-
getDuration
Total duration of the test in milliseconds.- Returns:
- duration
-
setDuration
-
failure
-
getFailure
Details about the failure of a Synthetic test.- Returns:
- failure
-
setFailure
-
finishedAt
-
getFinishedAt
Unix timestamp (ms) of when the test finished.- Returns:
- finishedAt
-
setFinishedAt
-
id
-
getId
The result ID. Set to the fast test UUID because no persistent result ID exists for fast tests.- Returns:
- id
-
setId
-
isFastRetry
-
getIsFastRetry
Whether this result is from an automatic fast retry.- Returns:
- isFastRetry
-
setIsFastRetry
-
request
-
getRequest
Details of the outgoing request made during the test execution.- Returns:
- request
-
setRequest
-
resolvedIp
-
getResolvedIp
IP address resolved for the target host.- Returns:
- resolvedIp
-
setResolvedIp
-
response
-
getResponse
Details of the response received during the test execution.- Returns:
- response
-
setResponse
-
runType
-
getRunType
The type of run for a Synthetic test result.- Returns:
- runType
-
setRunType
-
startedAt
-
getStartedAt
Unix timestamp (ms) of when the test started.- Returns:
- startedAt
-
setStartedAt
-
status
-
getStatus
Status of the test result (passedorfailed).- Returns:
- status
-
setStatus
-
steps
-
addStepsItem
-
getSteps
Step results for multistep API tests.- Returns:
- steps
-
setSteps
-
timings
-
putTimingsItem
-
getTimings
Timing breakdown of the test request phases (for example, DNS, TCP, TLS, first byte).- Returns:
- timings
-
setTimings
-
traceroute
public SyntheticsFastTestResultDetail traceroute(List<SyntheticsTestResultTracerouteHop> traceroute) -
addTracerouteItem
public SyntheticsFastTestResultDetail addTracerouteItem(SyntheticsTestResultTracerouteHop tracerouteItem) -
getTraceroute
Traceroute hop results, present for ICMP and TCP tests.- Returns:
- traceroute
-
setTraceroute
-
triggeredAt
-
getTriggeredAt
Unix timestamp (ms) of when the test was triggered.- Returns:
- triggeredAt
-
setTriggeredAt
-
tunnel
-
getTunnel
Whether the test was run through a Synthetics tunnel.- Returns:
- tunnel
-
setTunnel
-
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:
- SyntheticsFastTestResultDetail
-
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 SyntheticsFastTestResultDetail object is equal to o. -
hashCode
public int hashCode() -
toString
-