Class BatchServiceImpl
-
- All Implemented Interfaces:
-
app.knock.api.services.blocking.messages.BatchService
public final class BatchServiceImpl implements BatchService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description BatchService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. List<Message>archive(BatchArchiveParams params, RequestOptions requestOptions)List<BatchGetContentResponse>getContent(BatchGetContentParams params, RequestOptions requestOptions)List<Message>markAsInteracted(BatchMarkAsInteractedParams params, RequestOptions requestOptions)List<Message>markAsRead(BatchMarkAsReadParams params, RequestOptions requestOptions)List<Message>markAsSeen(BatchMarkAsSeenParams params, RequestOptions requestOptions)List<Message>markAsUnread(BatchMarkAsUnreadParams params, RequestOptions requestOptions)List<Message>markAsUnseen(BatchMarkAsUnseenParams params, RequestOptions requestOptions)List<Message>unarchive(BatchUnarchiveParams params, RequestOptions requestOptions)-
Methods inherited from class app.knock.api.services.blocking.messages.BatchService
archive, getContent, markAsInteracted, markAsRead, markAsSeen, markAsUnread, markAsUnseen, unarchive -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
BatchService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
archive
List<Message> archive(BatchArchiveParams params, RequestOptions requestOptions)
-
getContent
List<BatchGetContentResponse> getContent(BatchGetContentParams params, RequestOptions requestOptions)
-
markAsInteracted
List<Message> markAsInteracted(BatchMarkAsInteractedParams params, RequestOptions requestOptions)
-
markAsRead
List<Message> markAsRead(BatchMarkAsReadParams params, RequestOptions requestOptions)
-
markAsSeen
List<Message> markAsSeen(BatchMarkAsSeenParams params, RequestOptions requestOptions)
-
markAsUnread
List<Message> markAsUnread(BatchMarkAsUnreadParams params, RequestOptions requestOptions)
-
markAsUnseen
List<Message> markAsUnseen(BatchMarkAsUnseenParams params, RequestOptions requestOptions)
-
unarchive
List<Message> unarchive(BatchUnarchiveParams params, RequestOptions requestOptions)
-
-
-
-