Class FaceMasksApi
java.lang.Object
cz.fidentis.analyst.engines.face.facemasksapi.FaceMasksApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfaceMasksV1FaceMasksPost
(Set<FaceMaskVariant> parts, File objFile, File textureFile) Face Masksokhttp3.Call
faceMasksV1FaceMasksPostAsync
(Set<FaceMaskVariant> parts, File objFile, File textureFile, ApiCallback<List<FaceMask>> _callback) Face Masks (asynchronously)okhttp3.Call
faceMasksV1FaceMasksPostCall
(Set<FaceMaskVariant> parts, File objFile, File textureFile, ApiCallback _callback) Build call for faceMasksV1FaceMasksPostfaceMasksV1FaceMasksPostWithHttpInfo
(Set<FaceMaskVariant> parts, File objFile, File textureFile) Face Masksint
void
setApiClient
(ApiClient apiClient) void
setCustomBaseUrl
(String customBaseUrl) void
setHostIndex
(int hostIndex)
-
Constructor Details
-
FaceMasksApi
public FaceMasksApi() -
FaceMasksApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
faceMasksV1FaceMasksPostCall
public okhttp3.Call faceMasksV1FaceMasksPostCall(Set<FaceMaskVariant> parts, File objFile, File textureFile, ApiCallback _callback) throws ApiException Build call for faceMasksV1FaceMasksPost- Parameters:
parts
- (required)objFile
- (required)textureFile
- (optional)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
faceMasksV1FaceMasksPost
public List<FaceMask> faceMasksV1FaceMasksPost(Set<FaceMaskVariant> parts, File objFile, File textureFile) throws ApiException Face Masks- Parameters:
parts
- (required)objFile
- (required)textureFile
- (optional)- Returns:
- List<FaceMask>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
faceMasksV1FaceMasksPostWithHttpInfo
public ApiResponse<List<FaceMask>> faceMasksV1FaceMasksPostWithHttpInfo(Set<FaceMaskVariant> parts, File objFile, File textureFile) throws ApiException Face Masks- Parameters:
parts
- (required)objFile
- (required)textureFile
- (optional)- Returns:
- ApiResponse<List<FaceMask>>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
faceMasksV1FaceMasksPostAsync
public okhttp3.Call faceMasksV1FaceMasksPostAsync(Set<FaceMaskVariant> parts, File objFile, File textureFile, ApiCallback<List<FaceMask>> _callback) throws ApiException Face Masks (asynchronously)- Parameters:
parts
- (required)objFile
- (required)textureFile
- (optional)_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
-