-
public final class WebhookResultDto
-
-
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
public enumWebhookResultDto.ResultTypeValues: bADRESPONSE,eXCEPTION,sUCCESS
-
Field Summary
Fields Modifier and Type Field Description private final UUIDuserIdprivate final UUIDinboxIdprivate final UUIDwebhookIdprivate final StringwebhookUrlprivate final StringmessageIdprivate final WebhookResultDto.HttpMethodhttpMethodprivate final WebhookResultDto.WebhookEventwebhookEventprivate final LongresponseTimeMillisprivate final OffsetDateTimecreatedAtprivate final OffsetDateTimeupdatedAtprivate final UUIDidprivate final UUIDredriveIdprivate final IntegerresponseStatusprivate final StringresponseBodyExtractprivate final WebhookResultDto.ResultTyperesultTypeprivate final Booleanseen
-
Constructor Summary
Constructors Constructor Description WebhookResultDto(UUID userId, UUID inboxId, UUID webhookId, String webhookUrl, String messageId, WebhookResultDto.HttpMethod httpMethod, WebhookResultDto.WebhookEvent webhookEvent, Long responseTimeMillis, OffsetDateTime createdAt, OffsetDateTime updatedAt, UUID id, UUID redriveId, Integer responseStatus, String responseBodyExtract, WebhookResultDto.ResultType resultType, Boolean seen)
-
Method Summary
Modifier and Type Method Description final UUIDgetUserId()final UUIDgetInboxId()final UUIDgetWebhookId()final StringgetWebhookUrl()final StringgetMessageId()final WebhookResultDto.HttpMethodgetHttpMethod()final WebhookResultDto.WebhookEventgetWebhookEvent()final LonggetResponseTimeMillis()final OffsetDateTimegetCreatedAt()final OffsetDateTimegetUpdatedAt()final UUIDgetId()final UUIDgetRedriveId()final IntegergetResponseStatus()final StringgetResponseBodyExtract()final WebhookResultDto.ResultTypegetResultType()final BooleangetSeen()-
-
Constructor Detail
-
WebhookResultDto
WebhookResultDto(UUID userId, UUID inboxId, UUID webhookId, String webhookUrl, String messageId, WebhookResultDto.HttpMethod httpMethod, WebhookResultDto.WebhookEvent webhookEvent, Long responseTimeMillis, OffsetDateTime createdAt, OffsetDateTime updatedAt, UUID id, UUID redriveId, Integer responseStatus, String responseBodyExtract, WebhookResultDto.ResultType resultType, Boolean seen)
-
-
Method Detail
-
getInboxId
final UUID getInboxId()
-
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()
-
getRedriveId
final UUID getRedriveId()
-
getResponseStatus
final Integer getResponseStatus()
-
getResponseBodyExtract
final String getResponseBodyExtract()
-
getResultType
final WebhookResultDto.ResultType getResultType()
-
-
-
-