Class FaceMasksApi

java.lang.Object
cz.fidentis.analyst.engines.face.facemasksapi.FaceMasksApi

public class FaceMasksApi extends Object
  • Constructor Details

    • FaceMasksApi

      public FaceMasksApi()
    • FaceMasksApi

      public FaceMasksApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • 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