Class Event
java.lang.Object
sendpost_java_sdk.Event
@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 Event
extends Object
Event
-
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 Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddGroupsItem(String groupsItem) booleaneventMetadata(EventMetadata eventMetadata) static EventCreate an instance of Event given an JSON stringGet accountIDGet domainIDGet eventIDGet eventMetadatagetFrom()Get fromGet fromNameGet groupsgetIpID()Get ipIDGet ipPoolIDGet messageIDGet messageSubjectGet messageTypeGet smtpCodeGet smtpDescriptionGet subAccountIDGet submittedAtgetTo()Get toGet toNameGet tpspIdgetType()Get typeinthashCode()messageSubject(String messageSubject) messageType(String messageType) voidsetAccountID(Integer accountID) voidsetDomainID(Integer domainID) voidsetEventID(String eventID) voidsetEventMetadata(EventMetadata eventMetadata) voidvoidsetFromName(String fromName) voidvoidvoidsetIpPoolID(Integer ipPoolID) voidsetMessageID(String messageID) voidsetMessageSubject(String messageSubject) voidsetMessageType(String messageType) voidsetSmtpCode(Integer smtpCode) voidsetSmtpDescription(String smtpDescription) voidsetSubAccountID(Integer subAccountID) voidsetSubmittedAt(Integer submittedAt) voidvoidvoidvoidsmtpDescription(String smtpDescription) subAccountID(Integer subAccountID) submittedAt(Integer submittedAt) toJson()Convert an instance of Event 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_I_D
- See Also:
-
SERIALIZED_NAME_GROUPS
- See Also:
-
SERIALIZED_NAME_IP_I_D
- See Also:
-
SERIALIZED_NAME_IP_POOL_I_D
- See Also:
-
SERIALIZED_NAME_DOMAIN_I_D
- See Also:
-
SERIALIZED_NAME_TPSP_ID
- See Also:
-
SERIALIZED_NAME_MESSAGE_TYPE
- See Also:
-
SERIALIZED_NAME_MESSAGE_SUBJECT
- See Also:
-
SERIALIZED_NAME_ACCOUNT_I_D
- See Also:
-
SERIALIZED_NAME_SUB_ACCOUNT_I_D
- See Also:
-
SERIALIZED_NAME_MESSAGE_I_D
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_FROM
- See Also:
-
SERIALIZED_NAME_FROM_NAME
- See Also:
-
SERIALIZED_NAME_TO
- See Also:
-
SERIALIZED_NAME_TO_NAME
- See Also:
-
SERIALIZED_NAME_SUBMITTED_AT
- See Also:
-
SERIALIZED_NAME_SMTP_CODE
- See Also:
-
SERIALIZED_NAME_SMTP_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_EVENT_METADATA
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Event
public Event()
-
-
Method Details
-
eventID
-
getEventID
-
setEventID
-
groups
-
addGroupsItem
-
getGroups
-
setGroups
-
ipID
-
getIpID
-
setIpID
-
ipPoolID
-
getIpPoolID
-
setIpPoolID
-
domainID
-
getDomainID
-
setDomainID
-
tpspId
-
getTpspId
-
setTpspId
-
messageType
-
getMessageType
-
setMessageType
-
messageSubject
-
getMessageSubject
-
setMessageSubject
-
accountID
-
getAccountID
-
setAccountID
-
subAccountID
-
getSubAccountID
-
setSubAccountID
-
messageID
-
getMessageID
-
setMessageID
-
type
-
getType
-
setType
-
from
-
getFrom
-
setFrom
-
fromName
-
getFromName
-
setFromName
-
to
-
getTo
-
setTo
-
toName
-
getToName
-
setToName
-
submittedAt
-
getSubmittedAt
-
setSubmittedAt
-
smtpCode
-
getSmtpCode
-
setSmtpCode
-
smtpDescription
-
getSmtpDescription
-
setSmtpDescription
-
eventMetadata
-
getEventMetadata
-
setEventMetadata
-
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 Event
-
fromJson
Create an instance of Event given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Event
- Throws:
IOException- if the JSON string is invalid with respect to Event
-
toJson
-