Interface BatchService.WithRawResponse
-
- All Implemented Interfaces:
public interface BatchService.WithRawResponseA view of BatchService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description HttpResponseFor<MessageBatch>create(BatchCreateParams params)Returns a raw HTTP response for post /v1/messages/batches, but is otherwise the same as BatchService.create.abstract HttpResponseFor<MessageBatch>create(BatchCreateParams params, RequestOptions requestOptions)HttpResponseFor<MessageBatch>retrieve(BatchRetrieveParams params)Returns a raw HTTP response for get /v1/messages/batches/{message_batch_id}, but is otherwise the same as BatchService.retrieve.abstract HttpResponseFor<MessageBatch>retrieve(BatchRetrieveParams params, RequestOptions requestOptions)HttpResponseFor<BatchListPage>list()Returns a raw HTTP response for get /v1/messages/batches, but is otherwise the same as BatchService.list.abstract HttpResponseFor<BatchListPage>list(BatchListParams params, RequestOptions requestOptions)HttpResponseFor<BatchListPage>list(BatchListParams params)HttpResponseFor<BatchListPage>list(RequestOptions requestOptions)HttpResponseFor<DeletedMessageBatch>delete(BatchDeleteParams params)Returns a raw HTTP response for delete /v1/messages/batches/{message_batch_id}, but is otherwise the same as BatchService.delete.abstract HttpResponseFor<DeletedMessageBatch>delete(BatchDeleteParams params, RequestOptions requestOptions)HttpResponseFor<MessageBatch>cancel(BatchCancelParams params)Returns a raw HTTP response for post /v1/messages/batches/{message_batch_id}/cancel, but is otherwise the same as BatchService.cancel.abstract HttpResponseFor<MessageBatch>cancel(BatchCancelParams params, RequestOptions requestOptions)HttpResponseFor<StreamResponse<MessageBatchIndividualResponse>>resultsStreaming(BatchResultsParams params)Returns a raw HTTP response for get /v1/messages/batches/{message_batch_id}/results, but is otherwise the same as BatchService.resultsStreaming.abstract HttpResponseFor<StreamResponse<MessageBatchIndividualResponse>>resultsStreaming(BatchResultsParams params, RequestOptions requestOptions)-
-
Method Detail
-
create
@MustBeClosed() HttpResponseFor<MessageBatch> create(BatchCreateParams params)
Returns a raw HTTP response for
post /v1/messages/batches, but is otherwise the same as BatchService.create.
-
create
@MustBeClosed() abstract HttpResponseFor<MessageBatch> create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponseFor<MessageBatch> retrieve(BatchRetrieveParams params)
Returns a raw HTTP response for
get /v1/messages/batches/{message_batch_id}, but is otherwise the same as BatchService.retrieve.
-
retrieve
@MustBeClosed() abstract HttpResponseFor<MessageBatch> retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<BatchListPage> list()
Returns a raw HTTP response for
get /v1/messages/batches, but is otherwise the same as BatchService.list.
-
list
@MustBeClosed() abstract HttpResponseFor<BatchListPage> list(BatchListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<BatchListPage> list(BatchListParams params)
-
list
@MustBeClosed() HttpResponseFor<BatchListPage> list(RequestOptions requestOptions)
-
delete
@MustBeClosed() HttpResponseFor<DeletedMessageBatch> delete(BatchDeleteParams params)
Returns a raw HTTP response for
delete /v1/messages/batches/{message_batch_id}, but is otherwise the same as BatchService.delete.
-
delete
@MustBeClosed() abstract HttpResponseFor<DeletedMessageBatch> delete(BatchDeleteParams params, RequestOptions requestOptions)
-
cancel
@MustBeClosed() HttpResponseFor<MessageBatch> cancel(BatchCancelParams params)
Returns a raw HTTP response for
post /v1/messages/batches/{message_batch_id}/cancel, but is otherwise the same as BatchService.cancel.
-
cancel
@MustBeClosed() abstract HttpResponseFor<MessageBatch> cancel(BatchCancelParams params, RequestOptions requestOptions)
-
resultsStreaming
@MustBeClosed() HttpResponseFor<StreamResponse<MessageBatchIndividualResponse>> resultsStreaming(BatchResultsParams params)
Returns a raw HTTP response for
get /v1/messages/batches/{message_batch_id}/results, but is otherwise the same as BatchService.resultsStreaming.
-
resultsStreaming
@MustBeClosed() abstract HttpResponseFor<StreamResponse<MessageBatchIndividualResponse>> resultsStreaming(BatchResultsParams params, RequestOptions requestOptions)
-
-
-
-