Package com.datadog.api.client.v2.api
Class RumTeamsOwnershipApi
java.lang.Object
com.datadog.api.client.v2.api.RumTeamsOwnershipApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RumTeamsOwnershipApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to listTeamsOwnershipMappings.static classManage optional parameters to listTeamsOwnershipRules. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a teams ownership mapping.Create a teams ownership mapping.Bulk create and remove teams ownership mappings.Bulk create and remove teams ownership mappings.Add and remove teams ownership mappings for your organization in a single atomic request, following the JSON:API atomic operations extension.Bulk create and remove teams ownership mappings.Create a teams ownership mapping for your organization.Create a teams ownership mapping.voidDelete a teams ownership mapping.Delete a teams ownership mapping.Delete a specific teams ownership mapping from your organization.Delete a teams ownership mapping.Get the API client.Get a teams ownership mapping.Get a teams ownership mapping.Get a specific teams ownership mapping from your organization.Get a teams ownership mapping.List teams ownership mappings.listTeamsOwnershipMappings(RumTeamsOwnershipApi.ListTeamsOwnershipMappingsOptionalParameters parameters) List teams ownership mappings.List teams ownership mappings.listTeamsOwnershipMappingsAsync(RumTeamsOwnershipApi.ListTeamsOwnershipMappingsOptionalParameters parameters) List teams ownership mappings.listTeamsOwnershipMappingsWithHttpInfo(RumTeamsOwnershipApi.ListTeamsOwnershipMappingsOptionalParameters parameters) Get the list of teams ownership mappings for your organization, optionally filtered.listTeamsOwnershipMappingsWithHttpInfoAsync(RumTeamsOwnershipApi.ListTeamsOwnershipMappingsOptionalParameters parameters) List teams ownership mappings.List teams ownership rules.List teams ownership rules.List teams ownership rules.listTeamsOwnershipRulesAsync(RumTeamsOwnershipApi.ListTeamsOwnershipRulesOptionalParameters parameters) List teams ownership rules.listTeamsOwnershipRulesWithHttpInfo(RumTeamsOwnershipApi.ListTeamsOwnershipRulesOptionalParameters parameters) Get the list of teams ownership rules for your organization, optionally filtered.listTeamsOwnershipRulesWithHttpInfoAsync(RumTeamsOwnershipApi.ListTeamsOwnershipRulesOptionalParameters parameters) List teams ownership rules.voidsetApiClient(ApiClient apiClient) Set the API client.
-
Constructor Details
-
RumTeamsOwnershipApi
public RumTeamsOwnershipApi() -
RumTeamsOwnershipApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createTeamsOwnershipMapping
public TeamsOwnershipMappingResponse createTeamsOwnershipMapping(TeamsOwnershipMappingCreateRequest body) throws ApiException Create a teams ownership mapping.- Parameters:
body- The definition of the teams ownership mapping to create. (required)- Returns:
- TeamsOwnershipMappingResponse
- Throws:
ApiException- if fails to make API call
-
createTeamsOwnershipMappingAsync
public CompletableFuture<TeamsOwnershipMappingResponse> createTeamsOwnershipMappingAsync(TeamsOwnershipMappingCreateRequest body) Create a teams ownership mapping.- Parameters:
body- The definition of the teams ownership mapping to create. (required)- Returns:
- CompletableFuture<TeamsOwnershipMappingResponse>
-
createTeamsOwnershipMappingWithHttpInfo
public ApiResponse<TeamsOwnershipMappingResponse> createTeamsOwnershipMappingWithHttpInfo(TeamsOwnershipMappingCreateRequest body) throws ApiException Create a teams ownership mapping for your organization. Returns the teams ownership mapping object from the request body when the request is successful.- Parameters:
body- The definition of the teams ownership mapping to create. (required)- Returns:
- ApiResponse<TeamsOwnershipMappingResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 403 Not Authorized - 429 Too many requests -
-
createTeamsOwnershipMappingWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamsOwnershipMappingResponse>> createTeamsOwnershipMappingWithHttpInfoAsync(TeamsOwnershipMappingCreateRequest body) Create a teams ownership mapping.- Parameters:
body- The definition of the teams ownership mapping to create. (required)- Returns:
- CompletableFuture<ApiResponse<TeamsOwnershipMappingResponse>>
-
createTeamsOwnershipMappingsBatch
public TeamsOwnershipMappingBatchResponse createTeamsOwnershipMappingsBatch(TeamsOwnershipMappingBatchRequest body) throws ApiException Bulk create and remove teams ownership mappings.- Parameters:
body- The list of add and remove operations to apply atomically. (required)- Returns:
- TeamsOwnershipMappingBatchResponse
- Throws:
ApiException- if fails to make API call
-
createTeamsOwnershipMappingsBatchAsync
public CompletableFuture<TeamsOwnershipMappingBatchResponse> createTeamsOwnershipMappingsBatchAsync(TeamsOwnershipMappingBatchRequest body) Bulk create and remove teams ownership mappings.- Parameters:
body- The list of add and remove operations to apply atomically. (required)- Returns:
- CompletableFuture<TeamsOwnershipMappingBatchResponse>
-
createTeamsOwnershipMappingsBatchWithHttpInfo
public ApiResponse<TeamsOwnershipMappingBatchResponse> createTeamsOwnershipMappingsBatchWithHttpInfo(TeamsOwnershipMappingBatchRequest body) throws ApiException Add and remove teams ownership mappings for your organization in a single atomic request, following the JSON:API atomic operations extension. Operations are applied together: if any operation is invalid, none of the operations are applied. Add operations are processed before remove operations, so results may not appear in the same order as the request.- Parameters:
body- The list of add and remove operations to apply atomically. (required)- Returns:
- ApiResponse<TeamsOwnershipMappingBatchResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request. One or more operations failed validation, so none of the operations were applied. Errors are returned in the JSON:API atomic operations error format rather than the standard error response. - 403 Not Authorized - 404 Not Found. One or more mappings requested for removal do not exist. - 409 Conflict. One or more mappings requested for creation already exist. - 429 Too many requests -
-
createTeamsOwnershipMappingsBatchWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamsOwnershipMappingBatchResponse>> createTeamsOwnershipMappingsBatchWithHttpInfoAsync(TeamsOwnershipMappingBatchRequest body) Bulk create and remove teams ownership mappings.- Parameters:
body- The list of add and remove operations to apply atomically. (required)- Returns:
- CompletableFuture<ApiResponse<TeamsOwnershipMappingBatchResponse>>
-
deleteTeamsOwnershipMapping
Delete a teams ownership mapping.See
deleteTeamsOwnershipMappingWithHttpInfo(java.lang.String).- Parameters:
id- The ID of the teams ownership mapping. (required)- Throws:
ApiException- if fails to make API call
-
deleteTeamsOwnershipMappingAsync
Delete a teams ownership mapping.See
deleteTeamsOwnershipMappingWithHttpInfoAsync(java.lang.String).- Parameters:
id- The ID of the teams ownership mapping. (required)- Returns:
- CompletableFuture
-
deleteTeamsOwnershipMappingWithHttpInfo
Delete a specific teams ownership mapping from your organization.- Parameters:
id- The ID of the teams ownership mapping. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
deleteTeamsOwnershipMappingWithHttpInfoAsync
Delete a teams ownership mapping.See
deleteTeamsOwnershipMappingWithHttpInfo(java.lang.String).- Parameters:
id- The ID of the teams ownership mapping. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getTeamsOwnershipMapping
Get a teams ownership mapping.- Parameters:
id- The ID of the teams ownership mapping. (required)- Returns:
- TeamsOwnershipMappingResponse
- Throws:
ApiException- if fails to make API call
-
getTeamsOwnershipMappingAsync
Get a teams ownership mapping.See
getTeamsOwnershipMappingWithHttpInfoAsync(java.lang.String).- Parameters:
id- The ID of the teams ownership mapping. (required)- Returns:
- CompletableFuture<TeamsOwnershipMappingResponse>
-
getTeamsOwnershipMappingWithHttpInfo
public ApiResponse<TeamsOwnershipMappingResponse> getTeamsOwnershipMappingWithHttpInfo(String id) throws ApiException Get a specific teams ownership mapping from your organization.- Parameters:
id- The ID of the teams ownership mapping. (required)- Returns:
- ApiResponse<TeamsOwnershipMappingResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
getTeamsOwnershipMappingWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamsOwnershipMappingResponse>> getTeamsOwnershipMappingWithHttpInfoAsync(String id) Get a teams ownership mapping.- Parameters:
id- The ID of the teams ownership mapping. (required)- Returns:
- CompletableFuture<ApiResponse<TeamsOwnershipMappingResponse>>
-
listTeamsOwnershipMappings
List teams ownership mappings.- Returns:
- TeamsOwnershipMappingsResponse
- Throws:
ApiException- if fails to make API call
-
listTeamsOwnershipMappingsAsync
List teams ownership mappings.- Returns:
- CompletableFuture<TeamsOwnershipMappingsResponse>
-
listTeamsOwnershipMappings
public TeamsOwnershipMappingsResponse listTeamsOwnershipMappings(RumTeamsOwnershipApi.ListTeamsOwnershipMappingsOptionalParameters parameters) throws ApiException List teams ownership mappings.- Parameters:
parameters- Optional parameters for the request.- Returns:
- TeamsOwnershipMappingsResponse
- Throws:
ApiException- if fails to make API call
-
listTeamsOwnershipMappingsAsync
public CompletableFuture<TeamsOwnershipMappingsResponse> listTeamsOwnershipMappingsAsync(RumTeamsOwnershipApi.ListTeamsOwnershipMappingsOptionalParameters parameters) List teams ownership mappings.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<TeamsOwnershipMappingsResponse>
-
listTeamsOwnershipMappingsWithHttpInfo
public ApiResponse<TeamsOwnershipMappingsResponse> listTeamsOwnershipMappingsWithHttpInfo(RumTeamsOwnershipApi.ListTeamsOwnershipMappingsOptionalParameters parameters) throws ApiException Get the list of teams ownership mappings for your organization, optionally filtered.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<TeamsOwnershipMappingsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Not Authorized - 429 Too many requests -
-
listTeamsOwnershipMappingsWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamsOwnershipMappingsResponse>> listTeamsOwnershipMappingsWithHttpInfoAsync(RumTeamsOwnershipApi.ListTeamsOwnershipMappingsOptionalParameters parameters) List teams ownership mappings.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<TeamsOwnershipMappingsResponse>>
-
listTeamsOwnershipRules
List teams ownership rules.- Returns:
- TeamsOwnershipRulesResponse
- Throws:
ApiException- if fails to make API call
-
listTeamsOwnershipRulesAsync
List teams ownership rules.- Returns:
- CompletableFuture<TeamsOwnershipRulesResponse>
-
listTeamsOwnershipRules
public TeamsOwnershipRulesResponse listTeamsOwnershipRules(RumTeamsOwnershipApi.ListTeamsOwnershipRulesOptionalParameters parameters) throws ApiException List teams ownership rules.- Parameters:
parameters- Optional parameters for the request.- Returns:
- TeamsOwnershipRulesResponse
- Throws:
ApiException- if fails to make API call
-
listTeamsOwnershipRulesAsync
public CompletableFuture<TeamsOwnershipRulesResponse> listTeamsOwnershipRulesAsync(RumTeamsOwnershipApi.ListTeamsOwnershipRulesOptionalParameters parameters) List teams ownership rules.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<TeamsOwnershipRulesResponse>
-
listTeamsOwnershipRulesWithHttpInfo
public ApiResponse<TeamsOwnershipRulesResponse> listTeamsOwnershipRulesWithHttpInfo(RumTeamsOwnershipApi.ListTeamsOwnershipRulesOptionalParameters parameters) throws ApiException Get the list of teams ownership rules for your organization, optionally filtered. Rules group the underlying mappings byview_name,application_id,service, andmatch_type, collapsing every team that owns the same view into a single entry.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<TeamsOwnershipRulesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Not Authorized - 429 Too many requests -
-
listTeamsOwnershipRulesWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamsOwnershipRulesResponse>> listTeamsOwnershipRulesWithHttpInfoAsync(RumTeamsOwnershipApi.ListTeamsOwnershipRulesOptionalParameters parameters) List teams ownership rules.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<TeamsOwnershipRulesResponse>>
-