code: public ApiResponse<ApiSuccessResponse> validateImportFileWithHttpInfo(File csvfile) throws ApiException {
          com.squareup.okhttp.Call call = validateImportFileValidateBeforeCall(csvfile, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Validate the import file.
  Performs pre-validation on the specified CSV/XLS file.
  @param csvfile The CSV/XLS file to import. (optional)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body