Interface BatchService
-
- All Implemented Interfaces:
public interface BatchService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceBatchService.WithRawResponseA view of BatchService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract BatchService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract Batchcreate(BatchCreateParams params, RequestOptions requestOptions)Creates and executes a batch from an uploaded file of requests abstract Batchcreate(BatchCreateParams params)Creates and executes a batch from an uploaded file of requests abstract Batchretrieve(BatchRetrieveParams params, RequestOptions requestOptions)Retrieves a batch. abstract Batchretrieve(BatchRetrieveParams params)Retrieves a batch. abstract BatchListPagelist(BatchListParams params, RequestOptions requestOptions)List your organization's batches. abstract BatchListPagelist(BatchListParams params)List your organization's batches. abstract BatchListPagelist()List your organization's batches. BatchListPagelist(RequestOptions requestOptions)List your organization's batches. abstract Batchcancel(BatchCancelParams params, RequestOptions requestOptions)Cancels an in-progress batch. abstract Batchcancel(BatchCancelParams params)Cancels an in-progress batch. -
-
Method Detail
-
withRawResponse
abstract BatchService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
abstract Batch create(BatchCreateParams params, RequestOptions requestOptions)
Creates and executes a batch from an uploaded file of requests
-
create
abstract Batch create(BatchCreateParams params)
Creates and executes a batch from an uploaded file of requests
-
retrieve
abstract Batch retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
Retrieves a batch.
-
retrieve
abstract Batch retrieve(BatchRetrieveParams params)
Retrieves a batch.
-
list
abstract BatchListPage list(BatchListParams params, RequestOptions requestOptions)
List your organization's batches.
-
list
abstract BatchListPage list(BatchListParams params)
List your organization's batches.
-
list
abstract BatchListPage list()
List your organization's batches.
-
list
BatchListPage list(RequestOptions requestOptions)
List your organization's batches.
-
cancel
abstract Batch cancel(BatchCancelParams params, RequestOptions requestOptions)
Cancels an in-progress batch. The batch will be in status
cancellingfor up to 10 minutes, before changing tocancelled, where it will have partial results (if any) available in the output file.
-
cancel
abstract Batch cancel(BatchCancelParams params)
Cancels an in-progress batch. The batch will be in status
cancellingfor up to 10 minutes, before changing tocancelled, where it will have partial results (if any) available in the output file.
-
-
-
-