Class AcsSmsDeliveryReportReceivedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsSmsEventBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsSmsDeliveryReportReceivedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsSmsEventBaseProperties>
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.SMSDeliveryReportReceived event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsSmsDeliveryReportReceivedEventData from the JsonReader.Get 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.getFrom()Get the from property: The identity of SMS message sender.Get the messageId property: The identity of the SMS message.Get the receivedTimestamp property: The time at which the SMS delivery report was received.getTag()Get the tag property: Customer Content.getTo()Get the to property: The identity of SMS message receiver.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getDeliveryStatus
Get the deliveryStatus property: Status of Delivery.- Returns:
- the deliveryStatus value.
-
getDeliveryStatusDetails
Get the deliveryStatusDetails property: Details about Delivery Status.- Returns:
- the deliveryStatusDetails value.
-
getDeliveryAttempts
Get the deliveryAttempts property: List of details of delivery attempts made.- Returns:
- the deliveryAttempts value.
-
getReceivedTimestamp
Get the receivedTimestamp property: The time at which the SMS delivery report was received.- Returns:
- the receivedTimestamp value.
-
getTag
Get the tag property: Customer Content.- Returns:
- the tag value.
-
getTo
Get the to property: The identity of SMS message receiver.- Overrides:
getToin classAcsSmsEventBaseProperties- Returns:
- the to value.
-
getFrom
Get the from property: The identity of SMS message sender.- Overrides:
getFromin classAcsSmsEventBaseProperties- Returns:
- the from value.
-
getMessageId
Get the messageId property: The identity of the SMS message.- Overrides:
getMessageIdin classAcsSmsEventBaseProperties- Returns:
- the messageId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcsSmsEventBaseProperties>- Overrides:
toJsonin classAcsSmsEventBaseProperties- Throws:
IOException
-
fromJson
public static AcsSmsDeliveryReportReceivedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsSmsDeliveryReportReceivedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsSmsDeliveryReportReceivedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AcsSmsDeliveryReportReceivedEventData.
-