Class SMTPAuth
java.lang.Object
sendpost_java_sdk.SMTPAuth
@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 SMTPAuth
extends Object
SMTPAuth
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SMTPAuthCreate an instance of SMTPAuth given an JSON stringUNIX epoch nano timestamp when the SMTP Auth was createdgetId()Unique ID for the SMTP AuthPassword for the SMTP AuthUNIX epoch nano timestamp when the SMTP Auth was updatedUsername for the SMTP AuthinthashCode()voidsetCreated(Integer created) voidvoidsetPassword(String password) voidsetUpdated(Integer updated) voidsetUsername(String username) toJson()Convert an instance of SMTPAuth 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_ID
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
SERIALIZED_NAME_PASSWORD
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_UPDATED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SMTPAuth
public SMTPAuth()
-
-
Method Details
-
id
-
getId
-
setId
-
username
-
getUsername
-
setUsername
-
password
-
getPassword
-
setPassword
-
created
-
getCreated
-
setCreated
-
updated
-
getUpdated
-
setUpdated
-
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 SMTPAuth
-
fromJson
Create an instance of SMTPAuth given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SMTPAuth
- Throws:
IOException- if the JSON string is invalid with respect to SMTPAuth
-
toJson
-