Class WebhookObject
java.lang.Object
sendpost_java_sdk.WebhookObject
@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 WebhookObject
extends Object
WebhookObject
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionemailMessage(EmailMessage emailMessage) booleanstatic WebhookObjectCreate an instance of WebhookObject given an JSON stringGet emailMessagegetEvent()Get eventinthashCode()voidsetEmailMessage(EmailMessage emailMessage) voidtoJson()Convert an instance of WebhookObject to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_EVENT
- See Also:
-
SERIALIZED_NAME_EMAIL_MESSAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WebhookObject
public WebhookObject()
-
-
Method Details
-
event
-
getEvent
-
setEvent
-
emailMessage
-
getEmailMessage
-
setEmailMessage
-
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 WebhookObject
-
fromJson
Create an instance of WebhookObject given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WebhookObject
- Throws:
IOException- if the JSON string is invalid with respect to WebhookObject
-
toJson
-