Class AcsEmailEngagementTrackingReportReceivedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsEmailEngagementTrackingReportReceivedEventData
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.EmailEngagementTrackingReportReceived
event.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AcsEmailEngagementTrackingReportReceivedEventData class. -
Method Summary
Modifier and TypeMethodDescriptionGet the engagement property: The type of engagement user have with email.Get the engagementContext property: The context of the type of engagement user had 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.setEngagement(AcsUserEngagement engagement) Set the engagement property: The type of engagement user have with email.setEngagementContext(String engagementContext) Set the engagementContext property: The context of the type of engagement user had with email.setMessageId(String messageId) Set the messageId property: The Id of the email that has been sent.setRecipient(String recipient) Set the recipient property: The Recipient Email Address.Set the sender property: The Sender Email Address.setUserActionTimestamp(OffsetDateTime userActionTimestamp) Set the userActionTimestamp property: The time at which the user interacted with the email.setUserAgent(String userAgent) Set the userAgent property: The user agent interacting with the email.
-
Constructor Details
-
AcsEmailEngagementTrackingReportReceivedEventData
public AcsEmailEngagementTrackingReportReceivedEventData()Creates an instance of AcsEmailEngagementTrackingReportReceivedEventData class.
-
-
Method Details
-
getSender
Get the sender property: The Sender Email Address.- Returns:
- the sender value.
-
setSender
Set the sender property: The Sender Email Address.- Parameters:
sender- the sender value to set.- Returns:
- the AcsEmailEngagementTrackingReportReceivedEventData object itself.
-
getRecipient
Get the recipient property: The Recipient Email Address.- Returns:
- the recipient value.
-
setRecipient
Set the recipient property: The Recipient Email Address.- Parameters:
recipient- the recipient value to set.- Returns:
- the AcsEmailEngagementTrackingReportReceivedEventData object itself.
-
getMessageId
Get the messageId property: The Id of the email that has been sent.- Returns:
- the messageId value.
-
setMessageId
Set the messageId property: The Id of the email that has been sent.- Parameters:
messageId- the messageId value to set.- Returns:
- the AcsEmailEngagementTrackingReportReceivedEventData object itself.
-
getUserActionTimestamp
Get the userActionTimestamp property: The time at which the user interacted with the email.- Returns:
- the userActionTimestamp value.
-
setUserActionTimestamp
public AcsEmailEngagementTrackingReportReceivedEventData setUserActionTimestamp(OffsetDateTime userActionTimestamp) Set the userActionTimestamp property: The time at which the user interacted with the email.- Parameters:
userActionTimestamp- the userActionTimestamp value to set.- Returns:
- the AcsEmailEngagementTrackingReportReceivedEventData object itself.
-
getEngagementContext
Get the engagementContext property: The context of the type of engagement user had with email.- Returns:
- the engagementContext value.
-
setEngagementContext
public AcsEmailEngagementTrackingReportReceivedEventData setEngagementContext(String engagementContext) Set the engagementContext property: The context of the type of engagement user had with email.- Parameters:
engagementContext- the engagementContext value to set.- Returns:
- the AcsEmailEngagementTrackingReportReceivedEventData object itself.
-
getUserAgent
Get the userAgent property: The user agent interacting with the email.- Returns:
- the userAgent value.
-
setUserAgent
Set the userAgent property: The user agent interacting with the email.- Parameters:
userAgent- the userAgent value to set.- Returns:
- the AcsEmailEngagementTrackingReportReceivedEventData object itself.
-
getEngagement
Get the engagement property: The type of engagement user have with email.- Returns:
- the engagement value.
-
setEngagement
public AcsEmailEngagementTrackingReportReceivedEventData setEngagement(AcsUserEngagement engagement) Set the engagement property: The type of engagement user have with email.- Parameters:
engagement- the engagement value to set.- Returns:
- the AcsEmailEngagementTrackingReportReceivedEventData object itself.
-