@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class WebhookBounceRecipientPayload extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebhookBounceRecipientPayload.CustomTypeAdapterFactory |
static class |
WebhookBounceRecipientPayload.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_MESSAGE_ID |
static String |
SERIALIZED_NAME_RECIPIENT |
static String |
SERIALIZED_NAME_WEBHOOK_ID |
static String |
SERIALIZED_NAME_WEBHOOK_NAME |
Constructor and Description |
---|
WebhookBounceRecipientPayload() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
WebhookBounceRecipientPayload |
eventName(WebhookBounceRecipientPayload.EventNameEnum eventName) |
static WebhookBounceRecipientPayload |
fromJson(String jsonString)
Create an instance of WebhookBounceRecipientPayload given an JSON string
|
WebhookBounceRecipientPayload.EventNameEnum |
getEventName()
Name of the event type webhook is being triggered for.
|
String |
getMessageId()
Idempotent message ID.
|
String |
getRecipient()
Email address that caused a bounce.
|
UUID |
getWebhookId()
ID of webhook entity being triggered
|
String |
getWebhookName()
Name of the webhook being triggered
|
int |
hashCode() |
WebhookBounceRecipientPayload |
messageId(String messageId) |
WebhookBounceRecipientPayload |
recipient(String recipient) |
void |
setEventName(WebhookBounceRecipientPayload.EventNameEnum eventName) |
void |
setMessageId(String messageId) |
void |
setRecipient(String recipient) |
void |
setWebhookId(UUID webhookId) |
void |
setWebhookName(String webhookName) |
String |
toJson()
Convert an instance of WebhookBounceRecipientPayload 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
|
WebhookBounceRecipientPayload |
webhookId(UUID webhookId) |
WebhookBounceRecipientPayload |
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_RECIPIENT
public WebhookBounceRecipientPayload messageId(String messageId)
@Nonnull public String getMessageId()
public void setMessageId(String messageId)
public WebhookBounceRecipientPayload webhookId(UUID webhookId)
@Nonnull public UUID getWebhookId()
public void setWebhookId(UUID webhookId)
public WebhookBounceRecipientPayload eventName(WebhookBounceRecipientPayload.EventNameEnum eventName)
@Nonnull public WebhookBounceRecipientPayload.EventNameEnum getEventName()
public void setEventName(WebhookBounceRecipientPayload.EventNameEnum eventName)
public WebhookBounceRecipientPayload webhookName(String webhookName)
@Nullable public String getWebhookName()
public void setWebhookName(String webhookName)
public WebhookBounceRecipientPayload recipient(String recipient)
@Nonnull public String getRecipient()
public void setRecipient(String recipient)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to WebhookBounceRecipientPayloadpublic static WebhookBounceRecipientPayload fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to WebhookBounceRecipientPayloadpublic String toJson()
Copyright © 2023. All rights reserved.