lego/providers/dns/hyperone/internal/models.go
2020-08-24 23:50:52 +02:00

23 lines
553 B
Go

package internal
type Recordset struct {
RecordType string `json:"type"`
Name string `json:"name"`
TTL int `json:"ttl,omitempty"`
ID string `json:"id,omitempty"`
Record *Record `json:"record,omitempty"`
}
type Record struct {
ID string `json:"id,omitempty"`
Content string `json:"content"`
Enabled bool `json:"enabled,omitempty"`
}
type Zone struct {
ID string `json:"id"`
Name string `json:"name"`
DNSName string `json:"dnsName"`
FQDN string `json:"fqdn"`
URI string `json:"uri"`
}