Package com.datadog.api.client.v2.api
Class StatuspageIntegrationApi
java.lang.Object
com.datadog.api.client.v2.api.StatuspageIntegrationApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class StatuspageIntegrationApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate the Statuspage account.Create the Statuspage account.Create a Statuspage account for your organization.Create the Statuspage account.Create a Statuspage URL setting.Create a Statuspage URL setting.Create a Statuspage URL setting for your organization.Create a Statuspage URL setting.voidDelete the Statuspage account.Delete the Statuspage account.Delete the Statuspage account configured for your organization.Delete the Statuspage account.voiddeleteStatuspageUrlSetting(String statuspageUrlSettingId) Delete a Statuspage URL setting.deleteStatuspageUrlSettingAsync(String statuspageUrlSettingId) Delete a Statuspage URL setting.deleteStatuspageUrlSettingWithHttpInfo(String statuspageUrlSettingId) Delete a single Statuspage URL setting from your organization.deleteStatuspageUrlSettingWithHttpInfoAsync(String statuspageUrlSettingId) Delete a Statuspage URL setting.Get the API client.Get the Statuspage account.Get the Statuspage account.Get the Statuspage account configured for your organization.Get the Statuspage account.Get all Statuspage URL settings.Get all Statuspage URL settings.Get all Statuspage URL settings configured for your organization.Get all Statuspage URL settings.voidsetApiClient(ApiClient apiClient) Set the API client.Update the Statuspage account.Update the Statuspage account.Update the Statuspage account configured for your organization.Update the Statuspage account.updateStatuspageUrlSetting(String statuspageUrlSettingId, StatuspageUrlSettingUpdateRequest body) Update a Statuspage URL setting.updateStatuspageUrlSettingAsync(String statuspageUrlSettingId, StatuspageUrlSettingUpdateRequest body) Update a Statuspage URL setting.updateStatuspageUrlSettingWithHttpInfo(String statuspageUrlSettingId, StatuspageUrlSettingUpdateRequest body) Update a single Statuspage URL setting in your organization.updateStatuspageUrlSettingWithHttpInfoAsync(String statuspageUrlSettingId, StatuspageUrlSettingUpdateRequest body) Update a Statuspage URL setting.
-
Constructor Details
-
StatuspageIntegrationApi
public StatuspageIntegrationApi() -
StatuspageIntegrationApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createStatuspageAccount
public StatuspageAccountResponse createStatuspageAccount(StatuspageAccountCreateRequest body) throws ApiException Create the Statuspage account.See
createStatuspageAccountWithHttpInfo(com.datadog.api.client.v2.model.StatuspageAccountCreateRequest).- Parameters:
body- Statuspage account payload. (required)- Returns:
- StatuspageAccountResponse
- Throws:
ApiException- if fails to make API call
-
createStatuspageAccountAsync
public CompletableFuture<StatuspageAccountResponse> createStatuspageAccountAsync(StatuspageAccountCreateRequest body) Create the Statuspage account.- Parameters:
body- Statuspage account payload. (required)- Returns:
- CompletableFuture<StatuspageAccountResponse>
-
createStatuspageAccountWithHttpInfo
public ApiResponse<StatuspageAccountResponse> createStatuspageAccountWithHttpInfo(StatuspageAccountCreateRequest body) throws ApiException Create a Statuspage account for your organization. Only one Statuspage account can be configured per organization.- Parameters:
body- Statuspage account payload. (required)- Returns:
- ApiResponse<StatuspageAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 CREATED - 400 Bad Request - 403 Forbidden - 409 Conflict - 429 Too many requests -
-
createStatuspageAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<StatuspageAccountResponse>> createStatuspageAccountWithHttpInfoAsync(StatuspageAccountCreateRequest body) Create the Statuspage account.See
createStatuspageAccountWithHttpInfo(com.datadog.api.client.v2.model.StatuspageAccountCreateRequest).- Parameters:
body- Statuspage account payload. (required)- Returns:
- CompletableFuture<ApiResponse<StatuspageAccountResponse>>
-
createStatuspageUrlSetting
public StatuspageUrlSettingResponse createStatuspageUrlSetting(StatuspageUrlSettingCreateRequest body) throws ApiException Create a Statuspage URL setting.- Parameters:
body- Statuspage URL setting payload. (required)- Returns:
- StatuspageUrlSettingResponse
- Throws:
ApiException- if fails to make API call
-
createStatuspageUrlSettingAsync
public CompletableFuture<StatuspageUrlSettingResponse> createStatuspageUrlSettingAsync(StatuspageUrlSettingCreateRequest body) Create a Statuspage URL setting.- Parameters:
body- Statuspage URL setting payload. (required)- Returns:
- CompletableFuture<StatuspageUrlSettingResponse>
-
createStatuspageUrlSettingWithHttpInfo
public ApiResponse<StatuspageUrlSettingResponse> createStatuspageUrlSettingWithHttpInfo(StatuspageUrlSettingCreateRequest body) throws ApiException Create a Statuspage URL setting for your organization.- Parameters:
body- Statuspage URL setting payload. (required)- Returns:
- ApiResponse<StatuspageUrlSettingResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 CREATED - 400 Bad Request - 403 Forbidden - 409 Conflict - 429 Too many requests -
-
createStatuspageUrlSettingWithHttpInfoAsync
public CompletableFuture<ApiResponse<StatuspageUrlSettingResponse>> createStatuspageUrlSettingWithHttpInfoAsync(StatuspageUrlSettingCreateRequest body) Create a Statuspage URL setting.- Parameters:
body- Statuspage URL setting payload. (required)- Returns:
- CompletableFuture<ApiResponse<StatuspageUrlSettingResponse>>
-
deleteStatuspageAccount
Delete the Statuspage account.- Throws:
ApiException- if fails to make API call
-
deleteStatuspageAccountAsync
Delete the Statuspage account.- Returns:
- CompletableFuture
-
deleteStatuspageAccountWithHttpInfo
Delete the Statuspage account configured for your organization.- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteStatuspageAccountWithHttpInfoAsync
Delete the Statuspage account.- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteStatuspageUrlSetting
Delete a Statuspage URL setting.See
deleteStatuspageUrlSettingWithHttpInfo(java.lang.String).- Parameters:
statuspageUrlSettingId- The UUID of the Statuspage URL setting. (required)- Throws:
ApiException- if fails to make API call
-
deleteStatuspageUrlSettingAsync
Delete a Statuspage URL setting.See
deleteStatuspageUrlSettingWithHttpInfoAsync(java.lang.String).- Parameters:
statuspageUrlSettingId- The UUID of the Statuspage URL setting. (required)- Returns:
- CompletableFuture
-
deleteStatuspageUrlSettingWithHttpInfo
public ApiResponse<Void> deleteStatuspageUrlSettingWithHttpInfo(String statuspageUrlSettingId) throws ApiException Delete a single Statuspage URL setting from your organization.- Parameters:
statuspageUrlSettingId- The UUID of the Statuspage URL setting. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteStatuspageUrlSettingWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteStatuspageUrlSettingWithHttpInfoAsync(String statuspageUrlSettingId) Delete a Statuspage URL setting.See
deleteStatuspageUrlSettingWithHttpInfo(java.lang.String).- Parameters:
statuspageUrlSettingId- The UUID of the Statuspage URL setting. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getStatuspageAccount
Get the Statuspage account.- Returns:
- StatuspageAccountResponse
- Throws:
ApiException- if fails to make API call
-
getStatuspageAccountAsync
Get the Statuspage account.- Returns:
- CompletableFuture<StatuspageAccountResponse>
-
getStatuspageAccountWithHttpInfo
public ApiResponse<StatuspageAccountResponse> getStatuspageAccountWithHttpInfo() throws ApiExceptionGet the Statuspage account configured for your organization.- Returns:
- ApiResponse<StatuspageAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
getStatuspageAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<StatuspageAccountResponse>> getStatuspageAccountWithHttpInfoAsync()Get the Statuspage account.- Returns:
- CompletableFuture<ApiResponse<StatuspageAccountResponse>>
-
listStatuspageUrlSettings
Get all Statuspage URL settings.- Returns:
- StatuspageUrlSettingsResponse
- Throws:
ApiException- if fails to make API call
-
listStatuspageUrlSettingsAsync
Get all Statuspage URL settings.- Returns:
- CompletableFuture<StatuspageUrlSettingsResponse>
-
listStatuspageUrlSettingsWithHttpInfo
public ApiResponse<StatuspageUrlSettingsResponse> listStatuspageUrlSettingsWithHttpInfo() throws ApiExceptionGet all Statuspage URL settings configured for your organization.- Returns:
- ApiResponse<StatuspageUrlSettingsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
listStatuspageUrlSettingsWithHttpInfoAsync
public CompletableFuture<ApiResponse<StatuspageUrlSettingsResponse>> listStatuspageUrlSettingsWithHttpInfoAsync()Get all Statuspage URL settings.- Returns:
- CompletableFuture<ApiResponse<StatuspageUrlSettingsResponse>>
-
updateStatuspageAccount
public StatuspageAccountResponse updateStatuspageAccount(StatuspageAccountUpdateRequest body) throws ApiException Update the Statuspage account.See
updateStatuspageAccountWithHttpInfo(com.datadog.api.client.v2.model.StatuspageAccountUpdateRequest).- Parameters:
body- Statuspage account payload. (required)- Returns:
- StatuspageAccountResponse
- Throws:
ApiException- if fails to make API call
-
updateStatuspageAccountAsync
public CompletableFuture<StatuspageAccountResponse> updateStatuspageAccountAsync(StatuspageAccountUpdateRequest body) Update the Statuspage account.- Parameters:
body- Statuspage account payload. (required)- Returns:
- CompletableFuture<StatuspageAccountResponse>
-
updateStatuspageAccountWithHttpInfo
public ApiResponse<StatuspageAccountResponse> updateStatuspageAccountWithHttpInfo(StatuspageAccountUpdateRequest body) throws ApiException Update the Statuspage account configured for your organization.- Parameters:
body- Statuspage account payload. (required)- Returns:
- ApiResponse<StatuspageAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateStatuspageAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<StatuspageAccountResponse>> updateStatuspageAccountWithHttpInfoAsync(StatuspageAccountUpdateRequest body) Update the Statuspage account.See
updateStatuspageAccountWithHttpInfo(com.datadog.api.client.v2.model.StatuspageAccountUpdateRequest).- Parameters:
body- Statuspage account payload. (required)- Returns:
- CompletableFuture<ApiResponse<StatuspageAccountResponse>>
-
updateStatuspageUrlSetting
public StatuspageUrlSettingResponse updateStatuspageUrlSetting(String statuspageUrlSettingId, StatuspageUrlSettingUpdateRequest body) throws ApiException Update a Statuspage URL setting.- Parameters:
statuspageUrlSettingId- The UUID of the Statuspage URL setting. (required)body- Statuspage URL setting payload. (required)- Returns:
- StatuspageUrlSettingResponse
- Throws:
ApiException- if fails to make API call
-
updateStatuspageUrlSettingAsync
public CompletableFuture<StatuspageUrlSettingResponse> updateStatuspageUrlSettingAsync(String statuspageUrlSettingId, StatuspageUrlSettingUpdateRequest body) Update a Statuspage URL setting.- Parameters:
statuspageUrlSettingId- The UUID of the Statuspage URL setting. (required)body- Statuspage URL setting payload. (required)- Returns:
- CompletableFuture<StatuspageUrlSettingResponse>
-
updateStatuspageUrlSettingWithHttpInfo
public ApiResponse<StatuspageUrlSettingResponse> updateStatuspageUrlSettingWithHttpInfo(String statuspageUrlSettingId, StatuspageUrlSettingUpdateRequest body) throws ApiException Update a single Statuspage URL setting in your organization.- Parameters:
statuspageUrlSettingId- The UUID of the Statuspage URL setting. (required)body- Statuspage URL setting payload. (required)- Returns:
- ApiResponse<StatuspageUrlSettingResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 409 Conflict - 429 Too many requests -
-
updateStatuspageUrlSettingWithHttpInfoAsync
public CompletableFuture<ApiResponse<StatuspageUrlSettingResponse>> updateStatuspageUrlSettingWithHttpInfoAsync(String statuspageUrlSettingId, StatuspageUrlSettingUpdateRequest body) Update a Statuspage URL setting.- Parameters:
statuspageUrlSettingId- The UUID of the Statuspage URL setting. (required)body- Statuspage URL setting payload. (required)- Returns:
- CompletableFuture<ApiResponse<StatuspageUrlSettingResponse>>
-