Package com.datadog.api.client.v2.api
Class ServiceNowIntegrationApi
java.lang.Object
com.datadog.api.client.v2.api.ServiceNowIntegrationApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ServiceNowIntegrationApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate ServiceNow template.Create ServiceNow template.Create a new ServiceNow template.Create ServiceNow template.voiddeleteServiceNowTemplate(UUID templateId) Delete ServiceNow template.deleteServiceNowTemplateAsync(UUID templateId) Delete ServiceNow template.deleteServiceNowTemplateWithHttpInfo(UUID templateId) Delete a ServiceNow template by ID.deleteServiceNowTemplateWithHttpInfoAsync(UUID templateId) Delete ServiceNow template.Get the API client.getServiceNowTemplate(UUID templateId) Get ServiceNow template.getServiceNowTemplateAsync(UUID templateId) Get ServiceNow template.getServiceNowTemplateWithHttpInfo(UUID templateId) Get a ServiceNow template by ID.getServiceNowTemplateWithHttpInfoAsync(UUID templateId) Get ServiceNow template.listServiceNowAssignmentGroups(UUID instanceId) List ServiceNow assignment groups.listServiceNowAssignmentGroupsAsync(UUID instanceId) List ServiceNow assignment groups.listServiceNowAssignmentGroupsWithHttpInfo(UUID instanceId) Get all assignment groups for a ServiceNow instance.listServiceNowAssignmentGroupsWithHttpInfoAsync(UUID instanceId) List ServiceNow assignment groups.listServiceNowBusinessServices(UUID instanceId) List ServiceNow business services.listServiceNowBusinessServicesAsync(UUID instanceId) List ServiceNow business services.listServiceNowBusinessServicesWithHttpInfo(UUID instanceId) Get all business services for a ServiceNow instance.listServiceNowBusinessServicesWithHttpInfoAsync(UUID instanceId) List ServiceNow business services.List ServiceNow instances.List ServiceNow instances.Get all ServiceNow instances for the organization.List ServiceNow instances.List ServiceNow templates.List ServiceNow templates.Get all ServiceNow templates for the organization.List ServiceNow templates.listServiceNowUsers(UUID instanceId) List ServiceNow users.listServiceNowUsersAsync(UUID instanceId) List ServiceNow users.listServiceNowUsersWithHttpInfo(UUID instanceId) Get all users for a ServiceNow instance.listServiceNowUsersWithHttpInfoAsync(UUID instanceId) List ServiceNow users.voidsetApiClient(ApiClient apiClient) Set the API client.updateServiceNowTemplate(UUID templateId, ServiceNowTemplateUpdateRequest body) Update ServiceNow template.updateServiceNowTemplateAsync(UUID templateId, ServiceNowTemplateUpdateRequest body) Update ServiceNow template.updateServiceNowTemplateWithHttpInfo(UUID templateId, ServiceNowTemplateUpdateRequest body) Update a ServiceNow template by ID.updateServiceNowTemplateWithHttpInfoAsync(UUID templateId, ServiceNowTemplateUpdateRequest body) Update ServiceNow template.
-
Constructor Details
-
ServiceNowIntegrationApi
public ServiceNowIntegrationApi() -
ServiceNowIntegrationApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createServiceNowTemplate
public ServiceNowTemplateResponse createServiceNowTemplate(ServiceNowTemplateCreateRequest body) throws ApiException Create ServiceNow template.- Parameters:
body- (required)- Returns:
- ServiceNowTemplateResponse
- Throws:
ApiException- if fails to make API call
-
createServiceNowTemplateAsync
public CompletableFuture<ServiceNowTemplateResponse> createServiceNowTemplateAsync(ServiceNowTemplateCreateRequest body) Create ServiceNow template.- Parameters:
body- (required)- Returns:
- CompletableFuture<ServiceNowTemplateResponse>
-
createServiceNowTemplateWithHttpInfo
public ApiResponse<ServiceNowTemplateResponse> createServiceNowTemplateWithHttpInfo(ServiceNowTemplateCreateRequest body) throws ApiException Create a new ServiceNow template.- Parameters:
body- (required)- Returns:
- ApiResponse<ServiceNowTemplateResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 429 Too many requests -
-
createServiceNowTemplateWithHttpInfoAsync
public CompletableFuture<ApiResponse<ServiceNowTemplateResponse>> createServiceNowTemplateWithHttpInfoAsync(ServiceNowTemplateCreateRequest body) Create ServiceNow template.- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<ServiceNowTemplateResponse>>
-
deleteServiceNowTemplate
Delete ServiceNow template.- Parameters:
templateId- The ID of the ServiceNow template to delete (required)- Throws:
ApiException- if fails to make API call
-
deleteServiceNowTemplateAsync
Delete ServiceNow template.See
deleteServiceNowTemplateWithHttpInfoAsync(java.util.UUID).- Parameters:
templateId- The ID of the ServiceNow template to delete (required)- Returns:
- CompletableFuture
-
deleteServiceNowTemplateWithHttpInfo
Delete a ServiceNow template by ID.- Parameters:
templateId- The ID of the ServiceNow template to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests -
-
deleteServiceNowTemplateWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteServiceNowTemplateWithHttpInfoAsync(UUID templateId) Delete ServiceNow template.- Parameters:
templateId- The ID of the ServiceNow template to delete (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getServiceNowTemplate
Get ServiceNow template.- Parameters:
templateId- The ID of the ServiceNow template to retrieve (required)- Returns:
- ServiceNowTemplateResponse
- Throws:
ApiException- if fails to make API call
-
getServiceNowTemplateAsync
Get ServiceNow template.- Parameters:
templateId- The ID of the ServiceNow template to retrieve (required)- Returns:
- CompletableFuture<ServiceNowTemplateResponse>
-
getServiceNowTemplateWithHttpInfo
public ApiResponse<ServiceNowTemplateResponse> getServiceNowTemplateWithHttpInfo(UUID templateId) throws ApiException Get a ServiceNow template by ID.- Parameters:
templateId- The ID of the ServiceNow template to retrieve (required)- Returns:
- ApiResponse<ServiceNowTemplateResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests -
-
getServiceNowTemplateWithHttpInfoAsync
public CompletableFuture<ApiResponse<ServiceNowTemplateResponse>> getServiceNowTemplateWithHttpInfoAsync(UUID templateId) Get ServiceNow template.- Parameters:
templateId- The ID of the ServiceNow template to retrieve (required)- Returns:
- CompletableFuture<ApiResponse<ServiceNowTemplateResponse>>
-
listServiceNowAssignmentGroups
public ServiceNowAssignmentGroupsResponse listServiceNowAssignmentGroups(UUID instanceId) throws ApiException List ServiceNow assignment groups.See
listServiceNowAssignmentGroupsWithHttpInfo(java.util.UUID).- Parameters:
instanceId- The ID of the ServiceNow instance (required)- Returns:
- ServiceNowAssignmentGroupsResponse
- Throws:
ApiException- if fails to make API call
-
listServiceNowAssignmentGroupsAsync
public CompletableFuture<ServiceNowAssignmentGroupsResponse> listServiceNowAssignmentGroupsAsync(UUID instanceId) List ServiceNow assignment groups.See
listServiceNowAssignmentGroupsWithHttpInfoAsync(java.util.UUID).- Parameters:
instanceId- The ID of the ServiceNow instance (required)- Returns:
- CompletableFuture<ServiceNowAssignmentGroupsResponse>
-
listServiceNowAssignmentGroupsWithHttpInfo
public ApiResponse<ServiceNowAssignmentGroupsResponse> listServiceNowAssignmentGroupsWithHttpInfo(UUID instanceId) throws ApiException Get all assignment groups for a ServiceNow instance.- Parameters:
instanceId- The ID of the ServiceNow instance (required)- Returns:
- ApiResponse<ServiceNowAssignmentGroupsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests -
-
listServiceNowAssignmentGroupsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ServiceNowAssignmentGroupsResponse>> listServiceNowAssignmentGroupsWithHttpInfoAsync(UUID instanceId) List ServiceNow assignment groups.See
listServiceNowAssignmentGroupsWithHttpInfo(java.util.UUID).- Parameters:
instanceId- The ID of the ServiceNow instance (required)- Returns:
- CompletableFuture<ApiResponse<ServiceNowAssignmentGroupsResponse>>
-
listServiceNowBusinessServices
public ServiceNowBusinessServicesResponse listServiceNowBusinessServices(UUID instanceId) throws ApiException List ServiceNow business services.See
listServiceNowBusinessServicesWithHttpInfo(java.util.UUID).- Parameters:
instanceId- The ID of the ServiceNow instance (required)- Returns:
- ServiceNowBusinessServicesResponse
- Throws:
ApiException- if fails to make API call
-
listServiceNowBusinessServicesAsync
public CompletableFuture<ServiceNowBusinessServicesResponse> listServiceNowBusinessServicesAsync(UUID instanceId) List ServiceNow business services.See
listServiceNowBusinessServicesWithHttpInfoAsync(java.util.UUID).- Parameters:
instanceId- The ID of the ServiceNow instance (required)- Returns:
- CompletableFuture<ServiceNowBusinessServicesResponse>
-
listServiceNowBusinessServicesWithHttpInfo
public ApiResponse<ServiceNowBusinessServicesResponse> listServiceNowBusinessServicesWithHttpInfo(UUID instanceId) throws ApiException Get all business services for a ServiceNow instance.- Parameters:
instanceId- The ID of the ServiceNow instance (required)- Returns:
- ApiResponse<ServiceNowBusinessServicesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests -
-
listServiceNowBusinessServicesWithHttpInfoAsync
public CompletableFuture<ApiResponse<ServiceNowBusinessServicesResponse>> listServiceNowBusinessServicesWithHttpInfoAsync(UUID instanceId) List ServiceNow business services.See
listServiceNowBusinessServicesWithHttpInfo(java.util.UUID).- Parameters:
instanceId- The ID of the ServiceNow instance (required)- Returns:
- CompletableFuture<ApiResponse<ServiceNowBusinessServicesResponse>>
-
listServiceNowInstances
List ServiceNow instances.- Returns:
- ServiceNowInstancesResponse
- Throws:
ApiException- if fails to make API call
-
listServiceNowInstancesAsync
List ServiceNow instances.- Returns:
- CompletableFuture<ServiceNowInstancesResponse>
-
listServiceNowInstancesWithHttpInfo
public ApiResponse<ServiceNowInstancesResponse> listServiceNowInstancesWithHttpInfo() throws ApiExceptionGet all ServiceNow instances for the organization.- Returns:
- ApiResponse<ServiceNowInstancesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 404 Not Found - 429 Too many requests -
-
listServiceNowInstancesWithHttpInfoAsync
public CompletableFuture<ApiResponse<ServiceNowInstancesResponse>> listServiceNowInstancesWithHttpInfoAsync()List ServiceNow instances.- Returns:
- CompletableFuture<ApiResponse<ServiceNowInstancesResponse>>
-
listServiceNowTemplates
List ServiceNow templates.- Returns:
- ServiceNowTemplatesResponse
- Throws:
ApiException- if fails to make API call
-
listServiceNowTemplatesAsync
List ServiceNow templates.- Returns:
- CompletableFuture<ServiceNowTemplatesResponse>
-
listServiceNowTemplatesWithHttpInfo
public ApiResponse<ServiceNowTemplatesResponse> listServiceNowTemplatesWithHttpInfo() throws ApiExceptionGet all ServiceNow templates for the organization.- Returns:
- ApiResponse<ServiceNowTemplatesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
listServiceNowTemplatesWithHttpInfoAsync
public CompletableFuture<ApiResponse<ServiceNowTemplatesResponse>> listServiceNowTemplatesWithHttpInfoAsync()List ServiceNow templates.- Returns:
- CompletableFuture<ApiResponse<ServiceNowTemplatesResponse>>
-
listServiceNowUsers
List ServiceNow users.- Parameters:
instanceId- The ID of the ServiceNow instance (required)- Returns:
- ServiceNowUsersResponse
- Throws:
ApiException- if fails to make API call
-
listServiceNowUsersAsync
List ServiceNow users.- Parameters:
instanceId- The ID of the ServiceNow instance (required)- Returns:
- CompletableFuture<ServiceNowUsersResponse>
-
listServiceNowUsersWithHttpInfo
public ApiResponse<ServiceNowUsersResponse> listServiceNowUsersWithHttpInfo(UUID instanceId) throws ApiException Get all users for a ServiceNow instance.- Parameters:
instanceId- The ID of the ServiceNow instance (required)- Returns:
- ApiResponse<ServiceNowUsersResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests -
-
listServiceNowUsersWithHttpInfoAsync
public CompletableFuture<ApiResponse<ServiceNowUsersResponse>> listServiceNowUsersWithHttpInfoAsync(UUID instanceId) List ServiceNow users.- Parameters:
instanceId- The ID of the ServiceNow instance (required)- Returns:
- CompletableFuture<ApiResponse<ServiceNowUsersResponse>>
-
updateServiceNowTemplate
public ServiceNowTemplateResponse updateServiceNowTemplate(UUID templateId, ServiceNowTemplateUpdateRequest body) throws ApiException Update ServiceNow template.- Parameters:
templateId- The ID of the ServiceNow template to update (required)body- (required)- Returns:
- ServiceNowTemplateResponse
- Throws:
ApiException- if fails to make API call
-
updateServiceNowTemplateAsync
public CompletableFuture<ServiceNowTemplateResponse> updateServiceNowTemplateAsync(UUID templateId, ServiceNowTemplateUpdateRequest body) Update ServiceNow template.- Parameters:
templateId- The ID of the ServiceNow template to update (required)body- (required)- Returns:
- CompletableFuture<ServiceNowTemplateResponse>
-
updateServiceNowTemplateWithHttpInfo
public ApiResponse<ServiceNowTemplateResponse> updateServiceNowTemplateWithHttpInfo(UUID templateId, ServiceNowTemplateUpdateRequest body) throws ApiException Update a ServiceNow template by ID.- Parameters:
templateId- The ID of the ServiceNow template to update (required)body- (required)- Returns:
- ApiResponse<ServiceNowTemplateResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests -
-
updateServiceNowTemplateWithHttpInfoAsync
public CompletableFuture<ApiResponse<ServiceNowTemplateResponse>> updateServiceNowTemplateWithHttpInfoAsync(UUID templateId, ServiceNowTemplateUpdateRequest body) Update ServiceNow template.- Parameters:
templateId- The ID of the ServiceNow template to update (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<ServiceNowTemplateResponse>>
-