@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SeatsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SeatsApi.GetSeatsUsersOptionalParameters
Manage optional parameters to getSeatsUsers.
|
| Constructor and Description |
|---|
SeatsApi() |
SeatsApi(ApiClient apiClient) |
public SeatsApi()
public SeatsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic AssignSeatsUserResponse assignSeatsUser(AssignSeatsUserRequest body) throws ApiException
See assignSeatsUserWithHttpInfo(com.datadog.api.client.v2.model.AssignSeatsUserRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<AssignSeatsUserResponse> assignSeatsUserAsync(AssignSeatsUserRequest body)
See assignSeatsUserWithHttpInfoAsync(com.datadog.api.client.v2.model.AssignSeatsUserRequest).
body - (required)public ApiResponse<AssignSeatsUserResponse> assignSeatsUserWithHttpInfo(AssignSeatsUserRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad Request | - |
| 422 | Unprocessable Entity | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AssignSeatsUserResponse>> assignSeatsUserWithHttpInfoAsync(AssignSeatsUserRequest body)
See assignSeatsUserWithHttpInfo(com.datadog.api.client.v2.model.AssignSeatsUserRequest).
body - (required)public SeatUserDataArray getSeatsUsers(String productCode) throws ApiException
productCode - The product code for which to retrieve seat users. (required)ApiException - if fails to make API callpublic CompletableFuture<SeatUserDataArray> getSeatsUsersAsync(String productCode)
productCode - The product code for which to retrieve seat users. (required)public SeatUserDataArray getSeatsUsers(String productCode, SeatsApi.GetSeatsUsersOptionalParameters parameters) throws ApiException
productCode - The product code for which to retrieve seat users. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SeatUserDataArray> getSeatsUsersAsync(String productCode, SeatsApi.GetSeatsUsersOptionalParameters parameters)
productCode - The product code for which to retrieve seat users. (required)parameters - Optional parameters for the request.public ApiResponse<SeatUserDataArray> getSeatsUsersWithHttpInfo(String productCode, SeatsApi.GetSeatsUsersOptionalParameters parameters) throws ApiException
productCode - The product code for which to retrieve seat users. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 422 | Unprocessable Entity | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SeatUserDataArray>> getSeatsUsersWithHttpInfoAsync(String productCode, SeatsApi.GetSeatsUsersOptionalParameters parameters)
productCode - The product code for which to retrieve seat users. (required)parameters - Optional parameters for the request.public void unassignSeatsUser(UnassignSeatsUserRequest body) throws ApiException
See unassignSeatsUserWithHttpInfo(com.datadog.api.client.v2.model.UnassignSeatsUserRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> unassignSeatsUserAsync(UnassignSeatsUserRequest body)
See unassignSeatsUserWithHttpInfoAsync(com.datadog.api.client.v2.model.UnassignSeatsUserRequest).
body - (required)public ApiResponse<Void> unassignSeatsUserWithHttpInfo(UnassignSeatsUserRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 422 | Unprocessable Entity | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> unassignSeatsUserWithHttpInfoAsync(UnassignSeatsUserRequest body)
See unassignSeatsUserWithHttpInfo(com.datadog.api.client.v2.model.UnassignSeatsUserRequest).
body - (required)Copyright © 2026. All rights reserved.