@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CodeCoverageApi extends Object
| Constructor and Description |
|---|
CodeCoverageApi() |
CodeCoverageApi(ApiClient apiClient) |
public CodeCoverageApi()
public CodeCoverageApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CoverageSummaryResponse getCodeCoverageBranchSummary(BranchCoverageSummaryRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CoverageSummaryResponse> getCodeCoverageBranchSummaryAsync(BranchCoverageSummaryRequest body)
body - (required)public ApiResponse<CoverageSummaryResponse> getCodeCoverageBranchSummaryWithHttpInfo(BranchCoverageSummaryRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
| 500 | Internal server error | - |
public CompletableFuture<ApiResponse<CoverageSummaryResponse>> getCodeCoverageBranchSummaryWithHttpInfoAsync(BranchCoverageSummaryRequest body)
body - (required)public CoverageSummaryResponse getCodeCoverageCommitSummary(CommitCoverageSummaryRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CoverageSummaryResponse> getCodeCoverageCommitSummaryAsync(CommitCoverageSummaryRequest body)
body - (required)public ApiResponse<CoverageSummaryResponse> getCodeCoverageCommitSummaryWithHttpInfo(CommitCoverageSummaryRequest body) throws ApiException
The commit SHA must be a 40-character hexadecimal string (SHA-1 hash).
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
| 500 | Internal server error | - |
public CompletableFuture<ApiResponse<CoverageSummaryResponse>> getCodeCoverageCommitSummaryWithHttpInfoAsync(CommitCoverageSummaryRequest body)
body - (required)Copyright © 2026. All rights reserved.