@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class CreateInboxForwarderOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CreateInboxForwarderOptions.CustomTypeAdapterFactory |
static class |
CreateInboxForwarderOptions.FieldEnum
Field to match against to trigger inbox forwarding for inbound email
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_FIELD |
static String |
SERIALIZED_NAME_FORWARD_TO_RECIPIENTS |
static String |
SERIALIZED_NAME_MATCH |
Constructor and Description |
---|
CreateInboxForwarderOptions() |
Modifier and Type | Method and Description |
---|---|
CreateInboxForwarderOptions |
addForwardToRecipientsItem(String forwardToRecipientsItem) |
boolean |
equals(Object o) |
CreateInboxForwarderOptions |
field(CreateInboxForwarderOptions.FieldEnum field) |
CreateInboxForwarderOptions |
forwardToRecipients(List<String> forwardToRecipients) |
static CreateInboxForwarderOptions |
fromJson(String jsonString)
Create an instance of CreateInboxForwarderOptions given an JSON string
|
CreateInboxForwarderOptions.FieldEnum |
getField()
Field to match against to trigger inbox forwarding for inbound email
|
List<String> |
getForwardToRecipients()
Email addresses to forward an email to if it matches the field and match criteria of the forwarder
|
String |
getMatch()
String or wildcard style match for field specified when evaluating forwarding rules
|
int |
hashCode() |
CreateInboxForwarderOptions |
match(String match) |
void |
setField(CreateInboxForwarderOptions.FieldEnum field) |
void |
setForwardToRecipients(List<String> forwardToRecipients) |
void |
setMatch(String match) |
String |
toJson()
Convert an instance of CreateInboxForwarderOptions 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_FIELD
public static final String SERIALIZED_NAME_MATCH
public static final String SERIALIZED_NAME_FORWARD_TO_RECIPIENTS
public CreateInboxForwarderOptions field(CreateInboxForwarderOptions.FieldEnum field)
@Nonnull public CreateInboxForwarderOptions.FieldEnum getField()
public void setField(CreateInboxForwarderOptions.FieldEnum field)
public CreateInboxForwarderOptions match(String match)
@Nonnull public String getMatch()
public void setMatch(String match)
public CreateInboxForwarderOptions forwardToRecipients(List<String> forwardToRecipients)
public CreateInboxForwarderOptions addForwardToRecipientsItem(String forwardToRecipientsItem)
@Nonnull public List<String> getForwardToRecipients()
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to CreateInboxForwarderOptionspublic static CreateInboxForwarderOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to CreateInboxForwarderOptionspublic String toJson()
Copyright © 2023. All rights reserved.