Package com.mypurecloud.sdk.v2.api
Class LogCaptureApi
java.lang.Object
com.mypurecloud.sdk.v2.api.LogCaptureApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDisable browser log capture for the userDisable browser log capture for the uservoidDisable browser log capture for the userDisable browser log capture for the usergetDiagnosticsLogcaptureBrowserEntriesDownloadJob(GetDiagnosticsLogcaptureBrowserEntriesDownloadJobRequest request) Gets status of async download executionGets status of async download executionGets status of async download executionGets status of async download executionGet log capture configuration for the userGet log capture configuration for the userGet log capture configuration for the userGet all log capture enabled users for an orgGet all log capture enabled users for an orggetDiagnosticsLogcaptureBrowserUsers(Boolean includeExpired) Get all log capture enabled users for an orggetDiagnosticsLogcaptureBrowserUsersWithHttpInfo(Boolean includeExpired) Get all log capture enabled users for an orgGet log capture configuration for the userpostDiagnosticsLogcaptureBrowserEntriesDownloadJobs(PostDiagnosticsLogcaptureBrowserEntriesDownloadJobsRequest request) Creates an async download executionCreates an async download executionCreates an async download executionCreates an async download executionpostDiagnosticsLogcaptureBrowserEntriesQuery(PostDiagnosticsLogcaptureBrowserEntriesQueryRequest request) Query collected log entries.Query collected log entries.postDiagnosticsLogcaptureBrowserEntriesQuery(String after, String pageSize, LogCaptureQueryRequest body) Query collected log entries.postDiagnosticsLogcaptureBrowserEntriesQueryWithHttpInfo(String after, String pageSize, LogCaptureQueryRequest body) Query collected log entries.Enable log capture for a user or update expirationEnable log capture for a user or update expirationEnable log capture for a user or update expirationEnable log capture for a user or update expiration
-
Constructor Details
-
LogCaptureApi
public LogCaptureApi() -
LogCaptureApi
-
-
Method Details
-
deleteDiagnosticsLogcaptureBrowserUser
Disable browser log capture for the user- Parameters:
userId- The id of the user to disable browser log capture (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteDiagnosticsLogcaptureBrowserUserWithHttpInfo
public ApiResponse<Void> deleteDiagnosticsLogcaptureBrowserUserWithHttpInfo(String userId) throws IOException Disable browser log capture for the user- Parameters:
userId- The id of the user to disable browser log capture (required)- Throws:
IOException- if the request fails to be processed
-
deleteDiagnosticsLogcaptureBrowserUser
public void deleteDiagnosticsLogcaptureBrowserUser(DeleteDiagnosticsLogcaptureBrowserUserRequest request) throws IOException, ApiException Disable browser log capture for the user- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteDiagnosticsLogcaptureBrowserUser
public ApiResponse<Void> deleteDiagnosticsLogcaptureBrowserUser(ApiRequest<Void> request) throws IOException Disable browser log capture for the user- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getDiagnosticsLogcaptureBrowserEntriesDownloadJob
public LogCaptureDownloadExecutionResponse getDiagnosticsLogcaptureBrowserEntriesDownloadJob(String jobId) throws IOException, ApiException Gets status of async download execution- Parameters:
jobId- Job ID (required)- Returns:
- LogCaptureDownloadExecutionResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getDiagnosticsLogcaptureBrowserEntriesDownloadJobWithHttpInfo
public ApiResponse<LogCaptureDownloadExecutionResponse> getDiagnosticsLogcaptureBrowserEntriesDownloadJobWithHttpInfo(String jobId) throws IOException Gets status of async download execution- Parameters:
jobId- Job ID (required)- Returns:
- LogCaptureDownloadExecutionResponse
- Throws:
IOException- if the request fails to be processed
-
getDiagnosticsLogcaptureBrowserEntriesDownloadJob
public LogCaptureDownloadExecutionResponse getDiagnosticsLogcaptureBrowserEntriesDownloadJob(GetDiagnosticsLogcaptureBrowserEntriesDownloadJobRequest request) throws IOException, ApiException Gets status of async download execution- Parameters:
request- The request object- Returns:
- LogCaptureDownloadExecutionResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getDiagnosticsLogcaptureBrowserEntriesDownloadJob
public ApiResponse<LogCaptureDownloadExecutionResponse> getDiagnosticsLogcaptureBrowserEntriesDownloadJob(ApiRequest<Void> request) throws IOException Gets status of async download execution- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getDiagnosticsLogcaptureBrowserUser
public LogCaptureUserConfigurationResponse getDiagnosticsLogcaptureBrowserUser(String userId) throws IOException, ApiException Get log capture configuration for the user- Parameters:
userId- The id of the user to get browser log capture configuration (required)- Returns:
- LogCaptureUserConfigurationResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getDiagnosticsLogcaptureBrowserUserWithHttpInfo
public ApiResponse<LogCaptureUserConfigurationResponse> getDiagnosticsLogcaptureBrowserUserWithHttpInfo(String userId) throws IOException Get log capture configuration for the user- Parameters:
userId- The id of the user to get browser log capture configuration (required)- Returns:
- LogCaptureUserConfigurationResponse
- Throws:
IOException- if the request fails to be processed
-
getDiagnosticsLogcaptureBrowserUser
public LogCaptureUserConfigurationResponse getDiagnosticsLogcaptureBrowserUser(GetDiagnosticsLogcaptureBrowserUserRequest request) throws IOException, ApiException Get log capture configuration for the user- Parameters:
request- The request object- Returns:
- LogCaptureUserConfigurationResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getDiagnosticsLogcaptureBrowserUser
public ApiResponse<LogCaptureUserConfigurationResponse> getDiagnosticsLogcaptureBrowserUser(ApiRequest<Void> request) throws IOException Get log capture configuration for the user- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getDiagnosticsLogcaptureBrowserUsers
public LogCaptureUserConfigurationListing getDiagnosticsLogcaptureBrowserUsers(Boolean includeExpired) throws IOException, ApiException Get all log capture enabled users for an org- Parameters:
includeExpired- Include expired users with log captures still available for search or download (optional, default to false)- Returns:
- LogCaptureUserConfigurationListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getDiagnosticsLogcaptureBrowserUsersWithHttpInfo
public ApiResponse<LogCaptureUserConfigurationListing> getDiagnosticsLogcaptureBrowserUsersWithHttpInfo(Boolean includeExpired) throws IOException Get all log capture enabled users for an org- Parameters:
includeExpired- Include expired users with log captures still available for search or download (optional, default to false)- Returns:
- LogCaptureUserConfigurationListing
- Throws:
IOException- if the request fails to be processed
-
getDiagnosticsLogcaptureBrowserUsers
public LogCaptureUserConfigurationListing getDiagnosticsLogcaptureBrowserUsers(GetDiagnosticsLogcaptureBrowserUsersRequest request) throws IOException, ApiException Get all log capture enabled users for an org- Parameters:
request- The request object- Returns:
- LogCaptureUserConfigurationListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getDiagnosticsLogcaptureBrowserUsers
public ApiResponse<LogCaptureUserConfigurationListing> getDiagnosticsLogcaptureBrowserUsers(ApiRequest<Void> request) throws IOException Get all log capture enabled users for an org- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postDiagnosticsLogcaptureBrowserEntriesDownloadJobs
public LogCaptureDownloadExecutionResponse postDiagnosticsLogcaptureBrowserEntriesDownloadJobs(LogCaptureQueryRequest body) throws IOException, ApiException Creates an async download execution- Parameters:
body- (optional)- Returns:
- LogCaptureDownloadExecutionResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postDiagnosticsLogcaptureBrowserEntriesDownloadJobsWithHttpInfo
public ApiResponse<LogCaptureDownloadExecutionResponse> postDiagnosticsLogcaptureBrowserEntriesDownloadJobsWithHttpInfo(LogCaptureQueryRequest body) throws IOException Creates an async download execution- Parameters:
body- (optional)- Returns:
- LogCaptureDownloadExecutionResponse
- Throws:
IOException- if the request fails to be processed
-
postDiagnosticsLogcaptureBrowserEntriesDownloadJobs
public LogCaptureDownloadExecutionResponse postDiagnosticsLogcaptureBrowserEntriesDownloadJobs(PostDiagnosticsLogcaptureBrowserEntriesDownloadJobsRequest request) throws IOException, ApiException Creates an async download execution- Parameters:
request- The request object- Returns:
- LogCaptureDownloadExecutionResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postDiagnosticsLogcaptureBrowserEntriesDownloadJobs
public ApiResponse<LogCaptureDownloadExecutionResponse> postDiagnosticsLogcaptureBrowserEntriesDownloadJobs(ApiRequest<LogCaptureQueryRequest> request) throws IOException Creates an async download execution- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postDiagnosticsLogcaptureBrowserEntriesQuery
public LogCaptureQueryResponse postDiagnosticsLogcaptureBrowserEntriesQuery(String after, String pageSize, LogCaptureQueryRequest body) throws IOException, ApiException Query collected log entries. It returns a limited amount of records, to get all records use download endpoint.- Parameters:
after- The cursor that points to the end of the set of entities that has been returned. (optional)pageSize- Number of entities to return. Maximum of 200. (optional)body- (optional)- Returns:
- LogCaptureQueryResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postDiagnosticsLogcaptureBrowserEntriesQueryWithHttpInfo
public ApiResponse<LogCaptureQueryResponse> postDiagnosticsLogcaptureBrowserEntriesQueryWithHttpInfo(String after, String pageSize, LogCaptureQueryRequest body) throws IOException Query collected log entries. It returns a limited amount of records, to get all records use download endpoint.- Parameters:
after- The cursor that points to the end of the set of entities that has been returned. (optional)pageSize- Number of entities to return. Maximum of 200. (optional)body- (optional)- Returns:
- LogCaptureQueryResponse
- Throws:
IOException- if the request fails to be processed
-
postDiagnosticsLogcaptureBrowserEntriesQuery
public LogCaptureQueryResponse postDiagnosticsLogcaptureBrowserEntriesQuery(PostDiagnosticsLogcaptureBrowserEntriesQueryRequest request) throws IOException, ApiException Query collected log entries. It returns a limited amount of records, to get all records use download endpoint.- Parameters:
request- The request object- Returns:
- LogCaptureQueryResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postDiagnosticsLogcaptureBrowserEntriesQuery
public ApiResponse<LogCaptureQueryResponse> postDiagnosticsLogcaptureBrowserEntriesQuery(ApiRequest<LogCaptureQueryRequest> request) throws IOException Query collected log entries. It returns a limited amount of records, to get all records use download endpoint.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postDiagnosticsLogcaptureBrowserUser
public LogCaptureUserConfiguration postDiagnosticsLogcaptureBrowserUser(String userId, LogCaptureUserConfiguration body) throws IOException, ApiException Enable log capture for a user or update expiration- Parameters:
userId- The id of the user to enable browser log capture (required)body- (optional)- Returns:
- LogCaptureUserConfiguration
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postDiagnosticsLogcaptureBrowserUserWithHttpInfo
public ApiResponse<LogCaptureUserConfiguration> postDiagnosticsLogcaptureBrowserUserWithHttpInfo(String userId, LogCaptureUserConfiguration body) throws IOException Enable log capture for a user or update expiration- Parameters:
userId- The id of the user to enable browser log capture (required)body- (optional)- Returns:
- LogCaptureUserConfiguration
- Throws:
IOException- if the request fails to be processed
-
postDiagnosticsLogcaptureBrowserUser
public LogCaptureUserConfiguration postDiagnosticsLogcaptureBrowserUser(PostDiagnosticsLogcaptureBrowserUserRequest request) throws IOException, ApiException Enable log capture for a user or update expiration- Parameters:
request- The request object- Returns:
- LogCaptureUserConfiguration
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postDiagnosticsLogcaptureBrowserUser
public ApiResponse<LogCaptureUserConfiguration> postDiagnosticsLogcaptureBrowserUser(ApiRequest<LogCaptureUserConfiguration> request) throws IOException Enable log capture for a user or update expiration- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-