Package com.sinch.sdk.domains.sms.models
Class DeliveryReportRecipientSMS
java.lang.Object
com.sinch.sdk.domains.sms.models.BaseDeliveryReport
com.sinch.sdk.domains.sms.models.DeliveryReportRecipient
com.sinch.sdk.domains.sms.models.DeliveryReportRecipientSMS
- All Implemented Interfaces:
WebhooksEvent
SMS Delivery Report Recipient for SMS
- Since:
- 1.0
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionDeliveryReportRecipientSMS
(String batchId, String clientReference, Instant at, DeliveryReportErrorCode code, String recipient, DeliveryReportStatus status, String appliedOriginator, DeliveryReportRecipientEncoding encoding, Integer numberOfMessageParts, String operator, Instant operatorStatusAt) Recipient Delivery Report for SMS -
Method Summary
Methods inherited from class com.sinch.sdk.domains.sms.models.DeliveryReportRecipient
getAppliedOriginator, getAt, getCode, getEncoding, getNumberOfMessageParts, getOperator, getOperatorStatusAt, getRecipient, getStatus
Methods inherited from class com.sinch.sdk.domains.sms.models.BaseDeliveryReport
getBatchId, getClientReference
-
Constructor Details
-
DeliveryReportRecipientSMS
public DeliveryReportRecipientSMS(String batchId, String clientReference, Instant at, DeliveryReportErrorCode code, String recipient, DeliveryReportStatus status, String appliedOriginator, DeliveryReportRecipientEncoding encoding, Integer numberOfMessageParts, String operator, Instant operatorStatusAt) Recipient Delivery Report for SMS- Parameters:
batchId
-Required.
The ID of the batch this delivery report belongs to.clientReference
- The client identifier of the batch this delivery report belongs to, if set when submitting batch.at
-Required.
A timestamp of when the Delivery Report was created in the Sinch servicecode
-Required.
The detailed status code.recipient
-Required.
Phone number that was queried.status
-Required.
The simplified status as described in Delivery Report StatusesappliedOriginator
- The default originator used for the recipient this delivery report belongs to, if default originator pool configured and no originator set when submitting batch.encoding
- Applied encoding for message. Present only if smart encoding is enabled.numberOfMessageParts
- The number of parts the message was split into. Present only ifmax_number_of_message_parts
parameter was set.operator
- The operator that was used for delivering the message to this recipient, if enabled on the account by Sinch.operatorStatusAt
- A timestamp extracted from the Delivery Receipt from the originating SMSC
-
-
Method Details
-
toString
- Overrides:
toString
in classDeliveryReportRecipient
-
builder
-