code: public ApiSuccessResponse importFile(File csvfile, Boolean validateBeforeImport) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = importFileWithHttpInfo(csvfile, validateBeforeImport);
          return resp.getData();
      }
docs: Import users.
  Import users in the specified CSV/XLS file.
  @param csvfile The CSV/XLS file to import. (optional)
  @param validateBeforeImport Specifies whether the Provisioning API should validate the file before the actual import takes place. (optional, default to false)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body