public class SendEmailRequest extends AbstractModel
Constructor and Description |
---|
SendEmailRequest() |
SendEmailRequest(SendEmailRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getFromAddress()
Get Sender
|
String |
getFromName()
Get Sender name
|
String |
getHtmlContent()
Get The body of an HTML email
|
String |
getReplyAddress()
Get Reply-to address
|
String |
getSubject()
Get Email summary
|
String |
getTextContent()
Get The body of a plain-text email
|
String |
getToAddress()
Get Recipient
|
void |
setFromAddress(String FromAddress)
Set Sender
|
void |
setFromName(String FromName)
Set Sender name
|
void |
setHtmlContent(String HtmlContent)
Set The body of an HTML email
|
void |
setReplyAddress(String ReplyAddress)
Set Reply-to address
|
void |
setSubject(String Subject)
Set Email summary
|
void |
setTextContent(String TextContent)
Set The body of a plain-text email
|
void |
setToAddress(String ToAddress)
Set Recipient
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SendEmailRequest()
public SendEmailRequest(SendEmailRequest source)
public String getFromAddress()
public void setFromAddress(String FromAddress)
FromAddress
- Senderpublic String getToAddress()
public void setToAddress(String ToAddress)
ToAddress
- Recipientpublic String getSubject()
public void setSubject(String Subject)
Subject
- Email summarypublic String getFromName()
public void setFromName(String FromName)
FromName
- Sender namepublic String getReplyAddress()
public void setReplyAddress(String ReplyAddress)
ReplyAddress
- Reply-to addresspublic String getHtmlContent()
public void setHtmlContent(String HtmlContent)
HtmlContent
- The body of an HTML emailpublic String getTextContent()
public void setTextContent(String TextContent)
TextContent
- The body of a plain-text emailCopyright © 2023. All rights reserved.