From 8b6e5263d07d9cc0ad5cae21cceca8700dd3abec Mon Sep 17 00:00:00 2001 From: slugalisk Date: Sat, 29 Jun 2019 02:17:27 -0700 Subject: [PATCH] Added support for all get-tld-list parameters --- domain.go | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/domain.go b/domain.go index aefb601..26f7d9f 100644 --- a/domain.go +++ b/domain.go @@ -67,7 +67,25 @@ type DomainCheckResult struct { } type TLDListResult struct { - Name string `xml:"Name,attr"` + Name string `xml:"Name,attr"` + NonRealTimeDomain bool `xml:"NonRealTimeDomain,attr"` + MinRegisterYears int `xml:"MinRegisterYears,attr"` + MaxRegisterYears int `xml:"MaxRegisterYears,attr"` + MinRenewYears int `xml:"MinRenewYears,attr"` + MaxRenewYears int `xml:"MaxRenewYears,attr"` + MinTransferYears int `xml:"MinTransferYears,attr"` + MaxTransferYears int `xml:"MaxTransferYears,attr"` + IsAPIRegisterable bool `xml:"IsApiRegisterable,attr"` + IsAPIRenewable bool `xml:"IsApiRenewable,attr"` + IsAPITransferable bool `xml:"IsApiTransferable,attr"` + IsEppRequired bool `xml:"IsEppRequired,attr"` + IsDisableModContact bool `xml:"IsDisableModContact,attr"` + IsDisableWGAllot bool `xml:"IsDisableWGAllot,attr"` + IsIncludeInExtendedSearchOnly bool `xml:"IsIncludeInExtendedSearchOnly,attr"` + SequenceNumber int `xml:"SequenceNumber,attr"` + Type string `xml:"Type,attr"` + IsSupportsIDN bool `xml:"IsSupportsIDN,attr"` + Category string `xml:"Category,attr"` } type DomainCreateResult struct {