@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class CreateAliasOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CreateAliasOptions.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_EMAIL_ADDRESS |
static String |
SERIALIZED_NAME_INBOX_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_USE_THREADS |
Constructor and Description |
---|
CreateAliasOptions() |
Modifier and Type | Method and Description |
---|---|
CreateAliasOptions |
emailAddress(String emailAddress) |
boolean |
equals(Object o) |
static CreateAliasOptions |
fromJson(String jsonString)
Create an instance of CreateAliasOptions given an JSON string
|
String |
getEmailAddress()
Email address to be hidden behind alias.
|
UUID |
getInboxId()
Optional inbox ID to attach to alias.
|
String |
getName()
Optional name for alias
|
Boolean |
getUseThreads()
Enable threads options.
|
int |
hashCode() |
CreateAliasOptions |
inboxId(UUID inboxId) |
CreateAliasOptions |
name(String name) |
void |
setEmailAddress(String emailAddress) |
void |
setInboxId(UUID inboxId) |
void |
setName(String name) |
void |
setUseThreads(Boolean useThreads) |
String |
toJson()
Convert an instance of CreateAliasOptions to an JSON string
|
String |
toString() |
CreateAliasOptions |
useThreads(Boolean useThreads) |
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_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_INBOX_ID
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_USE_THREADS
public CreateAliasOptions emailAddress(String emailAddress)
@Nonnull public String getEmailAddress()
public void setEmailAddress(String emailAddress)
public CreateAliasOptions inboxId(UUID inboxId)
@Nullable public UUID getInboxId()
public void setInboxId(UUID inboxId)
public CreateAliasOptions name(String name)
public void setName(String name)
public CreateAliasOptions useThreads(Boolean useThreads)
@Nonnull public Boolean getUseThreads()
public void setUseThreads(Boolean useThreads)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to CreateAliasOptionspublic static CreateAliasOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to CreateAliasOptionspublic String toJson()
Copyright © 2023. All rights reserved.