Package com.sinch.sdk.domains.sms.models
Class DeliveryReportRecipient
java.lang.Object
com.sinch.sdk.domains.sms.models.BaseDeliveryReport
com.sinch.sdk.domains.sms.models.DeliveryReportRecipient
- All Implemented Interfaces:
WebhooksEvent
- Direct Known Subclasses:
DeliveryReportRecipientMMS
,DeliveryReportRecipientSMS
Common Definition to Delivery Report
- Since:
- 1.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionDeliveryReportRecipient
(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 Recipient -
Method Summary
Methods inherited from class com.sinch.sdk.domains.sms.models.BaseDeliveryReport
getBatchId, getClientReference
-
Constructor Details
-
DeliveryReportRecipient
public DeliveryReportRecipient(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 Recipient- 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
-
getAt
-
getCode
-
getRecipient
-
getStatus
-
getAppliedOriginator
-
getEncoding
-
getNumberOfMessageParts
-
getOperator
-
getOperatorStatusAt
-
toString
- Overrides:
toString
in classBaseDeliveryReport
-