public class BatchSendEmailRequest extends AbstractModel
| Constructor and Description | 
|---|
| BatchSendEmailRequest() | 
| BatchSendEmailRequest(BatchSendEmailRequest 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 | 
|---|---|
| Attachment[] | getAttachments()Get Email attachments | 
| CycleEmailParam | getCycleParam()Get Parameter required for a recurring sending task | 
| String | getFromEmailAddress()Get Sender address. | 
| Long | getReceiverId()Get Recipient group ID | 
| String | getReplyToAddresses()Get Reply-to address. | 
| Simple | getSimple()Get Email content when emails are sent by calling the API | 
| String | getSubject()Get Email subject | 
| Long | getTaskType()Get Task type. | 
| Template | getTemplate()Get Template when emails are sent using a template | 
| TimedEmailParam | getTimedParam()Get Parameter required for a scheduled sending task | 
| String | getUnsubscribe()Get Unsubscribe option. | 
| void | setAttachments(Attachment[] Attachments)Set Email attachments | 
| void | setCycleParam(CycleEmailParam CycleParam)Set Parameter required for a recurring sending task | 
| void | setFromEmailAddress(String FromEmailAddress)Set Sender address. | 
| void | setReceiverId(Long ReceiverId)Set Recipient group ID | 
| void | setReplyToAddresses(String ReplyToAddresses)Set Reply-to address. | 
| void | setSimple(Simple Simple)Set Email content when emails are sent by calling the API | 
| void | setSubject(String Subject)Set Email subject | 
| void | setTaskType(Long TaskType)Set Task type. | 
| void | setTemplate(Template Template)Set Template when emails are sent using a template | 
| void | setTimedParam(TimedEmailParam TimedParam)Set Parameter required for a scheduled sending task | 
| void | setUnsubscribe(String Unsubscribe)Set Unsubscribe option. | 
| 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, toJsonStringpublic BatchSendEmailRequest()
public BatchSendEmailRequest(BatchSendEmailRequest source)
public String getFromEmailAddress()
public void setFromEmailAddress(String FromEmailAddress)
FromEmailAddress - Sender address. Enter a sender address, for example, [email protected]. To display the sender name, enter the address in the following format:
Sender public Long getReceiverId()
public void setReceiverId(Long ReceiverId)
ReceiverId - Recipient group IDpublic String getSubject()
public void setSubject(String Subject)
Subject - Email subjectpublic Long getTaskType()
public void setTaskType(Long TaskType)
TaskType - Task type. `1`: immediate; `2`: scheduled; `3`: recurringpublic String getReplyToAddresses()
public void setReplyToAddresses(String ReplyToAddresses)
ReplyToAddresses - Reply-to address. You can enter a valid personal email address that can receive emails. If this parameter is left empty, reply emails will be sent to Tencent Cloud.public Template getTemplate()
public void setTemplate(Template Template)
Template - Template when emails are sent using a templatepublic Simple getSimple()
public void setSimple(Simple Simple)
Simple - Email content when emails are sent by calling the APIpublic Attachment[] getAttachments()
public void setAttachments(Attachment[] Attachments)
Attachments - Email attachmentspublic CycleEmailParam getCycleParam()
public void setCycleParam(CycleEmailParam CycleParam)
CycleParam - Parameter required for a recurring sending taskpublic TimedEmailParam getTimedParam()
public void setTimedParam(TimedEmailParam TimedParam)
TimedParam - Parameter required for a scheduled sending taskpublic String getUnsubscribe()
public void setUnsubscribe(String Unsubscribe)
Unsubscribe - Unsubscribe option. `1`: provides an unsubscribe link; `0`: does not provide an unsubscribe linkCopyright © 2022. All rights reserved.