@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CiVisibilityGitHubAccountsApi extends Object
| Constructor and Description |
|---|
CiVisibilityGitHubAccountsApi() |
CiVisibilityGitHubAccountsApi(ApiClient apiClient) |
public CiVisibilityGitHubAccountsApi()
public CiVisibilityGitHubAccountsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CIAppGitHubAccountsResponse listCIAppGitHubAccounts() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<CIAppGitHubAccountsResponse> listCIAppGitHubAccountsAsync()
public ApiResponse<CIAppGitHubAccountsResponse> listCIAppGitHubAccountsWithHttpInfo() throws ApiException
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 | - |
public CompletableFuture<ApiResponse<CIAppGitHubAccountsResponse>> listCIAppGitHubAccountsWithHttpInfoAsync()
public CIAppGitHubAccountResponse updateCIAppGitHubAccount(CIAppGitHubAccountUpdateRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CIAppGitHubAccountResponse> updateCIAppGitHubAccountAsync(CIAppGitHubAccountUpdateRequest body)
body - (required)public ApiResponse<CIAppGitHubAccountResponse> updateCIAppGitHubAccountWithHttpInfo(CIAppGitHubAccountUpdateRequest body) throws ApiException
enabled or repository.enabled must be provided. If the
account name matches installations on more than one host, host must be supplied to
disambiguate, otherwise a 409 is returned. Returns a 404 if the CI Visibility GitHub
integration is not enabled for this organization, or if the given account or repository cannot
be found by name.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 | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CIAppGitHubAccountResponse>> updateCIAppGitHubAccountWithHttpInfoAsync(CIAppGitHubAccountUpdateRequest body)
body - (required)Copyright © 2026. All rights reserved.