Class EmailResponse
java.lang.Object
sendpost_java_sdk.EmailResponse
@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 EmailResponse
extends Object
EmailResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EmailResponseCreate an instance of EmailResponse given an JSON stringGet errorCodeGet messageMessage UUIDUNIX epoch nano timestampgetTo()Get tointhashCode()voidsetErrorCode(Integer errorCode) voidsetMessage(String message) voidsetMessageId(String messageId) voidsetSubmittedAt(Long submittedAt) voidsubmittedAt(Long submittedAt) toJson()Convert an instance of EmailResponse 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_TO
- See Also:
-
SERIALIZED_NAME_SUBMITTED_AT
- See Also:
-
SERIALIZED_NAME_MESSAGE_ID
- See Also:
-
SERIALIZED_NAME_ERROR_CODE
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
EmailResponse
public EmailResponse()
-
-
Method Details
-
to
-
getTo
-
setTo
-
submittedAt
-
getSubmittedAt
-
setSubmittedAt
-
messageId
-
getMessageId
-
setMessageId
-
errorCode
-
getErrorCode
-
setErrorCode
-
message
-
getMessage
-
setMessage
-
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 EmailResponse
-
fromJson
Create an instance of EmailResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EmailResponse
- Throws:
IOException- if the JSON string is invalid with respect to EmailResponse
-
toJson
-