@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class AliasDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AliasDto.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_EMAIL_ADDRESS |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_INBOX_ID |
static String |
SERIALIZED_NAME_IS_VERIFIED |
static String |
SERIALIZED_NAME_MASKED_EMAIL_ADDRESS |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_USE_THREADS |
static String |
SERIALIZED_NAME_USER_ID |
Constructor and Description |
---|
AliasDto() |
Modifier and Type | Method and Description |
---|---|
AliasDto |
createdAt(OffsetDateTime createdAt) |
AliasDto |
emailAddress(String emailAddress) |
boolean |
equals(Object o) |
static AliasDto |
fromJson(String jsonString)
Create an instance of AliasDto given an JSON string
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
String |
getEmailAddress()
The alias's email address for receiving email
|
UUID |
getId()
Get id
|
UUID |
getInboxId()
Inbox that is associated with the alias
|
Boolean |
getIsVerified()
Has the alias been verified.
|
String |
getMaskedEmailAddress()
The underlying email address that is hidden and will received forwarded email
|
String |
getName()
Get name
|
OffsetDateTime |
getUpdatedAt()
Get updatedAt
|
UUID |
getUserId()
Get userId
|
Boolean |
getUseThreads()
If alias will generate response threads or not when email are received by it
|
int |
hashCode() |
AliasDto |
id(UUID id) |
AliasDto |
inboxId(UUID inboxId) |
AliasDto |
isVerified(Boolean isVerified) |
AliasDto |
maskedEmailAddress(String maskedEmailAddress) |
AliasDto |
name(String name) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setEmailAddress(String emailAddress) |
void |
setId(UUID id) |
void |
setInboxId(UUID inboxId) |
void |
setIsVerified(Boolean isVerified) |
void |
setMaskedEmailAddress(String maskedEmailAddress) |
void |
setName(String name) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setUserId(UUID userId) |
void |
setUseThreads(Boolean useThreads) |
String |
toJson()
Convert an instance of AliasDto to an JSON string
|
String |
toString() |
AliasDto |
updatedAt(OffsetDateTime updatedAt) |
AliasDto |
userId(UUID userId) |
AliasDto |
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_ID
public static final String SERIALIZED_NAME_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_MASKED_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_INBOX_ID
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_USE_THREADS
public static final String SERIALIZED_NAME_IS_VERIFIED
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
public void setId(UUID id)
@Nonnull public String getEmailAddress()
public void setEmailAddress(String emailAddress)
@Nullable public String getMaskedEmailAddress()
public void setMaskedEmailAddress(String maskedEmailAddress)
public void setUserId(UUID userId)
@Nonnull public UUID getInboxId()
public void setInboxId(UUID inboxId)
public void setName(String name)
@Nullable public Boolean getUseThreads()
public void setUseThreads(Boolean useThreads)
@Nonnull public Boolean getIsVerified()
public void setIsVerified(Boolean isVerified)
public AliasDto createdAt(OffsetDateTime createdAt)
@Nullable public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public AliasDto updatedAt(OffsetDateTime updatedAt)
@Nullable public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to AliasDtopublic static AliasDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to AliasDtopublic String toJson()
Copyright © 2023. All rights reserved.