@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MicrosoftTeamsIntegrationApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MicrosoftTeamsIntegrationApi.ListTenantBasedHandlesOptionalParameters
Manage optional parameters to listTenantBasedHandles.
|
static class |
MicrosoftTeamsIntegrationApi.ListWorkflowsWebhookHandlesOptionalParameters
Manage optional parameters to listWorkflowsWebhookHandles.
|
| Constructor and Description |
|---|
MicrosoftTeamsIntegrationApi() |
MicrosoftTeamsIntegrationApi(ApiClient apiClient) |
public MicrosoftTeamsIntegrationApi()
public MicrosoftTeamsIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic MicrosoftTeamsTenantBasedHandleResponse createTenantBasedHandle(MicrosoftTeamsCreateTenantBasedHandleRequest body) throws ApiException
body - Tenant-based handle payload. (required)ApiException - if fails to make API callpublic CompletableFuture<MicrosoftTeamsTenantBasedHandleResponse> createTenantBasedHandleAsync(MicrosoftTeamsCreateTenantBasedHandleRequest body)
body - Tenant-based handle payload. (required)public ApiResponse<MicrosoftTeamsTenantBasedHandleResponse> createTenantBasedHandleWithHttpInfo(MicrosoftTeamsCreateTenantBasedHandleRequest body) throws ApiException
body - Tenant-based handle payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 412 | Failed Precondition | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<MicrosoftTeamsTenantBasedHandleResponse>> createTenantBasedHandleWithHttpInfoAsync(MicrosoftTeamsCreateTenantBasedHandleRequest body)
body - Tenant-based handle payload. (required)public MicrosoftTeamsWorkflowsWebhookHandleResponse createWorkflowsWebhookHandle(MicrosoftTeamsCreateWorkflowsWebhookHandleRequest body) throws ApiException
body - Workflows Webhook handle payload. (required)ApiException - if fails to make API callpublic CompletableFuture<MicrosoftTeamsWorkflowsWebhookHandleResponse> createWorkflowsWebhookHandleAsync(MicrosoftTeamsCreateWorkflowsWebhookHandleRequest body)
body - Workflows Webhook handle payload. (required)public ApiResponse<MicrosoftTeamsWorkflowsWebhookHandleResponse> createWorkflowsWebhookHandleWithHttpInfo(MicrosoftTeamsCreateWorkflowsWebhookHandleRequest body) throws ApiException
body - Workflows Webhook handle payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 412 | Failed Precondition | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<MicrosoftTeamsWorkflowsWebhookHandleResponse>> createWorkflowsWebhookHandleWithHttpInfoAsync(MicrosoftTeamsCreateWorkflowsWebhookHandleRequest body)
body - Workflows Webhook handle payload. (required)public void deleteTenantBasedHandle(String handleId) throws ApiException
handleId - Your tenant-based handle id. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteTenantBasedHandleAsync(String handleId)
See deleteTenantBasedHandleWithHttpInfoAsync(java.lang.String).
handleId - Your tenant-based handle id. (required)public ApiResponse<Void> deleteTenantBasedHandleWithHttpInfo(String handleId) throws ApiException
handleId - Your tenant-based handle id. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 412 | Failed Precondition | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteTenantBasedHandleWithHttpInfoAsync(String handleId)
handleId - Your tenant-based handle id. (required)public void deleteWorkflowsWebhookHandle(String handleId) throws ApiException
See deleteWorkflowsWebhookHandleWithHttpInfo(java.lang.String).
handleId - Your Workflows webhook handle id. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteWorkflowsWebhookHandleAsync(String handleId)
See deleteWorkflowsWebhookHandleWithHttpInfoAsync(java.lang.String).
handleId - Your Workflows webhook handle id. (required)public ApiResponse<Void> deleteWorkflowsWebhookHandleWithHttpInfo(String handleId) throws ApiException
handleId - Your Workflows webhook handle id. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 412 | Failed Precondition | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteWorkflowsWebhookHandleWithHttpInfoAsync(String handleId)
See deleteWorkflowsWebhookHandleWithHttpInfo(java.lang.String).
handleId - Your Workflows webhook handle id. (required)public MicrosoftTeamsGetChannelByNameResponse getChannelByName(String tenantName, String teamName, String channelName) throws ApiException
See getChannelByNameWithHttpInfo(java.lang.String, java.lang.String, java.lang.String).
tenantName - Your tenant name. (required)teamName - Your team name. (required)channelName - Your channel name. (required)ApiException - if fails to make API callpublic CompletableFuture<MicrosoftTeamsGetChannelByNameResponse> getChannelByNameAsync(String tenantName, String teamName, String channelName)
See getChannelByNameWithHttpInfoAsync(java.lang.String, java.lang.String, java.lang.String).
tenantName - Your tenant name. (required)teamName - Your team name. (required)channelName - Your channel name. (required)public ApiResponse<MicrosoftTeamsGetChannelByNameResponse> getChannelByNameWithHttpInfo(String tenantName, String teamName, String channelName) throws ApiException
tenantName - Your tenant name. (required)teamName - Your team name. (required)channelName - Your channel name. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<MicrosoftTeamsGetChannelByNameResponse>> getChannelByNameWithHttpInfoAsync(String tenantName, String teamName, String channelName)
See getChannelByNameWithHttpInfo(java.lang.String, java.lang.String, java.lang.String).
tenantName - Your tenant name. (required)teamName - Your team name. (required)channelName - Your channel name. (required)public MicrosoftTeamsTenantBasedHandleResponse getTenantBasedHandle(String handleId) throws ApiException
handleId - Your tenant-based handle id. (required)ApiException - if fails to make API callpublic CompletableFuture<MicrosoftTeamsTenantBasedHandleResponse> getTenantBasedHandleAsync(String handleId)
See getTenantBasedHandleWithHttpInfoAsync(java.lang.String).
handleId - Your tenant-based handle id. (required)public ApiResponse<MicrosoftTeamsTenantBasedHandleResponse> getTenantBasedHandleWithHttpInfo(String handleId) throws ApiException
handleId - Your tenant-based handle id. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 412 | Failed Precondition | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<MicrosoftTeamsTenantBasedHandleResponse>> getTenantBasedHandleWithHttpInfoAsync(String handleId)
handleId - Your tenant-based handle id. (required)public MicrosoftTeamsWorkflowsWebhookHandleResponse getWorkflowsWebhookHandle(String handleId) throws ApiException
See getWorkflowsWebhookHandleWithHttpInfo(java.lang.String).
handleId - Your Workflows webhook handle id. (required)ApiException - if fails to make API callpublic CompletableFuture<MicrosoftTeamsWorkflowsWebhookHandleResponse> getWorkflowsWebhookHandleAsync(String handleId)
See getWorkflowsWebhookHandleWithHttpInfoAsync(java.lang.String).
handleId - Your Workflows webhook handle id. (required)public ApiResponse<MicrosoftTeamsWorkflowsWebhookHandleResponse> getWorkflowsWebhookHandleWithHttpInfo(String handleId) throws ApiException
handleId - Your Workflows webhook handle id. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 412 | Failed Precondition | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<MicrosoftTeamsWorkflowsWebhookHandleResponse>> getWorkflowsWebhookHandleWithHttpInfoAsync(String handleId)
See getWorkflowsWebhookHandleWithHttpInfo(java.lang.String).
handleId - Your Workflows webhook handle id. (required)public MicrosoftTeamsTenantBasedHandlesResponse listTenantBasedHandles() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<MicrosoftTeamsTenantBasedHandlesResponse> listTenantBasedHandlesAsync()
public MicrosoftTeamsTenantBasedHandlesResponse listTenantBasedHandles(MicrosoftTeamsIntegrationApi.ListTenantBasedHandlesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<MicrosoftTeamsTenantBasedHandlesResponse> listTenantBasedHandlesAsync(MicrosoftTeamsIntegrationApi.ListTenantBasedHandlesOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<MicrosoftTeamsTenantBasedHandlesResponse> listTenantBasedHandlesWithHttpInfo(MicrosoftTeamsIntegrationApi.ListTenantBasedHandlesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 412 | Failed Precondition | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<MicrosoftTeamsTenantBasedHandlesResponse>> listTenantBasedHandlesWithHttpInfoAsync(MicrosoftTeamsIntegrationApi.ListTenantBasedHandlesOptionalParameters parameters)
parameters - Optional parameters for the request.public MicrosoftTeamsWorkflowsWebhookHandlesResponse listWorkflowsWebhookHandles() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<MicrosoftTeamsWorkflowsWebhookHandlesResponse> listWorkflowsWebhookHandlesAsync()
public MicrosoftTeamsWorkflowsWebhookHandlesResponse listWorkflowsWebhookHandles(MicrosoftTeamsIntegrationApi.ListWorkflowsWebhookHandlesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<MicrosoftTeamsWorkflowsWebhookHandlesResponse> listWorkflowsWebhookHandlesAsync(MicrosoftTeamsIntegrationApi.ListWorkflowsWebhookHandlesOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<MicrosoftTeamsWorkflowsWebhookHandlesResponse> listWorkflowsWebhookHandlesWithHttpInfo(MicrosoftTeamsIntegrationApi.ListWorkflowsWebhookHandlesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 412 | Failed Precondition | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<MicrosoftTeamsWorkflowsWebhookHandlesResponse>> listWorkflowsWebhookHandlesWithHttpInfoAsync(MicrosoftTeamsIntegrationApi.ListWorkflowsWebhookHandlesOptionalParameters parameters)
parameters - Optional parameters for the request.public MicrosoftTeamsTenantBasedHandleResponse updateTenantBasedHandle(String handleId, MicrosoftTeamsUpdateTenantBasedHandleRequest body) throws ApiException
handleId - Your tenant-based handle id. (required)body - Tenant-based handle payload. (required)ApiException - if fails to make API callpublic CompletableFuture<MicrosoftTeamsTenantBasedHandleResponse> updateTenantBasedHandleAsync(String handleId, MicrosoftTeamsUpdateTenantBasedHandleRequest body)
handleId - Your tenant-based handle id. (required)body - Tenant-based handle payload. (required)public ApiResponse<MicrosoftTeamsTenantBasedHandleResponse> updateTenantBasedHandleWithHttpInfo(String handleId, MicrosoftTeamsUpdateTenantBasedHandleRequest body) throws ApiException
handleId - Your tenant-based handle id. (required)body - Tenant-based handle payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 412 | Failed Precondition | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<MicrosoftTeamsTenantBasedHandleResponse>> updateTenantBasedHandleWithHttpInfoAsync(String handleId, MicrosoftTeamsUpdateTenantBasedHandleRequest body)
handleId - Your tenant-based handle id. (required)body - Tenant-based handle payload. (required)public MicrosoftTeamsWorkflowsWebhookHandleResponse updateWorkflowsWebhookHandle(String handleId, MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest body) throws ApiException
handleId - Your Workflows webhook handle id. (required)body - Workflows Webhook handle payload. (required)ApiException - if fails to make API callpublic CompletableFuture<MicrosoftTeamsWorkflowsWebhookHandleResponse> updateWorkflowsWebhookHandleAsync(String handleId, MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest body)
handleId - Your Workflows webhook handle id. (required)body - Workflows Webhook handle payload. (required)public ApiResponse<MicrosoftTeamsWorkflowsWebhookHandleResponse> updateWorkflowsWebhookHandleWithHttpInfo(String handleId, MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest body) throws ApiException
handleId - Your Workflows webhook handle id. (required)body - Workflows Webhook handle payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 412 | Failed Precondition | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<MicrosoftTeamsWorkflowsWebhookHandleResponse>> updateWorkflowsWebhookHandleWithHttpInfoAsync(String handleId, MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest body)
handleId - Your Workflows webhook handle id. (required)body - Workflows Webhook handle payload. (required)Copyright © 2025. All rights reserved.