public class SendTaskData extends AbstractModel
header, skipSign
Constructor and Description |
---|
SendTaskData() |
SendTaskData(SendTaskData 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 |
getCacheCount()
Get Number of emails cached
|
String |
getCreateTime()
Get Task creation time
|
CycleEmailParam |
getCycleParam()
Get Parameters of a recurring task
Note: This field may return `null`, indicating that no valid value can be found.
|
String |
getErrMsg()
Get Task exception information
Note: This field may return `null`, indicating that no valid value can be found.
|
String |
getFromEmailAddress()
Get Sender address
|
Long |
getReceiverId()
Get Recipient group ID
|
String |
getReceiversName()
Get Recipient group name
|
Long |
getRequestCount()
Get Number of emails requested to be sent
|
Long |
getSendCount()
Get Number of emails sent
|
String |
getSubject()
Get Email subject
|
Long |
getTaskId()
Get Task ID
|
Long |
getTaskStatus()
Get Task status.
|
Long |
getTaskType()
Get Task type.
|
Template |
getTemplate()
Get Template and template data
Note: This field may return `null`, indicating that no valid value can be found.
|
TimedEmailParam |
getTimedParam()
Get Parameters of a scheduled task
Note: This field may return `null`, indicating that no valid value can be found.
|
String |
getUpdateTime()
Get Task update time
|
void |
setCacheCount(Long CacheCount)
Set Number of emails cached
|
void |
setCreateTime(String CreateTime)
Set Task creation time
|
void |
setCycleParam(CycleEmailParam CycleParam)
Set Parameters of a recurring task
Note: This field may return `null`, indicating that no valid value can be found.
|
void |
setErrMsg(String ErrMsg)
Set Task exception information
Note: This field may return `null`, indicating that no valid value can be found.
|
void |
setFromEmailAddress(String FromEmailAddress)
Set Sender address
|
void |
setReceiverId(Long ReceiverId)
Set Recipient group ID
|
void |
setReceiversName(String ReceiversName)
Set Recipient group name
|
void |
setRequestCount(Long RequestCount)
Set Number of emails requested to be sent
|
void |
setSendCount(Long SendCount)
Set Number of emails sent
|
void |
setSubject(String Subject)
Set Email subject
|
void |
setTaskId(Long TaskId)
Set Task ID
|
void |
setTaskStatus(Long TaskStatus)
Set Task status.
|
void |
setTaskType(Long TaskType)
Set Task type.
|
void |
setTemplate(Template Template)
Set Template and template data
Note: This field may return `null`, indicating that no valid value can be found.
|
void |
setTimedParam(TimedEmailParam TimedParam)
Set Parameters of a scheduled task
Note: This field may return `null`, indicating that no valid value can be found.
|
void |
setUpdateTime(String UpdateTime)
Set Task update time
|
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, toJsonString
public SendTaskData()
public SendTaskData(SendTaskData source)
public Long getTaskId()
public void setTaskId(Long TaskId)
TaskId
- Task IDpublic String getFromEmailAddress()
public void setFromEmailAddress(String FromEmailAddress)
FromEmailAddress
- Sender addresspublic Long getReceiverId()
public void setReceiverId(Long ReceiverId)
ReceiverId
- Recipient group IDpublic Long getTaskStatus()
public void setTaskStatus(Long TaskStatus)
TaskStatus
- Task status. `1`: to start; `5`: sending; `6`: sending suspended today; `7`: sending error; `10`: sentpublic Long getTaskType()
public void setTaskType(Long TaskType)
TaskType
- Task type. `1`: immediate; `2`: scheduled; `3`: recurringpublic Long getRequestCount()
public void setRequestCount(Long RequestCount)
RequestCount
- Number of emails requested to be sentpublic Long getSendCount()
public void setSendCount(Long SendCount)
SendCount
- Number of emails sentpublic Long getCacheCount()
public void setCacheCount(Long CacheCount)
CacheCount
- Number of emails cachedpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Task creation timepublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Task update timepublic String getSubject()
public void setSubject(String Subject)
Subject
- Email subjectpublic Template getTemplate()
public void setTemplate(Template Template)
Template
- Template and template data
Note: This field may return `null`, indicating that no valid value can be found.public CycleEmailParam getCycleParam()
public void setCycleParam(CycleEmailParam CycleParam)
CycleParam
- Parameters of a recurring task
Note: This field may return `null`, indicating that no valid value can be found.public TimedEmailParam getTimedParam()
public void setTimedParam(TimedEmailParam TimedParam)
TimedParam
- Parameters of a scheduled task
Note: This field may return `null`, indicating that no valid value can be found.public String getErrMsg()
public void setErrMsg(String ErrMsg)
ErrMsg
- Task exception information
Note: This field may return `null`, indicating that no valid value can be found.public String getReceiversName()
public void setReceiversName(String ReceiversName)
ReceiversName
- Recipient group nameCopyright © 2024. All rights reserved.