Class Webhook
java.lang.Object
sendpost_java_sdk.Webhook
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-12-22T13:35:12.742682+05:30[Asia/Kolkata]",
comments="Generator version: 7.13.0")
public class Webhook
extends Object
Webhook
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic WebhookCreate an instance of Webhook given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Trigger webhook on email message link being clicked.UNIX epoch nano timestamp when the webhook was created.Member who created the webhookTrigger webhook on email message being delivered.Trigger webhook on email message being dropped.Indicates if the webhook is active or paused.Trigger webhook on email message being hard bounced.getId()Unique ID for the webhook.Trigger webhook on email message being opened.Trigger webhook on email message being processed.getSent()Trigger webhook on email message being sent.Trigger webhook on email message being dropped by SMTP.Trigger webhook on email message being soft bounced.getSpam()Trigger webhook on email message being marked as spam.Trigger webhook on unique email clicks.Trigger webhook on unique email opens.Trigger webhook on email message being unsubscribed.Member who updated the webhookgetUrl()URL endpoint to which webhook calls need to be made.hardBounced(Boolean hardBounced) inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetClicked(Boolean clicked) voidsetCreated(Long created) voidsetCreatedBy(Member createdBy) voidsetDelivered(Boolean delivered) voidsetDropped(Boolean dropped) voidsetEnabled(Boolean enabled) voidsetHardBounced(Boolean hardBounced) voidvoidvoidsetProcessed(Boolean processed) voidvoidsetSmtpDropped(Boolean smtpDropped) voidsetSoftBounced(Boolean softBounced) voidvoidsetUniqueClick(Boolean uniqueClick) voidsetUniqueOpen(Boolean uniqueOpen) voidsetUnsubscribed(Boolean unsubscribed) voidsetUpdatedBy(Member updatedBy) voidsmtpDropped(Boolean smtpDropped) softBounced(Boolean softBounced) toJson()Convert an instance of Webhook to an JSON stringtoString()uniqueClick(Boolean uniqueClick) uniqueOpen(Boolean uniqueOpen) unsubscribed(Boolean unsubscribed) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_ENABLED
- See Also:
-
SERIALIZED_NAME_URL
- See Also:
-
SERIALIZED_NAME_PROCESSED
- See Also:
-
SERIALIZED_NAME_DELIVERED
- See Also:
-
SERIALIZED_NAME_DROPPED
- See Also:
-
SERIALIZED_NAME_SOFT_BOUNCED
- See Also:
-
SERIALIZED_NAME_HARD_BOUNCED
- See Also:
-
SERIALIZED_NAME_OPENED
- See Also:
-
SERIALIZED_NAME_CLICKED
- See Also:
-
SERIALIZED_NAME_UNSUBSCRIBED
- See Also:
-
SERIALIZED_NAME_SPAM
- See Also:
-
SERIALIZED_NAME_SENT
- See Also:
-
SERIALIZED_NAME_SMTP_DROPPED
- See Also:
-
SERIALIZED_NAME_UNIQUE_OPEN
- See Also:
-
SERIALIZED_NAME_UNIQUE_CLICK
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_CREATED_BY
- See Also:
-
SERIALIZED_NAME_UPDATED_BY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Webhook
public Webhook()
-
-
Method Details
-
id
-
getId
-
setId
-
enabled
-
getEnabled
-
setEnabled
-
url
-
getUrl
-
setUrl
-
processed
-
getProcessed
-
setProcessed
-
delivered
-
getDelivered
-
setDelivered
-
dropped
-
getDropped
-
setDropped
-
softBounced
-
getSoftBounced
-
setSoftBounced
-
hardBounced
-
getHardBounced
-
setHardBounced
-
opened
-
getOpened
-
setOpened
-
clicked
-
getClicked
-
setClicked
-
unsubscribed
-
getUnsubscribed
-
setUnsubscribed
-
spam
-
getSpam
-
setSpam
-
sent
-
getSent
-
setSent
-
smtpDropped
-
getSmtpDropped
-
setSmtpDropped
-
uniqueOpen
-
getUniqueOpen
-
setUniqueOpen
-
uniqueClick
-
getUniqueClick
-
setUniqueClick
-
created
-
getCreated
-
setCreated
-
createdBy
-
getCreatedBy
-
setCreatedBy
-
updatedBy
-
getUpdatedBy
-
setUpdatedBy
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the Webhook instance itself
-
getAdditionalProperties
-
getAdditionalProperty
-
equals
-
hashCode
-
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to Webhook
-
fromJson
Create an instance of Webhook given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Webhook
- Throws:
IOException- if the JSON string is invalid with respect to Webhook
-
toJson
-