public interface BatchService
| Modifier and Type | Method and Description |
|---|---|
BatchResponse |
cancelBatch(BatchRequest request)
Cancels a batch request.
|
BatchResponse |
cancelBatch(String batchId)
Cancels a batch request by ID.
|
BatchResponse |
createBatch(BatchCreateParams batchCreateParams)
Creates a batch request.
|
QueryBatchResponse |
listBatches(QueryBatchRequest queryBatchRequest)
Lists all batches.
|
BatchResponse |
retrieveBatch(BatchRequest request)
Retrieves a specific batch.
|
BatchResponse |
retrieveBatch(String batchId)
Retrieves a specific batch by ID.
|
BatchResponse createBatch(BatchCreateParams batchCreateParams)
batchCreateParams - the batch creation parametersBatchResponse retrieveBatch(BatchRequest request)
request - the batch request containing the batch IDBatchResponse retrieveBatch(String batchId)
batchId - the ID of the batch to retrieveQueryBatchResponse listBatches(QueryBatchRequest queryBatchRequest)
queryBatchRequest - the query parameters for listing batchesBatchResponse cancelBatch(BatchRequest request)
request - the batch request containing the batch IDBatchResponse cancelBatch(String batchId)
batchId - the ID of the batch to cancelCopyright © 2025. All rights reserved.