-
public final class WebhookEmailReadPayloadEMAIL_READ webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is read. This happens when an email is requested in full from the API or a user views the email in the dashboard.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumWebhookEmailReadPayload.EventNameName of the event type webhook is being triggered for. Values: eMAILRECEIVED,nEWEMAIL,nEWCONTACT,nEWATTACHMENT,eMAILOPENED,eMAILREAD
-
Field Summary
Fields Modifier and Type Field Description private final StringmessageIdprivate final UUIDwebhookIdprivate final WebhookEmailReadPayload.EventNameeventNameprivate final UUIDemailIdprivate final UUIDinboxIdprivate final BooleanemailIsReadprivate final OffsetDateTimecreatedAtprivate final StringwebhookName
-
Constructor Summary
Constructors Constructor Description WebhookEmailReadPayload(String messageId, UUID webhookId, WebhookEmailReadPayload.EventName eventName, UUID emailId, UUID inboxId, Boolean emailIsRead, OffsetDateTime createdAt, String webhookName)
-
Method Summary
Modifier and Type Method Description final StringgetMessageId()final UUIDgetWebhookId()final WebhookEmailReadPayload.EventNamegetEventName()final UUIDgetEmailId()final UUIDgetInboxId()final BooleangetEmailIsRead()final OffsetDateTimegetCreatedAt()final StringgetWebhookName()-
-
Constructor Detail
-
WebhookEmailReadPayload
WebhookEmailReadPayload(String messageId, UUID webhookId, WebhookEmailReadPayload.EventName eventName, UUID emailId, UUID inboxId, Boolean emailIsRead, OffsetDateTime createdAt, String webhookName)
- Parameters:
messageId- Idempotent message ID.webhookId- ID of webhook entity being triggeredeventName- Name of the event type webhook is being triggered for.emailId- ID of the email that was received.inboxId- Id of the inbox that received an emailemailIsRead- Is the email readcreatedAt- Date time of event creationwebhookName- Name of the webhook being triggered
-
-
Method Detail
-
getMessageId
final String getMessageId()
-
getWebhookId
final UUID getWebhookId()
-
getEventName
final WebhookEmailReadPayload.EventName getEventName()
-
getEmailId
final UUID getEmailId()
-
getInboxId
final UUID getInboxId()
-
getEmailIsRead
final Boolean getEmailIsRead()
-
getCreatedAt
final OffsetDateTime getCreatedAt()
-
getWebhookName
final String getWebhookName()
-
-
-
-