@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class WebhookNewContactPayload extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebhookNewContactPayload.CustomTypeAdapterFactory |
static class |
WebhookNewContactPayload.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_COMPANY |
static String |
SERIALIZED_NAME_CONTACT_ID |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_EMAIL_ADDRESSES |
static String |
SERIALIZED_NAME_EVENT_NAME |
static String |
SERIALIZED_NAME_FIRST_NAME |
static String |
SERIALIZED_NAME_GROUP_ID |
static String |
SERIALIZED_NAME_LAST_NAME |
static String |
SERIALIZED_NAME_MESSAGE_ID |
static String |
SERIALIZED_NAME_META_DATA |
static String |
SERIALIZED_NAME_OPT_OUT |
static String |
SERIALIZED_NAME_PRIMARY_EMAIL_ADDRESS |
static String |
SERIALIZED_NAME_TAGS |
static String |
SERIALIZED_NAME_WEBHOOK_ID |
static String |
SERIALIZED_NAME_WEBHOOK_NAME |
Constructor and Description |
---|
WebhookNewContactPayload() |
public static final String SERIALIZED_NAME_MESSAGE_ID
public static final String SERIALIZED_NAME_WEBHOOK_ID
public static final String SERIALIZED_NAME_WEBHOOK_NAME
public static final String SERIALIZED_NAME_EVENT_NAME
public static final String SERIALIZED_NAME_CONTACT_ID
public static final String SERIALIZED_NAME_GROUP_ID
public static final String SERIALIZED_NAME_FIRST_NAME
public static final String SERIALIZED_NAME_LAST_NAME
public static final String SERIALIZED_NAME_COMPANY
public static final String SERIALIZED_NAME_PRIMARY_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_EMAIL_ADDRESSES
public static final String SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_META_DATA
public static final String SERIALIZED_NAME_OPT_OUT
public static final String SERIALIZED_NAME_CREATED_AT
public WebhookNewContactPayload messageId(String messageId)
@Nonnull public String getMessageId()
public void setMessageId(String messageId)
public WebhookNewContactPayload webhookId(UUID webhookId)
@Nonnull public UUID getWebhookId()
public void setWebhookId(UUID webhookId)
public WebhookNewContactPayload webhookName(String webhookName)
@Nullable public String getWebhookName()
public void setWebhookName(String webhookName)
public WebhookNewContactPayload eventName(WebhookNewContactPayload.EventNameEnum eventName)
@Nonnull public WebhookNewContactPayload.EventNameEnum getEventName()
public void setEventName(WebhookNewContactPayload.EventNameEnum eventName)
public WebhookNewContactPayload contactId(UUID contactId)
public void setContactId(UUID contactId)
public WebhookNewContactPayload groupId(UUID groupId)
public void setGroupId(UUID groupId)
public WebhookNewContactPayload firstName(String firstName)
public void setFirstName(String firstName)
public WebhookNewContactPayload lastName(String lastName)
public void setLastName(String lastName)
public WebhookNewContactPayload company(String company)
public void setCompany(String company)
public WebhookNewContactPayload primaryEmailAddress(String primaryEmailAddress)
@Nullable public String getPrimaryEmailAddress()
public void setPrimaryEmailAddress(String primaryEmailAddress)
public WebhookNewContactPayload emailAddresses(List<String> emailAddresses)
public WebhookNewContactPayload addEmailAddressesItem(String emailAddressesItem)
@Nonnull public List<String> getEmailAddresses()
public WebhookNewContactPayload tags(List<String> tags)
public WebhookNewContactPayload addTagsItem(String tagsItem)
public WebhookNewContactPayload metaData(Object metaData)
public void setMetaData(Object metaData)
public WebhookNewContactPayload optOut(Boolean optOut)
public void setOptOut(Boolean optOut)
public WebhookNewContactPayload 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 WebhookNewContactPayloadpublic static WebhookNewContactPayload fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to WebhookNewContactPayloadpublic String toJson()
Copyright © 2023. All rights reserved.