@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class CreateInboxDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CreateInboxDto.CustomTypeAdapterFactory |
static class |
CreateInboxDto.InboxTypeEnum
Type of inbox.
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ALLOW_TEAM_ACCESS |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_DOMAIN_ID |
static String |
SERIALIZED_NAME_DOMAIN_NAME |
static String |
SERIALIZED_NAME_EMAIL_ADDRESS |
static String |
SERIALIZED_NAME_EXPIRES_AT |
static String |
SERIALIZED_NAME_EXPIRES_IN |
static String |
SERIALIZED_NAME_FAVOURITE |
static String |
SERIALIZED_NAME_INBOX_TYPE |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_TAGS |
static String |
SERIALIZED_NAME_USE_DOMAIN_POOL |
static String |
SERIALIZED_NAME_USE_SHORT_ADDRESS |
static String |
SERIALIZED_NAME_VIRTUAL_INBOX |
Constructor and Description |
---|
CreateInboxDto() |
Modifier and Type | Method and Description |
---|---|
CreateInboxDto |
addTagsItem(String tagsItem) |
CreateInboxDto |
allowTeamAccess(Boolean allowTeamAccess) |
CreateInboxDto |
description(String description) |
CreateInboxDto |
domainId(UUID domainId) |
CreateInboxDto |
domainName(String domainName) |
CreateInboxDto |
emailAddress(String emailAddress) |
boolean |
equals(Object o) |
CreateInboxDto |
expiresAt(OffsetDateTime expiresAt) |
CreateInboxDto |
expiresIn(Long expiresIn) |
CreateInboxDto |
favourite(Boolean favourite) |
static CreateInboxDto |
fromJson(String jsonString)
Create an instance of CreateInboxDto given an JSON string
|
Boolean |
getAllowTeamAccess()
DEPRECATED (team access is always true).
|
String |
getDescription()
Optional description of the inbox for labelling purposes.
|
UUID |
getDomainId()
ID of custom domain to use for email address.
|
String |
getDomainName()
FQDN domain name for the domain you have verified.
|
String |
getEmailAddress()
A custom email address to use with the inbox.
|
OffsetDateTime |
getExpiresAt()
Optional inbox expiration date.
|
Long |
getExpiresIn()
Number of milliseconds that inbox should exist for
|
Boolean |
getFavourite()
Is the inbox a favorite.
|
CreateInboxDto.InboxTypeEnum |
getInboxType()
Type of inbox.
|
String |
getName()
Optional name of the inbox.
|
List<String> |
getTags()
Tags that inbox has been tagged with.
|
Boolean |
getUseDomainPool()
Use the MailSlurp domain name pool with this inbox when creating the email address.
|
Boolean |
getUseShortAddress()
Use a shorter email address under 31 characters
|
Boolean |
getVirtualInbox()
Virtual inbox prevents any outbound emails from being sent.
|
int |
hashCode() |
CreateInboxDto |
inboxType(CreateInboxDto.InboxTypeEnum inboxType) |
CreateInboxDto |
name(String name) |
void |
setAllowTeamAccess(Boolean allowTeamAccess) |
void |
setDescription(String description) |
void |
setDomainId(UUID domainId) |
void |
setDomainName(String domainName) |
void |
setEmailAddress(String emailAddress) |
void |
setExpiresAt(OffsetDateTime expiresAt) |
void |
setExpiresIn(Long expiresIn) |
void |
setFavourite(Boolean favourite) |
void |
setInboxType(CreateInboxDto.InboxTypeEnum inboxType) |
void |
setName(String name) |
void |
setTags(List<String> tags) |
void |
setUseDomainPool(Boolean useDomainPool) |
void |
setUseShortAddress(Boolean useShortAddress) |
void |
setVirtualInbox(Boolean virtualInbox) |
CreateInboxDto |
tags(List<String> tags) |
String |
toJson()
Convert an instance of CreateInboxDto to an JSON string
|
String |
toString() |
CreateInboxDto |
useDomainPool(Boolean useDomainPool) |
CreateInboxDto |
useShortAddress(Boolean useShortAddress) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
CreateInboxDto |
virtualInbox(Boolean virtualInbox) |
public static final String SERIALIZED_NAME_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_DOMAIN_NAME
public static final String SERIALIZED_NAME_DOMAIN_ID
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_USE_DOMAIN_POOL
public static final String SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_EXPIRES_AT
public static final String SERIALIZED_NAME_FAVOURITE
public static final String SERIALIZED_NAME_EXPIRES_IN
public static final String SERIALIZED_NAME_ALLOW_TEAM_ACCESS
public static final String SERIALIZED_NAME_INBOX_TYPE
public static final String SERIALIZED_NAME_VIRTUAL_INBOX
public static final String SERIALIZED_NAME_USE_SHORT_ADDRESS
public CreateInboxDto emailAddress(String emailAddress)
@Nullable public String getEmailAddress()
public void setEmailAddress(String emailAddress)
public CreateInboxDto domainName(String domainName)
@Nullable public String getDomainName()
public void setDomainName(String domainName)
public CreateInboxDto domainId(UUID domainId)
@Nullable public UUID getDomainId()
public void setDomainId(UUID domainId)
public CreateInboxDto name(String name)
@Nullable public String getName()
public void setName(String name)
public CreateInboxDto description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public CreateInboxDto useDomainPool(Boolean useDomainPool)
@Nullable public Boolean getUseDomainPool()
public void setUseDomainPool(Boolean useDomainPool)
public CreateInboxDto tags(List<String> tags)
public CreateInboxDto addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
public CreateInboxDto expiresAt(OffsetDateTime expiresAt)
@Nullable public OffsetDateTime getExpiresAt()
public void setExpiresAt(OffsetDateTime expiresAt)
public CreateInboxDto favourite(Boolean favourite)
@Nullable public Boolean getFavourite()
public void setFavourite(Boolean favourite)
public CreateInboxDto expiresIn(Long expiresIn)
@Nullable public Long getExpiresIn()
public void setExpiresIn(Long expiresIn)
public CreateInboxDto allowTeamAccess(Boolean allowTeamAccess)
@Nullable public Boolean getAllowTeamAccess()
public void setAllowTeamAccess(Boolean allowTeamAccess)
public CreateInboxDto inboxType(CreateInboxDto.InboxTypeEnum inboxType)
@Nullable public CreateInboxDto.InboxTypeEnum getInboxType()
public void setInboxType(CreateInboxDto.InboxTypeEnum inboxType)
public CreateInboxDto virtualInbox(Boolean virtualInbox)
@Nullable public Boolean getVirtualInbox()
public void setVirtualInbox(Boolean virtualInbox)
public CreateInboxDto useShortAddress(Boolean useShortAddress)
@Nullable public Boolean getUseShortAddress()
public void setUseShortAddress(Boolean useShortAddress)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to CreateInboxDtopublic static CreateInboxDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to CreateInboxDtopublic String toJson()
Copyright © 2023. All rights reserved.