/* Options: Date: 2025-10-27 22:18:22 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SendMailRequest.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/communication/sendmail", Verbs="POST") open class SendMailRequest { /** * Email address of sender. If it is not set the a default address will be used. */ @ApiMember(Description="Email address of sender. If it is not set the a default address will be used.") open var FromAddress:String? = null /** * List of recipient email addresses */ @ApiMember(Description="List of recipient email addresses", IsRequired=true) open var Recipients:ArrayList? = null /** * Email subject */ @ApiMember(Description="Email subject", IsRequired=true) open var Subject:String? = null /** * Plain text body. Either this or HtmlBody is required */ @ApiMember(Description="Plain text body. Either this or HtmlBody is required") open var Body:String? = null /** * Html body. Either this or Body is required */ @ApiMember(Description="Html body. Either this or Body is required") open var HtmlBody:String? = null /** * Email attachments */ @ApiMember(Description="Email attachments") open var Attachments:ArrayList? = null /** * Email attachments */ @ApiMember(Description="Email attachments") open var AttachmentsObject:ArrayList? = null /** * Attachment streams */ @ApiMember(Description="Attachment streams") open var AttachmentStreams:ArrayList? = null /** * Template substitutions */ @ApiMember(Description="Template substitutions") open var TemplateSubstitutions:HashMap? = null /** * Template Id */ @ApiMember(Description="Template Id") open var TemplateId:String? = null /** * List of BCC email addresses */ @ApiMember(Description="List of BCC email addresses") open var Bcc:ArrayList? = null /** * List of CC email addresses */ @ApiMember(Description="List of CC email addresses") open var Cc:ArrayList? = null }