Interface BatchServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface BatchServiceAsync.WithRawResponseA view of BatchServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
archive
@MustBeClosed() CompletableFuture<HttpResponseFor<List<Message>>> archive(BatchArchiveParams params)
Returns a raw HTTP response for
post /v1/messages/batch/archived, but is otherwise the same as BatchServiceAsync.archive.
-
archive
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<List<Message>>> archive(BatchArchiveParams params, RequestOptions requestOptions)
-
getContent
@MustBeClosed() CompletableFuture<HttpResponseFor<List<BatchGetContentResponse>>> getContent(BatchGetContentParams params)
Returns a raw HTTP response for
get /v1/messages/batch/content, but is otherwise the same as BatchServiceAsync.getContent.
-
getContent
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<List<BatchGetContentResponse>>> getContent(BatchGetContentParams params, RequestOptions requestOptions)
-
markAsInteracted
@MustBeClosed() CompletableFuture<HttpResponseFor<List<Message>>> markAsInteracted(BatchMarkAsInteractedParams params)
Returns a raw HTTP response for
post /v1/messages/batch/interacted, but is otherwise the same as BatchServiceAsync.markAsInteracted.
-
markAsInteracted
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<List<Message>>> markAsInteracted(BatchMarkAsInteractedParams params, RequestOptions requestOptions)
-
markAsRead
@MustBeClosed() CompletableFuture<HttpResponseFor<List<Message>>> markAsRead(BatchMarkAsReadParams params)
Returns a raw HTTP response for
post /v1/messages/batch/read, but is otherwise the same as BatchServiceAsync.markAsRead.
-
markAsRead
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<List<Message>>> markAsRead(BatchMarkAsReadParams params, RequestOptions requestOptions)
-
markAsSeen
@MustBeClosed() CompletableFuture<HttpResponseFor<List<Message>>> markAsSeen(BatchMarkAsSeenParams params)
Returns a raw HTTP response for
post /v1/messages/batch/seen, but is otherwise the same as BatchServiceAsync.markAsSeen.
-
markAsSeen
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<List<Message>>> markAsSeen(BatchMarkAsSeenParams params, RequestOptions requestOptions)
-
markAsUnread
@MustBeClosed() CompletableFuture<HttpResponseFor<List<Message>>> markAsUnread(BatchMarkAsUnreadParams params)
Returns a raw HTTP response for
post /v1/messages/batch/unread, but is otherwise the same as BatchServiceAsync.markAsUnread.
-
markAsUnread
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<List<Message>>> markAsUnread(BatchMarkAsUnreadParams params, RequestOptions requestOptions)
-
markAsUnseen
@MustBeClosed() CompletableFuture<HttpResponseFor<List<Message>>> markAsUnseen(BatchMarkAsUnseenParams params)
Returns a raw HTTP response for
post /v1/messages/batch/unseen, but is otherwise the same as BatchServiceAsync.markAsUnseen.
-
markAsUnseen
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<List<Message>>> markAsUnseen(BatchMarkAsUnseenParams params, RequestOptions requestOptions)
-
unarchive
@MustBeClosed() CompletableFuture<HttpResponseFor<List<Message>>> unarchive(BatchUnarchiveParams params)
Returns a raw HTTP response for
post /v1/messages/batch/unarchived, but is otherwise the same as BatchServiceAsync.unarchive.
-
unarchive
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<List<Message>>> unarchive(BatchUnarchiveParams params, RequestOptions requestOptions)
-
-
-
-