@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class EmailRecipients extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EmailRecipients.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BCC |
static String |
SERIALIZED_NAME_CC |
static String |
SERIALIZED_NAME_TO |
Constructor and Description |
---|
EmailRecipients() |
Modifier and Type | Method and Description |
---|---|
EmailRecipients |
addBccItem(Recipient bccItem) |
EmailRecipients |
addCcItem(Recipient ccItem) |
EmailRecipients |
addToItem(Recipient toItem) |
EmailRecipients |
bcc(List<Recipient> bcc) |
EmailRecipients |
cc(List<Recipient> cc) |
boolean |
equals(Object o) |
static EmailRecipients |
fromJson(String jsonString)
Create an instance of EmailRecipients given an JSON string
|
List<Recipient> |
getBcc()
Get bcc
|
List<Recipient> |
getCc()
Get cc
|
List<Recipient> |
getTo()
Get to
|
int |
hashCode() |
void |
setBcc(List<Recipient> bcc) |
void |
setCc(List<Recipient> cc) |
void |
setTo(List<Recipient> to) |
EmailRecipients |
to(List<Recipient> to) |
String |
toJson()
Convert an instance of EmailRecipients to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_TO
public static final String SERIALIZED_NAME_CC
public static final String SERIALIZED_NAME_BCC
public EmailRecipients to(List<Recipient> to)
public EmailRecipients addToItem(Recipient toItem)
public EmailRecipients cc(List<Recipient> cc)
public EmailRecipients addCcItem(Recipient ccItem)
public EmailRecipients bcc(List<Recipient> bcc)
public EmailRecipients addBccItem(Recipient bccItem)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to EmailRecipientspublic static EmailRecipients fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to EmailRecipientspublic String toJson()
Copyright © 2023. All rights reserved.