-
Notifications
You must be signed in to change notification settings - Fork 7
/
domain.go
24 lines (23 loc) · 1.08 KB
/
domain.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
package protocol
// Domain describes Domain Object Class as it is in RFC 7483, section 5.3
type Domain struct {
ObjectClassName string `json:"objectClassName"`
Handle string `json:"handle,omitempty"`
LDHName string `json:"ldhName,omitempty"`
UnicodeName string `json:"unicodeName,omitempty"`
Nameservers []Nameserver `json:"nameservers,omitempty"`
SecureDNS *SecureDNS `json:"secureDNS,omitempty"`
Arbitration bool `json:"nicbr_arbitration,omitempty"`
Links []Link `json:"links,omitempty"`
Entities []Entity `json:"entities,omitempty"`
Events []Event `json:"events,omitempty"`
Status []Status `json:"status,omitempty"`
PublicIDs []PublicID `json:"publicIds,omitempty"`
Remarks []Remark `json:"remarks,omitempty"`
Notices []Notice `json:"notices,omitempty"`
Network *IPNetwork `json:"network,omitempty"`
Unavailability string `json:"-"`
Lang string `json:"lang,omitempty"`
Conformance
Port43
}