public class BatchSendEmailRequest extends AbstractModel
header, skipSign| 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 | 
|---|---|
| Long | getADLocation()Get Whether to add an ad tag. | 
| Attachment[] | getAttachments()Get Attachment parameters to set when you need to send 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 Disused | 
| 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 link option. | 
| void | setADLocation(Long ADLocation)Set Whether to add an ad tag. | 
| void | setAttachments(Attachment[] Attachments)Set Attachment parameters to set when you need to send 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 Disused | 
| 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 link option. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic BatchSendEmailRequest()
public BatchSendEmailRequest(BatchSendEmailRequest source)
public String getFromEmailAddress()
public void setFromEmailAddress(String FromEmailAddress)
FromEmailAddress - Sender address. Enter a sender address such as `[email protected]`. To display the sender name, enter the address in the following format:
sender <email address>. For example:
Tencent Cloud team <[email protected]>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 fail to be sent.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 - Disusedpublic Attachment[] getAttachments()
public void setAttachments(Attachment[] Attachments)
Attachments - Attachment parameters to set when you need to send attachments. This parameter is currently unavailable.public 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 link option. `0`: Do not add unsubscribe link; `1`: English `2`: Simplified Chinese; `3`: Traditional Chinese; `4`: Spanish; `5`: French; `6`: German; `7`: Japanese; `8`: Korean; `9`: Arabic; `10`: Thaipublic Long getADLocation()
public void setADLocation(Long ADLocation)
ADLocation - Whether to add an ad tag. `0`: Add no tag; `1`: Add before the subject; `2`: Add after the subject.Copyright © 2024. All rights reserved.