@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class WebhookEmailOpenedPayload extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebhookEmailOpenedPayload.CustomTypeAdapterFactory |
static class |
WebhookEmailOpenedPayload.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_CREATED_AT |
static String |
SERIALIZED_NAME_EVENT_NAME |
static String |
SERIALIZED_NAME_INBOX_ID |
static String |
SERIALIZED_NAME_MESSAGE_ID |
static String |
SERIALIZED_NAME_PIXEL_ID |
static String |
SERIALIZED_NAME_RECIPIENT |
static String |
SERIALIZED_NAME_SENT_EMAIL_ID |
static String |
SERIALIZED_NAME_WEBHOOK_ID |
static String |
SERIALIZED_NAME_WEBHOOK_NAME |
Constructor and Description |
---|
WebhookEmailOpenedPayload() |
Modifier and Type | Method and Description |
---|---|
WebhookEmailOpenedPayload |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o) |
WebhookEmailOpenedPayload |
eventName(WebhookEmailOpenedPayload.EventNameEnum eventName) |
static WebhookEmailOpenedPayload |
fromJson(String jsonString)
Create an instance of WebhookEmailOpenedPayload given an JSON string
|
OffsetDateTime |
getCreatedAt()
Date time of event creation
|
WebhookEmailOpenedPayload.EventNameEnum |
getEventName()
Name of the event type webhook is being triggered for.
|
UUID |
getInboxId()
Id of the inbox
|
String |
getMessageId()
Idempotent message ID.
|
UUID |
getPixelId()
ID of the tracking pixel
|
String |
getRecipient()
Email address for the recipient of the tracking pixel
|
UUID |
getSentEmailId()
ID of sent email
|
UUID |
getWebhookId()
ID of webhook entity being triggered
|
String |
getWebhookName()
Name of the webhook being triggered
|
int |
hashCode() |
WebhookEmailOpenedPayload |
inboxId(UUID inboxId) |
WebhookEmailOpenedPayload |
messageId(String messageId) |
WebhookEmailOpenedPayload |
pixelId(UUID pixelId) |
WebhookEmailOpenedPayload |
recipient(String recipient) |
WebhookEmailOpenedPayload |
sentEmailId(UUID sentEmailId) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setEventName(WebhookEmailOpenedPayload.EventNameEnum eventName) |
void |
setInboxId(UUID inboxId) |
void |
setMessageId(String messageId) |
void |
setPixelId(UUID pixelId) |
void |
setRecipient(String recipient) |
void |
setSentEmailId(UUID sentEmailId) |
void |
setWebhookId(UUID webhookId) |
void |
setWebhookName(String webhookName) |
String |
toJson()
Convert an instance of WebhookEmailOpenedPayload to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
WebhookEmailOpenedPayload |
webhookId(UUID webhookId) |
WebhookEmailOpenedPayload |
webhookName(String webhookName) |
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_INBOX_ID
public static final String SERIALIZED_NAME_PIXEL_ID
public static final String SERIALIZED_NAME_SENT_EMAIL_ID
public static final String SERIALIZED_NAME_RECIPIENT
public static final String SERIALIZED_NAME_CREATED_AT
public WebhookEmailOpenedPayload messageId(String messageId)
@Nonnull public String getMessageId()
public void setMessageId(String messageId)
public WebhookEmailOpenedPayload webhookId(UUID webhookId)
@Nonnull public UUID getWebhookId()
public void setWebhookId(UUID webhookId)
public WebhookEmailOpenedPayload eventName(WebhookEmailOpenedPayload.EventNameEnum eventName)
@Nonnull public WebhookEmailOpenedPayload.EventNameEnum getEventName()
public void setEventName(WebhookEmailOpenedPayload.EventNameEnum eventName)
public WebhookEmailOpenedPayload webhookName(String webhookName)
@Nullable public String getWebhookName()
public void setWebhookName(String webhookName)
public WebhookEmailOpenedPayload inboxId(UUID inboxId)
public void setInboxId(UUID inboxId)
public WebhookEmailOpenedPayload pixelId(UUID pixelId)
public void setPixelId(UUID pixelId)
public WebhookEmailOpenedPayload sentEmailId(UUID sentEmailId)
public void setSentEmailId(UUID sentEmailId)
public WebhookEmailOpenedPayload recipient(String recipient)
@Nonnull public String getRecipient()
public void setRecipient(String recipient)
public WebhookEmailOpenedPayload createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to WebhookEmailOpenedPayloadpublic static WebhookEmailOpenedPayload fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to WebhookEmailOpenedPayloadpublic String toJson()
Copyright © 2023. All rights reserved.