Class PredictLandmarksApi
java.lang.Object
cz.fidentis.analyst.engines.face.landmarksapi.PredictLandmarksApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
setApiClient
(ApiClient apiClient) void
setCustomBaseUrl
(String customBaseUrl) void
setHostIndex
(int hostIndex) Upload Fileokhttp3.Call
uploadFileV1PredictLandmarksPostAsync
(File _file, ApiCallback<Map<String, List<BigDecimal>>> _callback) Upload File (asynchronously)okhttp3.Call
uploadFileV1PredictLandmarksPostCall
(File _file, ApiCallback _callback) Build call for uploadFileV1PredictLandmarksPostUpload File
-
Constructor Details
-
PredictLandmarksApi
public PredictLandmarksApi() -
PredictLandmarksApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
uploadFileV1PredictLandmarksPostCall
public okhttp3.Call uploadFileV1PredictLandmarksPostCall(File _file, ApiCallback _callback) throws ApiException Build call for uploadFileV1PredictLandmarksPost- Parameters:
_file
- (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
uploadFileV1PredictLandmarksPost
public Map<String,List<BigDecimal>> uploadFileV1PredictLandmarksPost(File _file) throws ApiException Upload File- Parameters:
_file
- (required)- Returns:
- Map<String, List<BigDecimal>>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
uploadFileV1PredictLandmarksPostWithHttpInfo
public ApiResponse<Map<String,List<BigDecimal>>> uploadFileV1PredictLandmarksPostWithHttpInfo(File _file) throws ApiException Upload File- Parameters:
_file
- (required)- Returns:
- ApiResponse<Map<String, List<BigDecimal>>>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
uploadFileV1PredictLandmarksPostAsync
public okhttp3.Call uploadFileV1PredictLandmarksPostAsync(File _file, ApiCallback<Map<String, List<BigDecimal>>> _callback) throws ApiExceptionUpload File (asynchronously)- Parameters:
_file
- (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-