public class ResultsApi
extends java.lang.Object
| Constructor and Description |
|---|
ResultsApi() |
ResultsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
DetectionMethod |
createDetectionMethod(DetectionMethod detectionMethod)
Create Detection Method
Create a new detection method with a name specified in the request body.
|
com.squareup.okhttp.Call |
createDetectionMethodAsync(DetectionMethod detectionMethod,
ApiCallback<DetectionMethod> callback)
Create Detection Method (asynchronously)
Create a new detection method with a name specified in the request body.
|
com.squareup.okhttp.Call |
createDetectionMethodCall(DetectionMethod detectionMethod,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createDetectionMethod
|
ApiResponse<DetectionMethod> |
createDetectionMethodWithHttpInfo(DetectionMethod detectionMethod)
Create Detection Method
Create a new detection method with a name specified in the request body.
|
ManualResultResponse |
createManualResult(ManualResultRequest manualResultRequest)
Create Manual Result
Allows creation of a manual result
|
com.squareup.okhttp.Call |
createManualResultAsync(ManualResultRequest manualResultRequest,
ApiCallback<ManualResultResponse> callback)
Create Manual Result (asynchronously)
Allows creation of a manual result
|
com.squareup.okhttp.Call |
createManualResultCall(ManualResultRequest manualResultRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createManualResult
|
ApiResponse<ManualResultResponse> |
createManualResultWithHttpInfo(ManualResultRequest manualResultRequest)
Create Manual Result
Allows creation of a manual result
|
void |
deleteDetectionMethod(java.lang.Integer detectionMethodId,
java.lang.Integer replacement)
Delete Detection Method.
|
com.squareup.okhttp.Call |
deleteDetectionMethodAsync(java.lang.Integer detectionMethodId,
java.lang.Integer replacement,
ApiCallback<java.lang.Void> callback)
Delete Detection Method.
|
com.squareup.okhttp.Call |
deleteDetectionMethodCall(java.lang.Integer detectionMethodId,
java.lang.Integer replacement,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteDetectionMethod
|
ApiResponse<java.lang.Void> |
deleteDetectionMethodWithHttpInfo(java.lang.Integer detectionMethodId,
java.lang.Integer replacement)
Delete Detection Method.
|
void |
deleteManualResult(java.lang.Integer resultId)
Delete Manual Result
Allows deletion of a manual result
|
com.squareup.okhttp.Call |
deleteManualResultAsync(java.lang.Integer resultId,
ApiCallback<java.lang.Void> callback)
Delete Manual Result (asynchronously)
Allows deletion of a manual result
|
com.squareup.okhttp.Call |
deleteManualResultCall(java.lang.Integer resultId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteManualResult
|
ApiResponse<java.lang.Void> |
deleteManualResultWithHttpInfo(java.lang.Integer resultId)
Delete Manual Result
Allows deletion of a manual result
|
java.util.List<DetectionMethod> |
getAllDetectionMethods()
List Detection Methods
Returns a list of all detection methods.
|
com.squareup.okhttp.Call |
getAllDetectionMethodsAsync(ApiCallback<java.util.List<DetectionMethod>> callback)
List Detection Methods (asynchronously)
Returns a list of all detection methods.
|
com.squareup.okhttp.Call |
getAllDetectionMethodsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAllDetectionMethods
|
ApiResponse<java.util.List<DetectionMethod>> |
getAllDetectionMethodsWithHttpInfo()
List Detection Methods
Returns a list of all detection methods.
|
ApiClient |
getApiClient() |
java.util.List<java.lang.String> |
getManualResultAllowedTools()
Get Allowed Manaul Result Tools
Returns a set of allowed tool names for use when creating a manual result
|
com.squareup.okhttp.Call |
getManualResultAllowedToolsAsync(ApiCallback<java.util.List<java.lang.String>> callback)
Get Allowed Manaul Result Tools (asynchronously)
Returns a set of allowed tool names for use when creating a manual result
|
com.squareup.okhttp.Call |
getManualResultAllowedToolsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getManualResultAllowedTools
|
ApiResponse<java.util.List<java.lang.String>> |
getManualResultAllowedToolsWithHttpInfo()
Get Allowed Manaul Result Tools
Returns a set of allowed tool names for use when creating a manual result
|
void |
modifyManualResultAllowedTool(java.lang.String tool,
java.lang.Boolean allowed)
Modify Allowed Manual Result Tool
Allows user to enable/disabled allowed tools
|
com.squareup.okhttp.Call |
modifyManualResultAllowedToolAsync(java.lang.String tool,
java.lang.Boolean allowed,
ApiCallback<java.lang.Void> callback)
Modify Allowed Manual Result Tool (asynchronously)
Allows user to enable/disabled allowed tools
|
com.squareup.okhttp.Call |
modifyManualResultAllowedToolCall(java.lang.String tool,
java.lang.Boolean allowed,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for modifyManualResultAllowedTool
|
ApiResponse<java.lang.Void> |
modifyManualResultAllowedToolWithHttpInfo(java.lang.String tool,
java.lang.Boolean allowed)
Modify Allowed Manual Result Tool
Allows user to enable/disabled allowed tools
|
DetectionMethod |
renameDetectionMethod(java.lang.Integer detectionMethodId,
DetectionMethod detectionMethod)
Rename Detection Method
Rename an existing detection method with a new name specified in the request body.
|
com.squareup.okhttp.Call |
renameDetectionMethodAsync(java.lang.Integer detectionMethodId,
DetectionMethod detectionMethod,
ApiCallback<DetectionMethod> callback)
Rename Detection Method (asynchronously)
Rename an existing detection method with a new name specified in the request body.
|
com.squareup.okhttp.Call |
renameDetectionMethodCall(java.lang.Integer detectionMethodId,
DetectionMethod detectionMethod,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for renameDetectionMethod
|
ApiResponse<DetectionMethod> |
renameDetectionMethodWithHttpInfo(java.lang.Integer detectionMethodId,
DetectionMethod detectionMethod)
Rename Detection Method
Rename an existing detection method with a new name specified in the request body.
|
ManualResultResponse |
replaceManualResult(java.lang.Integer resultId,
ManualResultRequest manualResultRequest)
Replace Manual Result
Allows a manual result to be replaced with another
|
com.squareup.okhttp.Call |
replaceManualResultAsync(java.lang.Integer resultId,
ManualResultRequest manualResultRequest,
ApiCallback<ManualResultResponse> callback)
Replace Manual Result (asynchronously)
Allows a manual result to be replaced with another
|
com.squareup.okhttp.Call |
replaceManualResultCall(java.lang.Integer resultId,
ManualResultRequest manualResultRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for replaceManualResult
|
ApiResponse<ManualResultResponse> |
replaceManualResultWithHttpInfo(java.lang.Integer resultId,
ManualResultRequest manualResultRequest)
Replace Manual Result
Allows a manual result to be replaced with another
|
void |
setApiClient(ApiClient apiClient) |
public ResultsApi()
public ResultsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createDetectionMethodCall(DetectionMethod detectionMethod, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
detectionMethod - Only the name property needs to be provided. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic DetectionMethod createDetectionMethod(DetectionMethod detectionMethod) throws ApiException
detectionMethod - Only the name property needs to be provided. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DetectionMethod> createDetectionMethodWithHttpInfo(DetectionMethod detectionMethod) throws ApiException
detectionMethod - Only the name property needs to be provided. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createDetectionMethodAsync(DetectionMethod detectionMethod, ApiCallback<DetectionMethod> callback) throws ApiException
detectionMethod - Only the name property needs to be provided. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call createManualResultCall(ManualResultRequest manualResultRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
manualResultRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ManualResultResponse createManualResult(ManualResultRequest manualResultRequest) throws ApiException
manualResultRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ManualResultResponse> createManualResultWithHttpInfo(ManualResultRequest manualResultRequest) throws ApiException
manualResultRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createManualResultAsync(ManualResultRequest manualResultRequest, ApiCallback<ManualResultResponse> callback) throws ApiException
manualResultRequest - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteDetectionMethodCall(java.lang.Integer detectionMethodId,
java.lang.Integer replacement,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
detectionMethodId - (required)replacement - The ID of the replacment detection method. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteDetectionMethod(java.lang.Integer detectionMethodId,
java.lang.Integer replacement)
throws ApiException
detectionMethodId - (required)replacement - The ID of the replacment detection method. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deleteDetectionMethodWithHttpInfo(java.lang.Integer detectionMethodId, java.lang.Integer replacement) throws ApiException
detectionMethodId - (required)replacement - The ID of the replacment detection method. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteDetectionMethodAsync(java.lang.Integer detectionMethodId,
java.lang.Integer replacement,
ApiCallback<java.lang.Void> callback)
throws ApiException
detectionMethodId - (required)replacement - The ID of the replacment detection method. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteManualResultCall(java.lang.Integer resultId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
resultId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteManualResult(java.lang.Integer resultId)
throws ApiException
resultId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deleteManualResultWithHttpInfo(java.lang.Integer resultId) throws ApiException
resultId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteManualResultAsync(java.lang.Integer resultId,
ApiCallback<java.lang.Void> callback)
throws ApiException
resultId - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getAllDetectionMethodsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.util.List<DetectionMethod> getAllDetectionMethods() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.util.List<DetectionMethod>> getAllDetectionMethodsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAllDetectionMethodsAsync(ApiCallback<java.util.List<DetectionMethod>> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getManualResultAllowedToolsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.util.List<java.lang.String> getManualResultAllowedTools()
throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.util.List<java.lang.String>> getManualResultAllowedToolsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getManualResultAllowedToolsAsync(ApiCallback<java.util.List<java.lang.String>> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call modifyManualResultAllowedToolCall(java.lang.String tool,
java.lang.Boolean allowed,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
tool - The name of the tool to modify (optional)allowed - Boolean value representing tool state - enabled/disabled (true/false) (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void modifyManualResultAllowedTool(java.lang.String tool,
java.lang.Boolean allowed)
throws ApiException
tool - The name of the tool to modify (optional)allowed - Boolean value representing tool state - enabled/disabled (true/false) (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> modifyManualResultAllowedToolWithHttpInfo(java.lang.String tool, java.lang.Boolean allowed) throws ApiException
tool - The name of the tool to modify (optional)allowed - Boolean value representing tool state - enabled/disabled (true/false) (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call modifyManualResultAllowedToolAsync(java.lang.String tool,
java.lang.Boolean allowed,
ApiCallback<java.lang.Void> callback)
throws ApiException
tool - The name of the tool to modify (optional)allowed - Boolean value representing tool state - enabled/disabled (true/false) (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call renameDetectionMethodCall(java.lang.Integer detectionMethodId,
DetectionMethod detectionMethod,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
detectionMethodId - (required)detectionMethod - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic DetectionMethod renameDetectionMethod(java.lang.Integer detectionMethodId, DetectionMethod detectionMethod) throws ApiException
detectionMethodId - (required)detectionMethod - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DetectionMethod> renameDetectionMethodWithHttpInfo(java.lang.Integer detectionMethodId, DetectionMethod detectionMethod) throws ApiException
detectionMethodId - (required)detectionMethod - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call renameDetectionMethodAsync(java.lang.Integer detectionMethodId,
DetectionMethod detectionMethod,
ApiCallback<DetectionMethod> callback)
throws ApiException
detectionMethodId - (required)detectionMethod - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call replaceManualResultCall(java.lang.Integer resultId,
ManualResultRequest manualResultRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
resultId - (required)manualResultRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ManualResultResponse replaceManualResult(java.lang.Integer resultId, ManualResultRequest manualResultRequest) throws ApiException
resultId - (required)manualResultRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ManualResultResponse> replaceManualResultWithHttpInfo(java.lang.Integer resultId, ManualResultRequest manualResultRequest) throws ApiException
resultId - (required)manualResultRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call replaceManualResultAsync(java.lang.Integer resultId,
ManualResultRequest manualResultRequest,
ApiCallback<ManualResultResponse> callback)
throws ApiException
resultId - (required)manualResultRequest - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object