public static final class QuerySendDetailsResponseBody.Model.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
QuerySendDetailsResponseBody.Model |
build() |
QuerySendDetailsResponseBody.Model.Builder |
content(String content)
The content of the text message.
|
QuerySendDetailsResponseBody.Model.Builder |
errCode(String errCode)
The status code returned by the carrier.
|
QuerySendDetailsResponseBody.Model.Builder |
outId(String outId)
The extension field.
|
QuerySendDetailsResponseBody.Model.Builder |
phoneNum(String phoneNum)
The phone number.
|
QuerySendDetailsResponseBody.Model.Builder |
receiveDate(String receiveDate)
The date and time when the text message was received.
|
QuerySendDetailsResponseBody.Model.Builder |
sendDate(String sendDate)
The date when the text message was sent.
|
QuerySendDetailsResponseBody.Model.Builder |
sendStatus(Long sendStatus)
The delivery status of the text message.
|
QuerySendDetailsResponseBody.Model.Builder |
templateCode(String templateCode)
The code of the text message template.
|
public QuerySendDetailsResponseBody.Model.Builder content(String content)
The content of the text message.
example:203160
public QuerySendDetailsResponseBody.Model.Builder errCode(String errCode)
The status code returned by the carrier.
DELIVERED
public QuerySendDetailsResponseBody.Model.Builder outId(String outId)
The extension field.
example:12131231
public QuerySendDetailsResponseBody.Model.Builder phoneNum(String phoneNum)
The phone number.
example:1390000****
public QuerySendDetailsResponseBody.Model.Builder receiveDate(String receiveDate)
The date and time when the text message was received.
example:2019-01-08 16:44:13
public QuerySendDetailsResponseBody.Model.Builder sendDate(String sendDate)
The date when the text message was sent. You can query text messages that were sent within the last 30 days.
The date is in the yyyyMMdd format. Example: 20181225.
example:2019-01-08 16:44:13
public QuerySendDetailsResponseBody.Model.Builder sendStatus(Long sendStatus)
The delivery status of the text message.
3
public QuerySendDetailsResponseBody.Model.Builder templateCode(String templateCode)
The code of the text message template.
Log on to the SMS console. In the left-side navigation pane, click Go China or Go Globe. You can view the text message template code in the Template Code column on the Message Templates tab.
example:The text message templates must be created on the Go Globe page and approved.
SMS_12231****
public QuerySendDetailsResponseBody.Model build()
Copyright © 2025. All rights reserved.