@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class DomainDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DomainDto.CustomTypeAdapterFactory |
static class |
DomainDto.DomainTypeEnum
Type of domain.
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CATCH_ALL_INBOX_ID |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_DKIM_TOKENS |
static String |
SERIALIZED_NAME_DOMAIN |
static String |
SERIALIZED_NAME_DOMAIN_NAME_RECORDS |
static String |
SERIALIZED_NAME_DOMAIN_TYPE |
static String |
SERIALIZED_NAME_HAS_MISSING_RECORDS |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_IS_VERIFIED |
static String |
SERIALIZED_NAME_MISSING_RECORDS_MESSAGE |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_USER_ID |
static String |
SERIALIZED_NAME_VERIFICATION_TOKEN |
Constructor and Description |
---|
DomainDto() |
Modifier and Type | Method and Description |
---|---|
DomainDto |
addDkimTokensItem(String dkimTokensItem) |
DomainDto |
addDomainNameRecordsItem(DomainNameRecord domainNameRecordsItem) |
DomainDto |
catchAllInboxId(UUID catchAllInboxId) |
DomainDto |
createdAt(OffsetDateTime createdAt) |
DomainDto |
dkimTokens(List<String> dkimTokens) |
DomainDto |
domain(String domain) |
DomainDto |
domainNameRecords(List<DomainNameRecord> domainNameRecords) |
DomainDto |
domainType(DomainDto.DomainTypeEnum domainType) |
boolean |
equals(Object o) |
static DomainDto |
fromJson(String jsonString)
Create an instance of DomainDto given an JSON string
|
UUID |
getCatchAllInboxId()
The optional catch all inbox that will receive emails sent to the domain that cannot be matched.
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
List<String> |
getDkimTokens()
Unique token DKIM tokens
|
String |
getDomain()
Custom domain name
|
List<DomainNameRecord> |
getDomainNameRecords()
List of DNS domain name records (C, MX, TXT) etc that you must add to the DNS server associated with your domain provider.
|
DomainDto.DomainTypeEnum |
getDomainType()
Type of domain.
|
Boolean |
getHasMissingRecords()
Whether the domain has missing required records.
|
UUID |
getId()
Get id
|
Boolean |
getIsVerified()
Whether domain has been verified or not.
|
String |
getMissingRecordsMessage()
If the domain is missing records then show which pairs are missing.
|
OffsetDateTime |
getUpdatedAt()
Get updatedAt
|
UUID |
getUserId()
Get userId
|
String |
getVerificationToken()
Verification tokens
|
int |
hashCode() |
DomainDto |
hasMissingRecords(Boolean hasMissingRecords) |
DomainDto |
id(UUID id) |
DomainDto |
isVerified(Boolean isVerified) |
DomainDto |
missingRecordsMessage(String missingRecordsMessage) |
void |
setCatchAllInboxId(UUID catchAllInboxId) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setDkimTokens(List<String> dkimTokens) |
void |
setDomain(String domain) |
void |
setDomainNameRecords(List<DomainNameRecord> domainNameRecords) |
void |
setDomainType(DomainDto.DomainTypeEnum domainType) |
void |
setHasMissingRecords(Boolean hasMissingRecords) |
void |
setId(UUID id) |
void |
setIsVerified(Boolean isVerified) |
void |
setMissingRecordsMessage(String missingRecordsMessage) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setUserId(UUID userId) |
void |
setVerificationToken(String verificationToken) |
String |
toJson()
Convert an instance of DomainDto to an JSON string
|
String |
toString() |
DomainDto |
updatedAt(OffsetDateTime updatedAt) |
DomainDto |
userId(UUID userId) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
DomainDto |
verificationToken(String verificationToken) |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_DOMAIN
public static final String SERIALIZED_NAME_VERIFICATION_TOKEN
public static final String SERIALIZED_NAME_DKIM_TOKENS
public static final String SERIALIZED_NAME_MISSING_RECORDS_MESSAGE
public static final String SERIALIZED_NAME_HAS_MISSING_RECORDS
public static final String SERIALIZED_NAME_IS_VERIFIED
public static final String SERIALIZED_NAME_DOMAIN_NAME_RECORDS
public static final String SERIALIZED_NAME_CATCH_ALL_INBOX_ID
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_DOMAIN_TYPE
public void setId(UUID id)
public void setUserId(UUID userId)
public void setDomain(String domain)
@Nonnull public String getVerificationToken()
public void setVerificationToken(String verificationToken)
@Nonnull public List<String> getDkimTokens()
@Nullable public String getMissingRecordsMessage()
public void setMissingRecordsMessage(String missingRecordsMessage)
@Nonnull public Boolean getHasMissingRecords()
public void setHasMissingRecords(Boolean hasMissingRecords)
@Nonnull public Boolean getIsVerified()
public void setIsVerified(Boolean isVerified)
public DomainDto domainNameRecords(List<DomainNameRecord> domainNameRecords)
public DomainDto addDomainNameRecordsItem(DomainNameRecord domainNameRecordsItem)
@Nonnull public List<DomainNameRecord> getDomainNameRecords()
public void setDomainNameRecords(List<DomainNameRecord> domainNameRecords)
@Nullable public UUID getCatchAllInboxId()
public void setCatchAllInboxId(UUID catchAllInboxId)
public DomainDto createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public DomainDto updatedAt(OffsetDateTime updatedAt)
@Nonnull public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public DomainDto domainType(DomainDto.DomainTypeEnum domainType)
@Nonnull public DomainDto.DomainTypeEnum getDomainType()
public void setDomainType(DomainDto.DomainTypeEnum domainType)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to DomainDtopublic static DomainDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to DomainDtopublic String toJson()
Copyright © 2023. All rights reserved.