Package com.confidentify.client.api
Class DatasetsApi
- java.lang.Object
-
- com.confidentify.client.api.DatasetsApi
-
public class DatasetsApi extends Object
-
-
Constructor Summary
Constructors Constructor Description DatasetsApi()DatasetsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddatasetByIdDelete(String id)Delete datasetokhttp3.CalldatasetByIdDeleteAsync(String id, ApiCallback<Void> _callback)Delete dataset (asynchronously)okhttp3.CalldatasetByIdDeleteCall(String id, ApiCallback _callback)Build call for datasetByIdDeleteApiResponse<Void>datasetByIdDeleteWithHttpInfo(String id)Delete datasetDatasetAlldatasetByIdGet(String id)Get dataset informationokhttp3.CalldatasetByIdGetAsync(String id, ApiCallback<DatasetAll> _callback)Get dataset information (asynchronously)okhttp3.CalldatasetByIdGetCall(String id, ApiCallback _callback)Build call for datasetByIdGetApiResponse<DatasetAll>datasetByIdGetWithHttpInfo(String id)Get dataset informationDatasetListResponsedatasetsGet()Get available datasetsokhttp3.CalldatasetsGetAsync(ApiCallback<DatasetListResponse> _callback)Get available datasets (asynchronously)okhttp3.CalldatasetsGetCall(ApiCallback _callback)Build call for datasetsGetApiResponse<DatasetListResponse>datasetsGetWithHttpInfo()Get available datasetsDatasetCreateResponsedatasetsPost(DatasetCreateRequest datasetCreateRequest)Create datasetokhttp3.CalldatasetsPostAsync(DatasetCreateRequest datasetCreateRequest, ApiCallback<DatasetCreateResponse> _callback)Create dataset (asynchronously)okhttp3.CalldatasetsPostCall(DatasetCreateRequest datasetCreateRequest, ApiCallback _callback)Build call for datasetsPostApiResponse<DatasetCreateResponse>datasetsPostWithHttpInfo(DatasetCreateRequest datasetCreateRequest)Create datasetApiClientgetApiClient()voidingestDocumentsPost(String id, IngestDocumentsRequest ingestDocumentsRequest)Initiate ingestion of data from a list of documents.okhttp3.CallingestDocumentsPostAsync(String id, IngestDocumentsRequest ingestDocumentsRequest, ApiCallback<Void> _callback)Initiate ingestion of data from a list of documents.okhttp3.CallingestDocumentsPostCall(String id, IngestDocumentsRequest ingestDocumentsRequest, ApiCallback _callback)Build call for ingestDocumentsPostApiResponse<Void>ingestDocumentsPostWithHttpInfo(String id, IngestDocumentsRequest ingestDocumentsRequest)Initiate ingestion of data from a list of documents.IngestFileResponseingestFilePost(String id, IngestFileRequest ingestFileRequest)Initiate ingestion of data from file upload.okhttp3.CallingestFilePostAsync(String id, IngestFileRequest ingestFileRequest, ApiCallback<IngestFileResponse> _callback)Initiate ingestion of data from file upload.okhttp3.CallingestFilePostCall(String id, IngestFileRequest ingestFileRequest, ApiCallback _callback)Build call for ingestFilePostApiResponse<IngestFileResponse>ingestFilePostWithHttpInfo(String id, IngestFileRequest ingestFileRequest)Initiate ingestion of data from file upload.voidrecordsPost(String id, RecordsUploadRequest recordsUploadRequest)Upload recordsokhttp3.CallrecordsPostAsync(String id, RecordsUploadRequest recordsUploadRequest, ApiCallback<Void> _callback)Upload records (asynchronously)okhttp3.CallrecordsPostCall(String id, RecordsUploadRequest recordsUploadRequest, ApiCallback _callback)Build call for recordsPostApiResponse<Void>recordsPostWithHttpInfo(String id, RecordsUploadRequest recordsUploadRequest)Upload recordsvoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
DatasetsApi
public DatasetsApi()
-
DatasetsApi
public DatasetsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
datasetByIdDeleteCall
public okhttp3.Call datasetByIdDeleteCall(String id, ApiCallback _callback) throws ApiException
Build call for datasetByIdDelete- Parameters:
id- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
datasetByIdDelete
public void datasetByIdDelete(String id) throws ApiException
Delete dataset- Parameters:
id- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetByIdDeleteWithHttpInfo
public ApiResponse<Void> datasetByIdDeleteWithHttpInfo(String id) throws ApiException
Delete dataset- Parameters:
id- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetByIdDeleteAsync
public okhttp3.Call datasetByIdDeleteAsync(String id, ApiCallback<Void> _callback) throws ApiException
Delete dataset (asynchronously)- Parameters:
id- (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
-
datasetByIdGetCall
public okhttp3.Call datasetByIdGetCall(String id, ApiCallback _callback) throws ApiException
Build call for datasetByIdGet- Parameters:
id- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
datasetByIdGet
public DatasetAll datasetByIdGet(String id) throws ApiException
Get dataset information- Parameters:
id- (required)- Returns:
- DatasetAll
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetByIdGetWithHttpInfo
public ApiResponse<DatasetAll> datasetByIdGetWithHttpInfo(String id) throws ApiException
Get dataset information- Parameters:
id- (required)- Returns:
- ApiResponse<DatasetAll>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetByIdGetAsync
public okhttp3.Call datasetByIdGetAsync(String id, ApiCallback<DatasetAll> _callback) throws ApiException
Get dataset information (asynchronously)- Parameters:
id- (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
-
datasetsGetCall
public okhttp3.Call datasetsGetCall(ApiCallback _callback) throws ApiException
Build call for datasetsGet- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
datasetsGet
public DatasetListResponse datasetsGet() throws ApiException
Get available datasets- Returns:
- DatasetListResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetsGetWithHttpInfo
public ApiResponse<DatasetListResponse> datasetsGetWithHttpInfo() throws ApiException
Get available datasets- Returns:
- ApiResponse<DatasetListResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetsGetAsync
public okhttp3.Call datasetsGetAsync(ApiCallback<DatasetListResponse> _callback) throws ApiException
Get available datasets (asynchronously)- Parameters:
_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
-
datasetsPostCall
public okhttp3.Call datasetsPostCall(DatasetCreateRequest datasetCreateRequest, ApiCallback _callback) throws ApiException
Build call for datasetsPost- Parameters:
datasetCreateRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
datasetsPost
public DatasetCreateResponse datasetsPost(DatasetCreateRequest datasetCreateRequest) throws ApiException
Create dataset- Parameters:
datasetCreateRequest- (required)- Returns:
- DatasetCreateResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetsPostWithHttpInfo
public ApiResponse<DatasetCreateResponse> datasetsPostWithHttpInfo(DatasetCreateRequest datasetCreateRequest) throws ApiException
Create dataset- Parameters:
datasetCreateRequest- (required)- Returns:
- ApiResponse<DatasetCreateResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetsPostAsync
public okhttp3.Call datasetsPostAsync(DatasetCreateRequest datasetCreateRequest, ApiCallback<DatasetCreateResponse> _callback) throws ApiException
Create dataset (asynchronously)- Parameters:
datasetCreateRequest- (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
-
ingestDocumentsPostCall
public okhttp3.Call ingestDocumentsPostCall(String id, IngestDocumentsRequest ingestDocumentsRequest, ApiCallback _callback) throws ApiException
Build call for ingestDocumentsPost- Parameters:
id- (required)ingestDocumentsRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
ingestDocumentsPost
public void ingestDocumentsPost(String id, IngestDocumentsRequest ingestDocumentsRequest) throws ApiException
Initiate ingestion of data from a list of documents. Using this endpoint you can initiate data ingestion based on text documents. Each document will be processed using the `identify` service and the resolved/identified entities will then be added to the dataset as records.- Parameters:
id- (required)ingestDocumentsRequest- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
ingestDocumentsPostWithHttpInfo
public ApiResponse<Void> ingestDocumentsPostWithHttpInfo(String id, IngestDocumentsRequest ingestDocumentsRequest) throws ApiException
Initiate ingestion of data from a list of documents. Using this endpoint you can initiate data ingestion based on text documents. Each document will be processed using the `identify` service and the resolved/identified entities will then be added to the dataset as records.- Parameters:
id- (required)ingestDocumentsRequest- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
ingestDocumentsPostAsync
public okhttp3.Call ingestDocumentsPostAsync(String id, IngestDocumentsRequest ingestDocumentsRequest, ApiCallback<Void> _callback) throws ApiException
Initiate ingestion of data from a list of documents. (asynchronously) Using this endpoint you can initiate data ingestion based on text documents. Each document will be processed using the `identify` service and the resolved/identified entities will then be added to the dataset as records.- Parameters:
id- (required)ingestDocumentsRequest- (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
-
ingestFilePostCall
public okhttp3.Call ingestFilePostCall(String id, IngestFileRequest ingestFileRequest, ApiCallback _callback) throws ApiException
Build call for ingestFilePost- Parameters:
id- (required)ingestFileRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
ingestFilePost
public IngestFileResponse ingestFilePost(String id, IngestFileRequest ingestFileRequest) throws ApiException
Initiate ingestion of data from file upload. Using this endpoint you can initiate data ingestion based on file upload. This endpoint does not accept the actual file for processing, but will validate the request and provide a presigned URL with which the client can continue. The uploaded file will be handled according to the `file_type` provided in the request. In the response of this request, a upload file URL will be provided. The client is expected to `PUT` the file contents towards this URL. Once the file has been uploaded, it will be handled asynchronously.- Parameters:
id- (required)ingestFileRequest- (required)- Returns:
- IngestFileResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
ingestFilePostWithHttpInfo
public ApiResponse<IngestFileResponse> ingestFilePostWithHttpInfo(String id, IngestFileRequest ingestFileRequest) throws ApiException
Initiate ingestion of data from file upload. Using this endpoint you can initiate data ingestion based on file upload. This endpoint does not accept the actual file for processing, but will validate the request and provide a presigned URL with which the client can continue. The uploaded file will be handled according to the `file_type` provided in the request. In the response of this request, a upload file URL will be provided. The client is expected to `PUT` the file contents towards this URL. Once the file has been uploaded, it will be handled asynchronously.- Parameters:
id- (required)ingestFileRequest- (required)- Returns:
- ApiResponse<IngestFileResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
ingestFilePostAsync
public okhttp3.Call ingestFilePostAsync(String id, IngestFileRequest ingestFileRequest, ApiCallback<IngestFileResponse> _callback) throws ApiException
Initiate ingestion of data from file upload. (asynchronously) Using this endpoint you can initiate data ingestion based on file upload. This endpoint does not accept the actual file for processing, but will validate the request and provide a presigned URL with which the client can continue. The uploaded file will be handled according to the `file_type` provided in the request. In the response of this request, a upload file URL will be provided. The client is expected to `PUT` the file contents towards this URL. Once the file has been uploaded, it will be handled asynchronously.- Parameters:
id- (required)ingestFileRequest- (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
-
recordsPostCall
public okhttp3.Call recordsPostCall(String id, RecordsUploadRequest recordsUploadRequest, ApiCallback _callback) throws ApiException
Build call for recordsPost- Parameters:
id- (required)recordsUploadRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
recordsPost
public void recordsPost(String id, RecordsUploadRequest recordsUploadRequest) throws ApiException
Upload records- Parameters:
id- (required)recordsUploadRequest- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
recordsPostWithHttpInfo
public ApiResponse<Void> recordsPostWithHttpInfo(String id, RecordsUploadRequest recordsUploadRequest) throws ApiException
Upload records- Parameters:
id- (required)recordsUploadRequest- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
recordsPostAsync
public okhttp3.Call recordsPostAsync(String id, RecordsUploadRequest recordsUploadRequest, ApiCallback<Void> _callback) throws ApiException
Upload records (asynchronously)- Parameters:
id- (required)recordsUploadRequest- (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
-
-