1
0
mirror of https://github.com/go-acme/lego.git synced 2024-12-14 06:06:10 +02:00
lego/providers/dns/hyperone/internal/models.go
2020-08-24 23:50:52 +02:00

24 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"`
}