/
model_domain_dto.go
39 lines (38 loc) · 2.14 KB
/
model_domain_dto.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* MailSlurp API
*
* MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository
*
* API version: 6.5.2
* Contact: contact@mailslurp.dev
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package MailSlurpClient
import (
"time"
)
// DomainDto Domain plus verification records and status
type DomainDto struct {
Id string `json:"id"`
UserId string `json:"userId"`
// Custom domain name
Domain string `json:"domain"`
// Verification tokens
VerificationToken string `json:"verificationToken"`
// Unique token DKIM tokens
DkimTokens []string `json:"dkimTokens"`
// If the domain is missing records then show which pairs are missing.
MissingRecordsMessage *string `json:"missingRecordsMessage,omitempty"`
// Whether the domain has missing required records. If true then see the domain in the dashboard app.
HasMissingRecords bool `json:"hasMissingRecords"`
// Whether domain has been verified or not. If the domain is not verified after 72 hours there is most likely an issue with the domains DNS records.
IsVerified bool `json:"isVerified"`
// List of DNS domain name records (C, MX, TXT) etc that you must add to the DNS server associated with your domain provider.
DomainNameRecords []DomainNameRecord `json:"domainNameRecords"`
// The optional catch all inbox that will receive emails sent to the domain that cannot be matched.
CatchAllInboxId *string `json:"catchAllInboxId,omitempty"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
// Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.
DomainType string `json:"domainType"`
}