Uses of Class
com.mailosaur.models.MessageSearchParams
Packages that use MessageSearchParams
Package
Description
This package contains the classes for MailosaurClient.
This package contains the models classes for MailosaurClient.
-
Uses of MessageSearchParams in com.mailosaur
Methods in com.mailosaur with parameters of type MessageSearchParamsModifier and TypeMethodDescriptionMessages.get(MessageSearchParams params, SearchCriteria criteria) Retrieve a message using search criteria.Messages.search(MessageSearchParams params, SearchCriteria criteria) Search for messages. -
Uses of MessageSearchParams in com.mailosaur.models
Methods in com.mailosaur.models that return MessageSearchParamsModifier and TypeMethodDescriptionOptionally limits results based on the direction (`Sent` or `Received`), with the default being `Received`.MessageSearchParams.withErrorOnTimeout(boolean errorOnTimeout) Set whether or not an error will not be throw if timeout is reached (default: true).MessageSearchParams.withItemsPerPage(int itemsPerPage) Set the limit on the number of results to be returned per page.MessageSearchParams.withPage(int page) Sets the page index, used in conjunction with `itemsPerPage` to support pagination.MessageSearchParams.withReceivedAfter(long receivedAfter) Limits results to only messages received after this timestamp.MessageSearchParams.withServer(String server) Sets the identifier of the server hosting the messages.MessageSearchParams.withTimeout(int timeout) Sets how long to wait for a matching result (in milliseconds).