-
public final class WebhookResultDtoResult of a webhook notification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumWebhookResultDto.HttpMethodValues: gET,hEAD,pOST,pUT,pATCH,dELETE,oPTIONS,tRACE
public enumWebhookResultDto.WebhookEventValues: eMAILRECEIVED,nEWEMAIL,nEWCONTACT,nEWATTACHMENT,eMAILOPENED,eMAILREAD,bOUNCE,bOUNCERECIPIENT,nEWSMS
public enumWebhookResultDto.ResultTypeValues: bADRESPONSE,eXCEPTION,sUCCESS
-
Field Summary
Fields Modifier and Type Field Description private final UUIDuserIdprivate final UUIDwebhookIdprivate final StringwebhookUrlprivate final StringmessageIdprivate final WebhookResultDto.HttpMethodhttpMethodprivate final WebhookResultDto.WebhookEventwebhookEventprivate final LongresponseTimeMillisprivate final OffsetDateTimecreatedAtprivate final OffsetDateTimeupdatedAtprivate final Booleanseenprivate final UUIDidprivate final UUIDinboxIdprivate final UUIDredriveIdprivate final IntegerresponseStatusprivate final StringresponseBodyExtractprivate final WebhookResultDto.ResultTyperesultType
-
Constructor Summary
Constructors Constructor Description WebhookResultDto(UUID userId, UUID webhookId, String webhookUrl, String messageId, WebhookResultDto.HttpMethod httpMethod, WebhookResultDto.WebhookEvent webhookEvent, Long responseTimeMillis, OffsetDateTime createdAt, OffsetDateTime updatedAt, Boolean seen, UUID id, UUID inboxId, UUID redriveId, Integer responseStatus, String responseBodyExtract, WebhookResultDto.ResultType resultType)
-
Method Summary
Modifier and Type Method Description final UUIDgetUserId()final UUIDgetWebhookId()final StringgetWebhookUrl()final StringgetMessageId()final WebhookResultDto.HttpMethodgetHttpMethod()final WebhookResultDto.WebhookEventgetWebhookEvent()final LonggetResponseTimeMillis()final OffsetDateTimegetCreatedAt()final OffsetDateTimegetUpdatedAt()final BooleangetSeen()final UUIDgetId()final UUIDgetInboxId()final UUIDgetRedriveId()final IntegergetResponseStatus()final StringgetResponseBodyExtract()final WebhookResultDto.ResultTypegetResultType()-
-
Constructor Detail
-
WebhookResultDto
WebhookResultDto(UUID userId, UUID webhookId, String webhookUrl, String messageId, WebhookResultDto.HttpMethod httpMethod, WebhookResultDto.WebhookEvent webhookEvent, Long responseTimeMillis, OffsetDateTime createdAt, OffsetDateTime updatedAt, Boolean seen, UUID id, UUID inboxId, UUID redriveId, Integer responseStatus, String responseBodyExtract, WebhookResultDto.ResultType resultType)
-
-
Method Detail
-
getWebhookId
final UUID getWebhookId()
-
getWebhookUrl
final String getWebhookUrl()
-
getMessageId
final String getMessageId()
-
getHttpMethod
final WebhookResultDto.HttpMethod getHttpMethod()
-
getWebhookEvent
final WebhookResultDto.WebhookEvent getWebhookEvent()
-
getResponseTimeMillis
final Long getResponseTimeMillis()
-
getCreatedAt
final OffsetDateTime getCreatedAt()
-
getUpdatedAt
final OffsetDateTime getUpdatedAt()
-
getInboxId
final UUID getInboxId()
-
getRedriveId
final UUID getRedriveId()
-
getResponseStatus
final Integer getResponseStatus()
-
getResponseBodyExtract
final String getResponseBodyExtract()
-
getResultType
final WebhookResultDto.ResultType getResultType()
-
-
-
-