Class Recipient
java.lang.Object
sendpost_java_sdk.Recipient
@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 Recipient
extends Object
Recipient
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBccItem(CopyTo bccItem) customFields(Map<String, Object> customFields) booleanstatic RecipientCreate an instance of Recipient given an JSON stringgetBcc()Get bccgetCc()Get ccCustom fields for personalizationgetEmail()Get emailgetName()Get nameinthashCode()putCustomFieldsItem(String key, Object customFieldsItem) voidvoidvoidsetCustomFields(Map<String, Object> customFields) voidvoidtoJson()Convert an instance of Recipient 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_EMAIL
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_CC
- See Also:
-
SERIALIZED_NAME_BCC
- See Also:
-
SERIALIZED_NAME_CUSTOM_FIELDS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Recipient
public Recipient()
-
-
Method Details
-
email
-
getEmail
-
setEmail
-
name
-
getName
-
setName
-
cc
-
addCcItem
-
getCc
-
setCc
-
bcc
-
addBccItem
-
getBcc
-
setBcc
-
customFields
-
putCustomFieldsItem
-
getCustomFields
-
setCustomFields
-
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 Recipient
-
fromJson
Create an instance of Recipient given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Recipient
- Throws:
IOException- if the JSON string is invalid with respect to Recipient
-
toJson
-