-
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 OffsetDateTimecreatedAtprivate final UUIDemailIdprivate final BooleanemailIsReadprivate final WebhookEmailReadPayload.EventNameeventNameprivate final UUIDinboxIdprivate final StringmessageIdprivate final UUIDwebhookIdprivate final StringwebhookName
-
Constructor Summary
Constructors Constructor Description WebhookEmailReadPayload(OffsetDateTime createdAt, UUID emailId, Boolean emailIsRead, WebhookEmailReadPayload.EventName eventName, UUID inboxId, String messageId, UUID webhookId, String webhookName)
-
Method Summary
Modifier and Type Method Description final OffsetDateTimegetCreatedAt()final UUIDgetEmailId()final BooleangetEmailIsRead()final WebhookEmailReadPayload.EventNamegetEventName()final UUIDgetInboxId()final StringgetMessageId()final UUIDgetWebhookId()final StringgetWebhookName()-
-
Constructor Detail
-
WebhookEmailReadPayload
WebhookEmailReadPayload(OffsetDateTime createdAt, UUID emailId, Boolean emailIsRead, WebhookEmailReadPayload.EventName eventName, UUID inboxId, String messageId, UUID webhookId, String webhookName)
- Parameters:
createdAt- Date time of event creationemailId- ID of the email that was received.emailIsRead- Is the email readeventName- Name of the event type webhook is being triggered for.inboxId- Id of the inbox that received an emailmessageId- Idempotent message ID.webhookId- ID of webhook entity being triggeredwebhookName- Name of the webhook being triggered
-
-
Method Detail
-
getCreatedAt
final OffsetDateTime getCreatedAt()
-
getEmailId
final UUID getEmailId()
-
getEmailIsRead
final Boolean getEmailIsRead()
-
getEventName
final WebhookEmailReadPayload.EventName getEventName()
-
getInboxId
final UUID getInboxId()
-
getMessageId
final String getMessageId()
-
getWebhookId
final UUID getWebhookId()
-
getWebhookName
final String getWebhookName()
-
-
-
-