Skip to content

MailSlurpClient::MatchOptions

Properties

Name Type Description Notes
matches Array Zero or more match options such as { field: 'SUBJECT', should: 'CONTAIN', value: 'Welcome' }. Options are additive so if one does not match the email is excluded from results [optional]
conditions Array Zero or more conditions such as { condition: 'HAS_ATTACHMENTS', value: 'TRUE' }. Note the values are the strings TRUE|FALSE not booleans. [optional]

Code Sample

require 'MailSlurpClient'

instance = MailSlurpClient::MatchOptions.new(matches: null,
                                 conditions: null)