@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class ForwardEmailOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ForwardEmailOptions.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_FILTER_BOUNCED_RECIPIENTS |
static String |
SERIALIZED_NAME_FROM |
static String |
SERIALIZED_NAME_SUBJECT |
static String |
SERIALIZED_NAME_TO |
static String |
SERIALIZED_NAME_USE_INBOX_NAME |
Constructor and Description |
---|
ForwardEmailOptions() |
Modifier and Type | Method and Description |
---|---|
ForwardEmailOptions |
addBccItem(String bccItem) |
ForwardEmailOptions |
addCcItem(String ccItem) |
ForwardEmailOptions |
addToItem(String toItem) |
ForwardEmailOptions |
bcc(List<String> bcc) |
ForwardEmailOptions |
cc(List<String> cc) |
boolean |
equals(Object o) |
ForwardEmailOptions |
filterBouncedRecipients(Boolean filterBouncedRecipients) |
ForwardEmailOptions |
from(String from) |
static ForwardEmailOptions |
fromJson(String jsonString)
Create an instance of ForwardEmailOptions given an JSON string
|
List<String> |
getBcc()
Optional bcc recipients
|
List<String> |
getCc()
Optional cc recipients
|
Boolean |
getFilterBouncedRecipients()
Filter recipients to remove any bounced recipients from to, bcc, and cc before sending
|
String |
getFrom()
Optional from override
|
String |
getSubject()
Subject for forwarded email
|
List<String> |
getTo()
To recipients for forwarded email
|
Boolean |
getUseInboxName()
Optionally use inbox name as display name for sender email address
|
int |
hashCode() |
void |
setBcc(List<String> bcc) |
void |
setCc(List<String> cc) |
void |
setFilterBouncedRecipients(Boolean filterBouncedRecipients) |
void |
setFrom(String from) |
void |
setSubject(String subject) |
void |
setTo(List<String> to) |
void |
setUseInboxName(Boolean useInboxName) |
ForwardEmailOptions |
subject(String subject) |
ForwardEmailOptions |
to(List<String> to) |
String |
toJson()
Convert an instance of ForwardEmailOptions to an JSON string
|
String |
toString() |
ForwardEmailOptions |
useInboxName(Boolean useInboxName) |
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_SUBJECT
public static final String SERIALIZED_NAME_CC
public static final String SERIALIZED_NAME_BCC
public static final String SERIALIZED_NAME_FROM
public static final String SERIALIZED_NAME_USE_INBOX_NAME
public static final String SERIALIZED_NAME_FILTER_BOUNCED_RECIPIENTS
public ForwardEmailOptions to(List<String> to)
public ForwardEmailOptions addToItem(String toItem)
public ForwardEmailOptions subject(String subject)
public void setSubject(String subject)
public ForwardEmailOptions cc(List<String> cc)
public ForwardEmailOptions addCcItem(String ccItem)
public ForwardEmailOptions bcc(List<String> bcc)
public ForwardEmailOptions addBccItem(String bccItem)
public ForwardEmailOptions from(String from)
public void setFrom(String from)
public ForwardEmailOptions useInboxName(Boolean useInboxName)
@Nullable public Boolean getUseInboxName()
public void setUseInboxName(Boolean useInboxName)
public ForwardEmailOptions filterBouncedRecipients(Boolean filterBouncedRecipients)
@Nullable public Boolean getFilterBouncedRecipients()
public void setFilterBouncedRecipients(Boolean filterBouncedRecipients)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to ForwardEmailOptionspublic static ForwardEmailOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to ForwardEmailOptionspublic String toJson()
Copyright © 2023. All rights reserved.