public class DiagnosticsApi extends Object
Modifier and Type | Class and Description |
---|---|
class |
DiagnosticsApi.ListRequestLogsOptions |
Constructor and Description |
---|
DiagnosticsApi() |
DiagnosticsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
deleteRequestLogs()
Deletes the request log files.
|
ApiClient |
getApiClient() |
byte[] |
getRequestLog(String requestLogId)
Gets a request logging log file.
|
DiagnosticsSettingsInformation |
getRequestLogSettings()
Gets the API request logging settings.
|
ResourceInformation |
getResources()
Lists resources for REST version specified
Retrieves the base resources available for the DocuSign REST APIs.
|
ServiceInformation |
getService()
Retrieves the available REST API versions.
|
ApiRequestLogsResult |
listRequestLogs()
Gets the API request logging log files.
|
ApiRequestLogsResult |
listRequestLogs(DiagnosticsApi.ListRequestLogsOptions options)
Gets the API request logging log files.
|
void |
setApiClient(ApiClient apiClient) |
DiagnosticsSettingsInformation |
updateRequestLogSettings(DiagnosticsSettingsInformation diagnosticsSettingsInformation)
Enables or disables API request logging for troubleshooting.
|
public DiagnosticsApi()
public DiagnosticsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void deleteRequestLogs() throws ApiException
ApiException
- if fails to make API callpublic byte[] getRequestLog(String requestLogId) throws ApiException
requestLogId
- (required)ApiException
- if fails to make API callpublic DiagnosticsSettingsInformation getRequestLogSettings() throws ApiException
ApiException
- if fails to make API callpublic ResourceInformation getResources() throws ApiException
ApiException
- if fails to make API callpublic ServiceInformation getService() throws ApiException
ApiException
- if fails to make API callpublic ApiRequestLogsResult listRequestLogs() throws ApiException
ApiException
public ApiRequestLogsResult listRequestLogs(DiagnosticsApi.ListRequestLogsOptions options) throws ApiException
options
- for modifying the method behavior.ApiException
- if fails to make API callpublic DiagnosticsSettingsInformation updateRequestLogSettings(DiagnosticsSettingsInformation diagnosticsSettingsInformation) throws ApiException
diagnosticsSettingsInformation
- (optional)ApiException
- if fails to make API callCopyright © 2020. All rights reserved.