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