@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class WebhookDeliveryStatusPayload extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebhookDeliveryStatusPayload.CustomTypeAdapterFactory |
static class |
WebhookDeliveryStatusPayload.EventNameEnum
Name of the event type webhook is being triggered for.
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_EVENT_NAME |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_INBOX_ID |
static String |
SERIALIZED_NAME_MESSAGE_ID |
static String |
SERIALIZED_NAME_PROCESSING_TIME_MILLIS |
static String |
SERIALIZED_NAME_RECEIVED |
static String |
SERIALIZED_NAME_RECIPIENTS |
static String |
SERIALIZED_NAME_REMOTE_MTA_IP |
static String |
SERIALIZED_NAME_REPORTING_MTA |
static String |
SERIALIZED_NAME_SENT_ID |
static String |
SERIALIZED_NAME_SMTP_RESPONSE |
static String |
SERIALIZED_NAME_SMTP_STATUS_CODE |
static String |
SERIALIZED_NAME_SUBJECT |
static String |
SERIALIZED_NAME_USER_ID |
static String |
SERIALIZED_NAME_WEBHOOK_ID |
static String |
SERIALIZED_NAME_WEBHOOK_NAME |
Constructor and Description |
---|
WebhookDeliveryStatusPayload() |
public static final String SERIALIZED_NAME_MESSAGE_ID
public static final String SERIALIZED_NAME_WEBHOOK_ID
public static final String SERIALIZED_NAME_EVENT_NAME
public static final String SERIALIZED_NAME_WEBHOOK_NAME
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_SENT_ID
public static final String SERIALIZED_NAME_REMOTE_MTA_IP
public static final String SERIALIZED_NAME_INBOX_ID
public static final String SERIALIZED_NAME_REPORTING_MTA
public static final String SERIALIZED_NAME_RECIPIENTS
public static final String SERIALIZED_NAME_SMTP_RESPONSE
public static final String SERIALIZED_NAME_SMTP_STATUS_CODE
public static final String SERIALIZED_NAME_PROCESSING_TIME_MILLIS
public static final String SERIALIZED_NAME_RECEIVED
public static final String SERIALIZED_NAME_SUBJECT
public WebhookDeliveryStatusPayload messageId(String messageId)
@Nonnull public String getMessageId()
public void setMessageId(String messageId)
public WebhookDeliveryStatusPayload webhookId(UUID webhookId)
@Nonnull public UUID getWebhookId()
public void setWebhookId(UUID webhookId)
public WebhookDeliveryStatusPayload eventName(WebhookDeliveryStatusPayload.EventNameEnum eventName)
@Nonnull public WebhookDeliveryStatusPayload.EventNameEnum getEventName()
public void setEventName(WebhookDeliveryStatusPayload.EventNameEnum eventName)
public WebhookDeliveryStatusPayload webhookName(String webhookName)
@Nullable public String getWebhookName()
public void setWebhookName(String webhookName)
public WebhookDeliveryStatusPayload id(UUID id)
public void setId(UUID id)
public WebhookDeliveryStatusPayload userId(UUID userId)
public void setUserId(UUID userId)
public WebhookDeliveryStatusPayload sentId(UUID sentId)
public void setSentId(UUID sentId)
public WebhookDeliveryStatusPayload remoteMtaIp(String remoteMtaIp)
@Nullable public String getRemoteMtaIp()
public void setRemoteMtaIp(String remoteMtaIp)
public WebhookDeliveryStatusPayload inboxId(UUID inboxId)
public void setInboxId(UUID inboxId)
public WebhookDeliveryStatusPayload reportingMta(String reportingMta)
@Nullable public String getReportingMta()
public void setReportingMta(String reportingMta)
public WebhookDeliveryStatusPayload recipients(List<String> recipients)
public WebhookDeliveryStatusPayload addRecipientsItem(String recipientsItem)
@Nullable public List<String> getRecipients()
public WebhookDeliveryStatusPayload smtpResponse(String smtpResponse)
@Nullable public String getSmtpResponse()
public void setSmtpResponse(String smtpResponse)
public WebhookDeliveryStatusPayload smtpStatusCode(Integer smtpStatusCode)
@Nullable public Integer getSmtpStatusCode()
public void setSmtpStatusCode(Integer smtpStatusCode)
public WebhookDeliveryStatusPayload processingTimeMillis(Long processingTimeMillis)
@Nullable public Long getProcessingTimeMillis()
public void setProcessingTimeMillis(Long processingTimeMillis)
public WebhookDeliveryStatusPayload received(OffsetDateTime received)
@Nullable public OffsetDateTime getReceived()
public void setReceived(OffsetDateTime received)
public WebhookDeliveryStatusPayload subject(String subject)
public void setSubject(String subject)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to WebhookDeliveryStatusPayloadpublic static WebhookDeliveryStatusPayload fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to WebhookDeliveryStatusPayloadpublic String toJson()
Copyright © 2023. All rights reserved.