Package africa.sendbyte.domains
Class Domain
java.lang.Object
africa.sendbyte.domains.Domain
A sending domain.
Which fields are populated depends on the call: Domains.create(String)
and Domains.get(String) include dnsRecords; Domains.verify(String)
includes checks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPer-record DNS check results.The DKIM selector (e.g.DNS records to publish.The bare domain name, e.g.getId()Unique domain identifier; use as theidforDomains.verify(String).Raw status string.ISO 8601 timestamp of verification, ornullif not yet verified.voidsetChecks(List<DomainCheck> checks) voidsetCreatedAt(String createdAt) voidsetDkimSelector(String dkimSelector) voidsetDnsRecords(List<DnsRecord> dnsRecords) voidvoidvoidvoidsetVerifiedAt(String verifiedAt) status()The status as a typed enum, mapping unknown values toDomainStatus.UNKNOWN.
-
Constructor Details
-
Domain
public Domain()
-
-
Method Details
-
getId
Unique domain identifier; use as theidforDomains.verify(String). -
setId
-
getDomain
The bare domain name, e.g.paylink.ng. -
setDomain
-
getStatus
Raw status string. Seestatus()for the typed value. -
setStatus
-
status
The status as a typed enum, mapping unknown values toDomainStatus.UNKNOWN. -
getDkimSelector
The DKIM selector (e.g.sb), when returned. -
setDkimSelector
-
getDnsRecords
DNS records to publish. Present on create/get;nullon verify. -
setDnsRecords
-
getChecks
Per-record DNS check results. Present on verify;nullotherwise. -
setChecks
-
getVerifiedAt
ISO 8601 timestamp of verification, ornullif not yet verified. -
setVerifiedAt
-
getCreatedAt
-
setCreatedAt
-