MailSlurpClient::UploadAttachmentOptions

Properties

NameTypeDescriptionNotes
base64_contentsStringBase64 encoded string of file contents. Typically this means reading the bytes or string content of a file and then converting that to a base64 encoded string.
content_typeStringOptional contentType for file. For instance application/pdf[optional]
filenameStringOptional filename to save upload with. Will be the name that is shown in email clients[optional]

Code Sample

require 'MailSlurpClient'

instance = MailSlurpClient::UploadAttachmentOptions.new(base64_contents: null,
                                 content_type: null,
                                 filename: null)