-
public final class AbstractWebhookPayloadAbstract webhook payload. Use the correct payload type for your webhook event type in order to access all the specific properties for that event. See the
NEW_EMAIL,NEW_CONTACT,NEW_ATTACHMENTandEMAIL_OPENEDpayloads for the properties available for those events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumAbstractWebhookPayload.EventNameValues: eMAILRECEIVED,nEWEMAIL,nEWCONTACT,nEWATTACHMENT,eMAILOPENED,eMAILREAD
-
Field Summary
Fields Modifier and Type Field Description private final AbstractWebhookPayload.EventNameeventNameprivate final UUIDwebhookIdprivate final StringmessageIdprivate final StringwebhookName
-
Constructor Summary
Constructors Constructor Description AbstractWebhookPayload(AbstractWebhookPayload.EventName eventName, UUID webhookId, String messageId, String webhookName)
-
Method Summary
Modifier and Type Method Description final AbstractWebhookPayload.EventNamegetEventName()final UUIDgetWebhookId()final StringgetMessageId()final StringgetWebhookName()-
-
Constructor Detail
-
AbstractWebhookPayload
AbstractWebhookPayload(AbstractWebhookPayload.EventName eventName, UUID webhookId, String messageId, String webhookName)
-
-
Method Detail
-
getEventName
final AbstractWebhookPayload.EventName getEventName()
-
getWebhookId
final UUID getWebhookId()
-
getMessageId
final String getMessageId()
-
getWebhookName
final String getWebhookName()
-
-
-
-