Class AcsEmailEngagementTrackingReportReceivedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsEmailEngagementTrackingReportReceivedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsEmailEngagementTrackingReportReceivedEventData>
public final class AcsEmailEngagementTrackingReportReceivedEventData
extends Object
implements com.azure.json.JsonSerializable<AcsEmailEngagementTrackingReportReceivedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.EmailEngagementTrackingReportReceived
event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsEmailEngagementTrackingReportReceivedEventData from the JsonReader.Get the engagementContext property: The context of the type of engagement user had with email.Get the engagementType property: The type of engagement user have with email.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 userActionTimestamp property: The time at which the user interacted with the email.Get the userAgent property: The user agent interacting with 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.
-
getMessageId
Get the messageId property: The Id of the email that has been sent.- Returns:
- the messageId value.
-
getUserActionTimestamp
Get the userActionTimestamp property: The time at which the user interacted with the email.- Returns:
- the userActionTimestamp value.
-
getEngagementContext
Get the engagementContext property: The context of the type of engagement user had with email.- Returns:
- the engagementContext value.
-
getUserAgent
Get the userAgent property: The user agent interacting with the email.- Returns:
- the userAgent value.
-
getEngagementType
Get the engagementType property: The type of engagement user have with email.- Returns:
- the engagementType value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcsEmailEngagementTrackingReportReceivedEventData>- Throws:
IOException
-
fromJson
public static AcsEmailEngagementTrackingReportReceivedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsEmailEngagementTrackingReportReceivedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsEmailEngagementTrackingReportReceivedEventData 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 AcsEmailEngagementTrackingReportReceivedEventData.
-