Interface BatchServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface BatchServiceAsync.WithRawResponse
A view of BatchServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract CompletableFuture<HttpResponseFor<Batch>>
create(BatchCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /batches
, but is otherwise the same as BatchServiceAsync.create.abstract CompletableFuture<HttpResponseFor<Batch>>
create(BatchCreateParams params)
Returns a raw HTTP response for post /batches
, but is otherwise the same as BatchServiceAsync.create.abstract CompletableFuture<HttpResponseFor<Batch>>
retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /batches/{batch_id}
, but is otherwise the same as BatchServiceAsync.retrieve.abstract CompletableFuture<HttpResponseFor<Batch>>
retrieve(BatchRetrieveParams params)
Returns a raw HTTP response for get /batches/{batch_id}
, but is otherwise the same as BatchServiceAsync.retrieve.abstract CompletableFuture<HttpResponseFor<BatchListPageAsync>>
list(BatchListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /batches
, but is otherwise the same as BatchServiceAsync.list.abstract CompletableFuture<HttpResponseFor<BatchListPageAsync>>
list(BatchListParams params)
Returns a raw HTTP response for get /batches
, but is otherwise the same as BatchServiceAsync.list.abstract CompletableFuture<HttpResponseFor<BatchListPageAsync>>
list()
Returns a raw HTTP response for get /batches
, but is otherwise the same as BatchServiceAsync.list.CompletableFuture<HttpResponseFor<BatchListPageAsync>>
list(RequestOptions requestOptions)
Returns a raw HTTP response for get /batches
, but is otherwise the same as BatchServiceAsync.list.abstract CompletableFuture<HttpResponseFor<Batch>>
cancel(BatchCancelParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /batches/{batch_id}/cancel
, but is otherwise the same as BatchServiceAsync.cancel.abstract CompletableFuture<HttpResponseFor<Batch>>
cancel(BatchCancelParams params)
Returns a raw HTTP response for post /batches/{batch_id}/cancel
, but is otherwise the same as BatchServiceAsync.cancel.-
-
Method Detail
-
create
abstract CompletableFuture<HttpResponseFor<Batch>> create(BatchCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /batches
, but is otherwise the same as BatchServiceAsync.create.
-
create
abstract CompletableFuture<HttpResponseFor<Batch>> create(BatchCreateParams params)
Returns a raw HTTP response for
post /batches
, but is otherwise the same as BatchServiceAsync.create.
-
retrieve
abstract CompletableFuture<HttpResponseFor<Batch>> retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /batches/{batch_id}
, but is otherwise the same as BatchServiceAsync.retrieve.
-
retrieve
abstract CompletableFuture<HttpResponseFor<Batch>> retrieve(BatchRetrieveParams params)
Returns a raw HTTP response for
get /batches/{batch_id}
, but is otherwise the same as BatchServiceAsync.retrieve.
-
list
abstract CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(BatchListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /batches
, but is otherwise the same as BatchServiceAsync.list.
-
list
abstract CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(BatchListParams params)
Returns a raw HTTP response for
get /batches
, but is otherwise the same as BatchServiceAsync.list.
-
list
abstract CompletableFuture<HttpResponseFor<BatchListPageAsync>> list()
Returns a raw HTTP response for
get /batches
, but is otherwise the same as BatchServiceAsync.list.
-
list
CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(RequestOptions requestOptions)
Returns a raw HTTP response for
get /batches
, but is otherwise the same as BatchServiceAsync.list.
-
cancel
abstract CompletableFuture<HttpResponseFor<Batch>> cancel(BatchCancelParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /batches/{batch_id}/cancel
, but is otherwise the same as BatchServiceAsync.cancel.
-
cancel
abstract CompletableFuture<HttpResponseFor<Batch>> cancel(BatchCancelParams params)
Returns a raw HTTP response for
post /batches/{batch_id}/cancel
, but is otherwise the same as BatchServiceAsync.cancel.
-
-
-
-