Class AcsSmsDeliveryReportReceivedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsSmsEventBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsSmsDeliveryReportReceivedEventData
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.SMSDeliveryReportReceived event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the deliveryAttempts property: List of details of delivery attempts made.Get the deliveryStatus property: Status of Delivery.Get the deliveryStatusDetails property: Details about Delivery Status.Get the receivedTimestamp property: The time at which the SMS delivery report was received.getTag()
Get the tag property: Customer Content.setDeliveryAttempts
(List<AcsSmsDeliveryAttemptProperties> deliveryAttempts) Set the deliveryAttempts property: List of details of delivery attempts made.setDeliveryStatus
(String deliveryStatus) Set the deliveryStatus property: Status of Delivery.setDeliveryStatusDetails
(String deliveryStatusDetails) Set the deliveryStatusDetails property: Details about Delivery Status.Set the from property: The identity of SMS message sender.setMessageId
(String messageId) Set the messageId property: The identity of the SMS message.setReceivedTimestamp
(OffsetDateTime receivedTimestamp) Set the receivedTimestamp property: The time at which the SMS delivery report was received.Set the tag property: Customer Content.Set the to property: The identity of SMS message receiver.Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsSmsEventBaseProperties
getFrom, getMessageId, getTo
-
Constructor Details
-
AcsSmsDeliveryReportReceivedEventData
public AcsSmsDeliveryReportReceivedEventData()
-
-
Method Details
-
getDeliveryStatus
Get the deliveryStatus property: Status of Delivery.- Returns:
- the deliveryStatus value.
-
setDeliveryStatus
Set the deliveryStatus property: Status of Delivery.- Parameters:
deliveryStatus
- the deliveryStatus value to set.- Returns:
- the AcsSmsDeliveryReportReceivedEventData object itself.
-
getDeliveryStatusDetails
Get the deliveryStatusDetails property: Details about Delivery Status.- Returns:
- the deliveryStatusDetails value.
-
setDeliveryStatusDetails
Set the deliveryStatusDetails property: Details about Delivery Status.- Parameters:
deliveryStatusDetails
- the deliveryStatusDetails value to set.- Returns:
- the AcsSmsDeliveryReportReceivedEventData object itself.
-
getDeliveryAttempts
Get the deliveryAttempts property: List of details of delivery attempts made.- Returns:
- the deliveryAttempts value.
-
setDeliveryAttempts
public AcsSmsDeliveryReportReceivedEventData setDeliveryAttempts(List<AcsSmsDeliveryAttemptProperties> deliveryAttempts) Set the deliveryAttempts property: List of details of delivery attempts made.- Parameters:
deliveryAttempts
- the deliveryAttempts value to set.- Returns:
- the AcsSmsDeliveryReportReceivedEventData object itself.
-
getReceivedTimestamp
Get the receivedTimestamp property: The time at which the SMS delivery report was received.- Returns:
- the receivedTimestamp value.
-
setReceivedTimestamp
Set the receivedTimestamp property: The time at which the SMS delivery report was received.- Parameters:
receivedTimestamp
- the receivedTimestamp value to set.- Returns:
- the AcsSmsDeliveryReportReceivedEventData object itself.
-
getTag
Get the tag property: Customer Content.- Returns:
- the tag value.
-
setTag
Set the tag property: Customer Content.- Parameters:
tag
- the tag value to set.- Returns:
- the AcsSmsDeliveryReportReceivedEventData object itself.
-
setMessageId
Set the messageId property: The identity of the SMS message.- Overrides:
setMessageId
in classAcsSmsEventBaseProperties
- Parameters:
messageId
- the messageId value to set.- Returns:
- the AcsSmsEventBaseProperties object itself.
-
setFrom
Set the from property: The identity of SMS message sender.- Overrides:
setFrom
in classAcsSmsEventBaseProperties
- Parameters:
from
- the from value to set.- Returns:
- the AcsSmsEventBaseProperties object itself.
-
setTo
Set the to property: The identity of SMS message receiver.- Overrides:
setTo
in classAcsSmsEventBaseProperties
- Parameters:
to
- the to value to set.- Returns:
- the AcsSmsEventBaseProperties object itself.
-