@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IncidentTeamsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IncidentTeamsApi.GetIncidentTeamOptionalParameters
Manage optional parameters to getIncidentTeam.
|
static class |
IncidentTeamsApi.ListIncidentTeamsOptionalParameters
Manage optional parameters to listIncidentTeams.
|
| Constructor and Description |
|---|
IncidentTeamsApi() |
IncidentTeamsApi(ApiClient apiClient) |
public IncidentTeamsApi()
public IncidentTeamsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API client@Deprecated public IncidentTeamResponse createIncidentTeam(IncidentTeamCreateRequest body) throws ApiException
See createIncidentTeamWithHttpInfo(com.datadog.api.client.v2.model.IncidentTeamCreateRequest).
body - Incident Team Payload. (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<IncidentTeamResponse> createIncidentTeamAsync(IncidentTeamCreateRequest body)
See createIncidentTeamWithHttpInfoAsync(com.datadog.api.client.v2.model.IncidentTeamCreateRequest).
body - Incident Team Payload. (required)@Deprecated public ApiResponse<IncidentTeamResponse> createIncidentTeamWithHttpInfo(IncidentTeamCreateRequest body) throws ApiException
body - Incident Team Payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<IncidentTeamResponse>> createIncidentTeamWithHttpInfoAsync(IncidentTeamCreateRequest body)
See createIncidentTeamWithHttpInfo(com.datadog.api.client.v2.model.IncidentTeamCreateRequest).
body - Incident Team Payload. (required)@Deprecated public void deleteIncidentTeam(String teamId) throws ApiException
teamId - The ID of the incident team. (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<Void> deleteIncidentTeamAsync(String teamId)
teamId - The ID of the incident team. (required)@Deprecated public ApiResponse<Void> deleteIncidentTeamWithHttpInfo(String teamId) throws ApiException
teamId - The ID of the incident team. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<Void>> deleteIncidentTeamWithHttpInfoAsync(String teamId)
teamId - The ID of the incident team. (required)@Deprecated public IncidentTeamResponse getIncidentTeam(String teamId) throws ApiException
teamId - The ID of the incident team. (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<IncidentTeamResponse> getIncidentTeamAsync(String teamId)
teamId - The ID of the incident team. (required)@Deprecated public IncidentTeamResponse getIncidentTeam(String teamId, IncidentTeamsApi.GetIncidentTeamOptionalParameters parameters) throws ApiException
teamId - The ID of the incident team. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call@Deprecated public CompletableFuture<IncidentTeamResponse> getIncidentTeamAsync(String teamId, IncidentTeamsApi.GetIncidentTeamOptionalParameters parameters)
teamId - The ID of the incident team. (required)parameters - Optional parameters for the request.@Deprecated public ApiResponse<IncidentTeamResponse> getIncidentTeamWithHttpInfo(String teamId, IncidentTeamsApi.GetIncidentTeamOptionalParameters parameters) throws ApiException
include[users] query parameter is
provided, the included attribute will contain the users related to these incident teams.teamId - The ID of the incident team. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<IncidentTeamResponse>> getIncidentTeamWithHttpInfoAsync(String teamId, IncidentTeamsApi.GetIncidentTeamOptionalParameters parameters)
teamId - The ID of the incident team. (required)parameters - Optional parameters for the request.@Deprecated public IncidentTeamsResponse listIncidentTeams() throws ApiException
ApiException - if fails to make API call@Deprecated public CompletableFuture<IncidentTeamsResponse> listIncidentTeamsAsync()
@Deprecated public IncidentTeamsResponse listIncidentTeams(IncidentTeamsApi.ListIncidentTeamsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call@Deprecated public CompletableFuture<IncidentTeamsResponse> listIncidentTeamsAsync(IncidentTeamsApi.ListIncidentTeamsOptionalParameters parameters)
parameters - Optional parameters for the request.@Deprecated public ApiResponse<IncidentTeamsResponse> listIncidentTeamsWithHttpInfo(IncidentTeamsApi.ListIncidentTeamsOptionalParameters parameters) throws ApiException
include[users]
query parameter is provided, the included attribute will contain the users related to
these incident teams.parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<IncidentTeamsResponse>> listIncidentTeamsWithHttpInfoAsync(IncidentTeamsApi.ListIncidentTeamsOptionalParameters parameters)
parameters - Optional parameters for the request.@Deprecated public IncidentTeamResponse updateIncidentTeam(String teamId, IncidentTeamUpdateRequest body) throws ApiException
teamId - The ID of the incident team. (required)body - Incident Team Payload. (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<IncidentTeamResponse> updateIncidentTeamAsync(String teamId, IncidentTeamUpdateRequest body)
teamId - The ID of the incident team. (required)body - Incident Team Payload. (required)@Deprecated public ApiResponse<IncidentTeamResponse> updateIncidentTeamWithHttpInfo(String teamId, IncidentTeamUpdateRequest body) throws ApiException
teamId - The ID of the incident team. (required)body - Incident Team Payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<IncidentTeamResponse>> updateIncidentTeamWithHttpInfoAsync(String teamId, IncidentTeamUpdateRequest body)
teamId - The ID of the incident team. (required)body - Incident Team Payload. (required)Copyright © 2024. All rights reserved.