Package com.datadog.api.client.v2.api
Class OnCallPagingApi
java.lang.Object
com.datadog.api.client.v2.api.OnCallPagingApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OnCallPagingApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacknowledgeOnCallPage(UUID pageId) Acknowledge On-Call Page.acknowledgeOnCallPageAsync(UUID pageId) Acknowledge On-Call Page.Acknowledges an On-Call Page.Acknowledge On-Call Page.Create On-Call Page.Create On-Call Page.Trigger a new On-Call Page.Create On-Call Page.voidescalateOnCallPage(UUID pageId) Escalate On-Call Page.escalateOnCallPageAsync(UUID pageId) Escalate On-Call Page.escalateOnCallPageWithHttpInfo(UUID pageId) Escalates an On-Call Page.Escalate On-Call Page.Get the API client.voidresolveOnCallPage(UUID pageId) Resolve On-Call Page.resolveOnCallPageAsync(UUID pageId) Resolve On-Call Page.resolveOnCallPageWithHttpInfo(UUID pageId) Resolves an On-Call Page.Resolve On-Call Page.voidsetApiClient(ApiClient apiClient) Set the API client.
-
Constructor Details
-
OnCallPagingApi
public OnCallPagingApi() -
OnCallPagingApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
acknowledgeOnCallPage
Acknowledge On-Call Page.- Parameters:
pageId- The page ID. (required)- Throws:
ApiException- if fails to make API call
-
acknowledgeOnCallPageAsync
Acknowledge On-Call Page.- Parameters:
pageId- The page ID. (required)- Returns:
- CompletableFuture
-
acknowledgeOnCallPageWithHttpInfo
Acknowledges an On-Call Page.- Parameters:
pageId- The page ID. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 202 Accepted. - 429 Too many requests -
-
acknowledgeOnCallPageWithHttpInfoAsync
Acknowledge On-Call Page.- Parameters:
pageId- The page ID. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
createOnCallPage
Create On-Call Page.See
createOnCallPageWithHttpInfo(com.datadog.api.client.v2.model.CreatePageRequest).- Parameters:
body- (required)- Returns:
- CreatePageResponse
- Throws:
ApiException- if fails to make API call
-
createOnCallPageAsync
Create On-Call Page.See
createOnCallPageWithHttpInfoAsync(com.datadog.api.client.v2.model.CreatePageRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<CreatePageResponse>
-
createOnCallPageWithHttpInfo
public ApiResponse<CreatePageResponse> createOnCallPageWithHttpInfo(CreatePageRequest body) throws ApiException Trigger a new On-Call Page.- Parameters:
body- (required)- Returns:
- ApiResponse<CreatePageResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK. - 429 Too many requests -
-
createOnCallPageWithHttpInfoAsync
public CompletableFuture<ApiResponse<CreatePageResponse>> createOnCallPageWithHttpInfoAsync(CreatePageRequest body) Create On-Call Page.See
createOnCallPageWithHttpInfo(com.datadog.api.client.v2.model.CreatePageRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<CreatePageResponse>>
-
escalateOnCallPage
Escalate On-Call Page.- Parameters:
pageId- The page ID. (required)- Throws:
ApiException- if fails to make API call
-
escalateOnCallPageAsync
Escalate On-Call Page.- Parameters:
pageId- The page ID. (required)- Returns:
- CompletableFuture
-
escalateOnCallPageWithHttpInfo
Escalates an On-Call Page.- Parameters:
pageId- The page ID. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 202 Accepted. - 429 Too many requests -
-
escalateOnCallPageWithHttpInfoAsync
Escalate On-Call Page.- Parameters:
pageId- The page ID. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
resolveOnCallPage
Resolve On-Call Page.- Parameters:
pageId- The page ID. (required)- Throws:
ApiException- if fails to make API call
-
resolveOnCallPageAsync
Resolve On-Call Page.- Parameters:
pageId- The page ID. (required)- Returns:
- CompletableFuture
-
resolveOnCallPageWithHttpInfo
Resolves an On-Call Page.- Parameters:
pageId- The page ID. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 202 Accepted. - 429 Too many requests -
-
resolveOnCallPageWithHttpInfoAsync
Resolve On-Call Page.- Parameters:
pageId- The page ID. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-