ListEmailMessagesInput
data class ListEmailMessagesInput( val dateRange: EmailMessageDateRange? = null, val limit: Int? = SudoEmailClient.DEFAULT_EMAIL_MESSAGE_LIMIT, val nextToken: String? = null, val sortOrder: SortOrder = SortOrder.DESC, val includeDeletedMessages: Boolean = false)
Input object containing properties used to list all email messages for a user.
Constructors
Link copied to clipboard
constructor( dateRange: EmailMessageDateRange? = null, limit: Int? = SudoEmailClient.DEFAULT_EMAIL_MESSAGE_LIMIT, nextToken: String? = null, sortOrder: SortOrder = SortOrder.DESC, includeDeletedMessages: Boolean = false)
Properties
Link copied to clipboard
EmailMessageDateRange Email messages matching the specified date range inclusive will be fetched.
Link copied to clipboard
Boolean Indicates whether or not to include deleted messages. Defaults to false.
Link copied to clipboard
String A token generated from previous calls to SudoEmailClient.listEmailMessages. This is to allow for pagination. This value should be generated from a previous pagination call, otherwise it will throw an exception. The same arguments should be supplied to this method if using a previously generated nextToken.