Class AcsEmailDeliveryReportReceivedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsEmailDeliveryReportReceivedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsEmailDeliveryReportReceivedEventData>
public final class AcsEmailDeliveryReportReceivedEventData
extends Object
implements com.azure.json.JsonSerializable<AcsEmailDeliveryReportReceivedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.EmailDeliveryReportReceived event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsEmailDeliveryReportReceivedEventData from the JsonReader.Get the deliveryAttemptTimestamp property: The time at which the email delivery report received timestamp.Get the deliveryStatusDetails property: Detailed information about the status if any.Get the internetMessageId property: The Internet Message Id of the email that has been sent.Get the messageId property: The Id of the email that has been sent.Get the recipient property: The recipient Email Address.Get the sender property: The Sender Email Address.Get the status property: The status of the email.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
-
getSender
Get the sender property: The Sender Email Address.- Returns:
- the sender value.
-
getRecipient
Get the recipient property: The recipient Email Address.- Returns:
- the recipient value.
-
getInternetMessageId
Get the internetMessageId property: The Internet Message Id of the email that has been sent.- Returns:
- the internetMessageId value.
-
getMessageId
Get the messageId property: The Id of the email that has been sent.- Returns:
- the messageId value.
-
getStatus
Get the status property: The status of the email. Any value other than Delivered is considered failed.- Returns:
- the status value.
-
getDeliveryStatusDetails
Get the deliveryStatusDetails property: Detailed information about the status if any.- Returns:
- the deliveryStatusDetails value.
-
getDeliveryAttemptTimestamp
Get the deliveryAttemptTimestamp property: The time at which the email delivery report received timestamp.- Returns:
- the deliveryAttemptTimestamp value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcsEmailDeliveryReportReceivedEventData>- Throws:
IOException
-
fromJson
public static AcsEmailDeliveryReportReceivedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsEmailDeliveryReportReceivedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsEmailDeliveryReportReceivedEventData 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 AcsEmailDeliveryReportReceivedEventData.
-