response

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Administrator

type Administrator struct {
	OrganizationName string `xml:"AdminOrganizationName"      json:"organization_name"`
	JobTitle         string `xml:"AdminJobTitle"              json:"job_title"`
	FirstName        string `xml:"AdminFirstName"             json:"first_name"`
	LastName         string `xml:"AdminLastName"              json:"last_name"`
	Address1         string `xml:"AdminAddress1"              json:"address_1"`
	Address2         string `xml:"AdminAddress2"              json:"address_2"`
	City             string `xml:"AdminCity"                  json:"city"`
	Country          string `xml:"AdminCountry"               json:"country"`
	StateProvince    string `xml:"AdminStateProvince"         json:"state_province"`
	PostalCode       string `xml:"AdminPostalCode"            json:"postal_code"`
	Email            string `xml:"AdminEmailAddress"          json:"email"`
	Phone            string `xml:"AdminPhone"                 json:"phone"`
	PhoneExtension   string `xml:"AdminPhoneExt"              json:"phone_extension"`
	Fax              string `xml:"AdminFax"                   json:"fax"`
}

type AuxiliarBilling

type AuxiliarBilling struct {
	OrganizationName string `xml:"AuxBillingOrganizationName" json:"organization_name"`
	JobTitle         string `xml:"AuxBillingJobTitle"         json:"job_title"`
	FirstName        string `xml:"AuxBillingFirstName"        json:"first_name"`
	LastName         string `xml:"AuxBillingLastName"         json:"last_name"`
	Address1         string `xml:"AuxBillingAddress1"         json:"address_1"`
	Address2         string `xml:"AuxBillingAddress2"         json:"address_2"`
	City             string `xml:"AuxBillingCity"             json:"city"`
	Country          string `xml:"AuxBillingCountry"          json:"country"`
	StateProvince    string `xml:"AuxBillingStateProvince"    json:"state_province"`
	PostalCode       string `xml:"AuxBillingPostalCode"       json:"postal_code"`
	Email            string `xml:"AuxBillingEmailAddress"     json:"email"`
	Phone            string `xml:"AuxBillingPhone"            json:"phone"`
	PhoneExtension   string `xml:"AuxBillingPhoneExt"         json:"phone_extension"`
	Fax              string `xml:"AuxBillingFax"              json:"fax"`
}

type Billing

type Billing struct {
	OrganizationName string `xml:"BillingOrganizationName"    json:"organization_name"`
	JobTitle         string `xml:"BillingJobTitle"            json:"job_title"`
	FirstName        string `xml:"BillingFirstName"           json:"first_name"`
	LastName         string `xml:"BillingLastName"            json:"last_name"`
	Address1         string `xml:"BillingAddress1"            json:"address_1"`
	Address2         string `xml:"BillingAddress2"            json:"address_2"`
	City             string `xml:"BillingCity"                json:"city"`
	Country          string `xml:"BillingCountry"             json:"country"`
	StateProvince    string `xml:"BillingStateProvince"       json:"state_province"`
	PostalCode       string `xml:"BillingPostalCode"          json:"postal_code"`
	Email            string `xml:"BillingEmailAddress"        json:"email"`
	Phone            string `xml:"BillingPhone"               json:"phone"`
	PhoneExtension   string `xml:"BillingPhoneExt"            json:"phone_extension"`
	Fax              string `xml:"BillingFax"                 json:"fax"`
}

type CheckNSStatus

type CheckNSStatus struct {
	Response

	Name         string   `xml:"CheckNsStatus>name"          json:"name"`
	AttribId     string   `xml:"CheckNsStatus>attrib-id"     json:"attrib_id"`
	IpAddress    string   `xml:"CheckNsStatus>ipaddress"     json:"ip_address"`
	AttribUpId   string   `xml:"CheckNsStatus>attrib-upid"   json:"attrib_up_id"`
	AttribClId   string   `xml:"CheckNsStatus>attrib-clid"   json:"attrib_cl_id"`
	AttribCrId   string   `xml:"CheckNsStatus>attrib-crid"   json:"attrib_cr_id"`
	Statuses     []string `xml:"CheckNsStatus>status>status" json:"statuses"`
	AttribUpdate string   `xml:"CheckNsStatus>attrib-update" json:"attrib_update"`
	AttribCrdate string   `xml:"CheckNsStatus>attrib-crdate" json:"attrib_crdate"`
}

type Contact

type Contact struct {
	Type           string `xml:"ContactType,attr"                     json:"type"`
	Organization   string `xml:"Organization"                         json:"organization"`
	FirstName      string `xml:"FName"                                json:"first_name"`
	LastName       string `xml:"LName"                                json:"last_name"`
	Address        string `xml:"Address1"                             json:"address_1"`
	AddressNumber  string `xml:"Address2"                             json:"address_2"`
	City           string `xml:"City"                                 json:"city"`
	State          string `xml:"StateProvince"                        json:"state_province"`
	PostalCode     string `xml:"PostalCode"                           json:"postal_code"`
	Country        string `xml:"Country"                              json:"country"`
	PhoneNumber    string `xml:"Phone"                                json:"phone"`
	PhoneExtension string `xml:"PhoneExt"                             json:"phone_extension"`
	FaxNumber      string `xml:"Fax"                                  json:"fax"`
	Email          string `xml:"EmailAddress"                         json:"email"`
}

type Contacts

type Contacts struct {
	Response

	Registrant      Registrant      `xml:"GetContacts>Registrant"          json:"registrant"`
	AuxiliarBilling AuxiliarBilling `xml:"GetContacts>AuxBilling"          json:"auxiliar_billing"`
	Technical       Technical       `xml:"GetContacts>Tech"                json:"technical"`
	Administrator   Administrator   `xml:"GetContacts>Admin"               json:"administrator"`
	Billing         Billing         `xml:"GetContacts>Billing"             json:"billing"`

	PendingVerification bool   `xml:"GetContacts>PendingVerification" json:"pending_verification"`
	WPPSAllowed         int    `xml:"GetContacts>WPPSAllowed"         json:"wpps_allowed"`
	WPPSExists          int    `xml:"GetContacts>WPPSExists"          json:"wpps_exists"`
	WPPSEnabled         int    `xml:"GetContacts>WPPSEnabled"         json:"wpps_enabled"`
	WPPSExpirationDate  string `xml:"GetContacts>WPPSExpDate"         json:"wpps_expiration_date"`
	WPPSAutoRenew       string `xml:"GetContacts>WPPSAutoRenew"       json:"wpps_auto_renew"`

	WPPSContactData WPPSContactData `xml:"GetContacts>WPPSContactData"     json:"wpps_contact_data"`
}

type CreateTransferOrder

type CreateTransferOrder struct {
	Response

	TransferOrderID int     `xml:"transferorder>transferorderid"     json:"transfer_order_id"`
	OrderDate       string  `xml:"transferorder>orderdate"           json:"order_date"`
	OrderTypeID     int     `xml:"transferorder>ordertypeid"         json:"order_type_id"`
	OrderTypeDesc   string  `xml:"transferorder>ordertypedesc"       json:"order_type_description"`
	StatusID        int     `xml:"transferorder>statusid"            json:"status_id"`
	StatusDesc      string  `xml:"transferorder>statusdesc"          json:"status_description"`
	AuthAmount      float32 `xml:"transferorder>authamount"          json:"auth_amount"`
	Version         int     `xml:"transferorder>version"             json:"version"`

	TransferOrderDetail TPDetail `xml:"transferorder>transferorderdetail" json:"transfer_order_detail"`
}

type Delete

type Delete struct {
	Response

	DomainDeleted bool `xml:"deletedomain>domaindeleted" json:"domain_deleted"`
}

type DomainCheck

type DomainCheck struct {
	Response
	Name       string            `xml:"Name" json:"name"`
	IsPremium  bool              `xml:"IsPremium" json:"is_premium"`
	IsPlatinum bool              `xml:"IsPlatinum" json:"is_platinum"`
	IsEAP      bool              `xml:"IsEAP" json:"is_eap"`
	Prices     DomainCheckPrices `xml:"Prices" json:"prices"`
}

func (DomainCheck) IsAvailable

func (r DomainCheck) IsAvailable() bool

type DomainCheckPrices

type DomainCheckPrices struct {
	Registration string `xml:"Registration" json:"Registration"`
	Renewal      string `xml:"Renewal" json:"Renewal"`
	Restore      string `xml:"Restore" json:"Restore"`
	Transfer     string `xml:"Transfer" json:"Transfer"`
}

type DomainHost added in v0.1.3

type DomainHost struct {
	XMLName xml.Name `xml:"host"`
	Name    string   `xml:"name" json:"name"`
	Type    string   `xml:"type" json:"type"`
	Address string   `xml:"address" json:"address"`
	HostID  string   `xml:"hostid" json:"host_id"`
}

type DomainHostDomainLimits added in v0.1.3

type DomainHostDomainLimits struct {
	HostsRecordLimit int `xml:"HostsRecordLimit" json:"hosts_record_limit"`
	MailForwardLimit int `xml:"MailForwardLimit" json:"mail_forward_limit"`
}

type DomainHostDomainServices added in v0.1.3

type DomainHostDomainServices struct {
	XMLName         xml.Name `xml:"DomainServices"`
	EmailForwarding bool     `xml:"EmailForwarding" json:"email_forwarding"`
	HostRecords     bool     `xml:"HostRecords" json:"host_records"`
}

type DomainInfo

type DomainInfo struct {
	Response

	MultyLangSLD string     `xml:"GetDomainInfo>multy-langSLD"  json:"multy_lang_sld"`
	DomainName   DomainName `xml:"GetDomainInfo>domainname"     json:"domain_name"`
	Status       Status     `xml:"GetDomainInfo>status"         json:"status"`
	Services     []Entry    `xml:"GetDomainInfo>services>entry" json:"services"`

	ParkingEnabled bool `xml:"GetDomainInfo>ParkingEnabled" json:"parking_enabled"`
}

type DomainName

type DomainName struct {
	Sld          string `xml:"sld,attr"                     json:"sld"`
	Tld          string `xml:"tld,attr"                     json:"tld"`
	DomainNameId int32  `xml:"domainnameid,attr"            json:"domain_name_id"`
	DomainId     string `xml:",chardata"                    json:"domain_id"`
}

type DomainPurchase

type DomainPurchase struct {
	Response
	OrderID           string             `xml:"OrderID" json:"order_id"`
	OrderDelayed      bool               `xml:"OrderDelayed" json:"order_delayed"`
	OrderStatus       string             `xml:"OrderStatus" json:"order_status"`
	DomainInfo        DomainPurchaseInfo `xml:"Info" json:"domain_info"`
	TotalCharged      float32            `xml:"TotalCharged" json:"total_charged"`
	RegistrantPartyID string             `xml:"RegistrantPartyID"  json:"registrant_party_id"`
}

type DomainPurchaseInfo

type DomainPurchaseInfo struct {
	RegistryCreateDate string `xml:"RegistryCreateDate" json:"registry_create_date"`
	RegistryExpDate    string `xml:"RegistryExpDate" json:"registry_exp_date"`
}

type EDomainInfo

type EDomainInfo struct {
	RegistryExpDate string `xml:"RegistryExpDate" json:"registry_expiration_date"`
}

type Entry

type Entry struct {
	Name string `xml:"name,attr"                    json:"name"`
}

type Extend

type Extend struct {
	Response

	Extension  string `xml:"Extension"  json:"extension"`
	DomainName string `xml:"DomainName" json:"domain_name"`
	OrderID    int    `xml:"OrderID"    json:"order_id"`

	DomainInfo EDomainInfo `xml:"Info" json:"domain_info"`
}

type GetHosts added in v0.1.3

type GetHosts struct {
	Response

	Host            []DomainHost             `xml:"host" json:"host"`
	DomainServices  DomainHostDomainServices `xml:"DomainServices" json:"domain_services"`
	DomainLimits    DomainHostDomainLimits   `xml:"DomainLimits" json:"domain_limits"`
	HostRecordCount int                      `xml:"HostRecordCount" json:"host_record_count"`
	MxRecordCount   int                      `xml:"MxRecordCount" json:"mx_record_count"`
}

type NameSpinner added in v0.1.1

type NameSpinner struct {
	SpinCount int    `xml:"spincount" json:"spin_count"`
	TLDList   string `xml:"TLDList" json:"tld_list"`
	//XMLName   xml.Name        `xml:"domain"`
	Domains []SpinnerDomain `xml:"domains>domain" json:"domains"`
}

type PasswordBit

type PasswordBit struct {
	Response

	DomainPassword string `xml:"DomainPassword" json:"domain_password"`
	PasswordSet    int    `xml:"password-set"   json:"password_set"`
}

type RRPInfo

type RRPInfo struct {
	Nameservers    []string `xml:"nameserver>nameserver"        json:"nameservers"`
	UpdatedDate    string   `xml:"updated-date"                 json:"updated_date"`
	CreatedDate    string   `xml:"created-date"                 json:"created_date"`
	ExpirationDate string   `xml:"registration-expiration-date" json:"expiration_date"`
	Status         []string `xml:"status>status"                json:"statuses"`
}

type RegLock

type RegLock struct {
	Response
}

func (RegLock) Success

func (response RegLock) Success() bool

type RegisterNameserver

type RegisterNameserver struct {
	Response

	NsSuccess int `xml:"RegisterNameserver>NsSuccess" json:"ns_success"`
}

type Registrant

type Registrant struct {
	OrganizationName string `xml:"RegistrantOrganizationName" json:"organization_name"`
	JobTitle         string `xml:"RegistrantJobTitle"         json:"job_title"`
	FirstName        string `xml:"RegistrantFirstName"        json:"first_name"`
	LastName         string `xml:"RegistrantLastName"         json:"last_name"`
	Address1         string `xml:"RegistrantAddress1"         json:"address_1"`
	Address2         string `xml:"RegistrantAddress2"         json:"address_2"`
	City             string `xml:"RegistrantCity"             json:"city"`
	Country          string `xml:"RegistrantCountry"          json:"country"`
	StateProvince    string `xml:"RegistrantStateProvince"    json:"state_provice"`
	PostalCode       string `xml:"RegistrantPostalCode"       json:"postal_code"`
	Email            string `xml:"RegistrantEmailAddress"     json:"email"`
	Phone            string `xml:"RegistrantPhone"            json:"phone"`
	PhoneExtension   string `xml:"RegistrantPhoneExt"         json:"phone_extension"`
	Fax              string `xml:"RegistrantFax"              json:"fax"`
}

type Registry

type Registry struct {
	PartyId string `xml:"party-id,attr"                json:"party_id"`
	Name    string `xml:",chardata"                    json:"name"`
}

type Response

type Response struct {
	ResponseCode int    `xml:"RRPCode" json:"response_code"`
	ResponseText string `xml:"RRPText" json:"response_text"`
	Command      string `xml:"Command" json:"command"`
	Language     string `xml:"Language" json:"language"`
	ErrCount     int    `xml:"ErrCount" json:"err_count"`
	ErrX         string `xml:"ErrX" json:"error_message"`
}

type SetContact

type SetContact struct {
	Response

	PendingVerification bool `xml:"PendingVerification" json:"pending_verification"`
}

type SpinnerDomain added in v0.1.1

type SpinnerDomain struct {
	//XMLName  xml.Name `xml:"domain"`
	Name     string `xml:"name,attr" json:"name"`
	Com      string `xml:"com,attr" json:"com"`
	ComScore string `xml:"comscore,attr" json:"comscore"`
	Net      string `xml:"net,attr" json:"net"`
	NetScore string `xml:"netscore,attr" json:"netscore"`
	Tv       string `xml:"tv,attr" json:"tv"`
	TvScore  string `xml:"tvscore,attr" json:"tvscore"`
	Cc       string `xml:"cc,attr" json:"cc"`
	CcScore  string `xml:"ccscore,attr" json:"ccscore"`
}

type SpinnerResponse added in v0.1.1

type SpinnerResponse struct {
	Response

	NameSpinner NameSpinner `xml:"namespin" json:"namespin"`
}

type Status

type Status struct {
	Expiration            string   `xml:"expiration"                   json:"expiration"`
	DeleteByDate          string   `xml:"deletebydate"                 json:"delete_by_date"`
	DeleteType            string   `xml:"deletetype"                   json:"delete_type"`
	Restorable            bool     `xml:"restorable"                   json:"restorable"`
	RenewBeforeExpiration string   `xml:"renewbeforeexpiration"        json:"renew_before_expiration"`
	Registrar             string   `xml:"registrar"                    json:"registrar"`
	RegistrationStatus    string   `xml:"registrationstatus"           json:"registration_status"`
	PurchaseStatus        string   `xml:"purchase-status"              json:"purchase_status"`
	Registry              Registry `xml:"belongs-to"                   json:"registry"`
	EscrowHold            string   `xml:"escrowhold"                   json:"escrow_hold"`
	EscrowLiftDate        string   `xml:"escrowliftdate"               json:"escrow_lift_date"`
	AuctionHold           bool     `xml:"auctionhold"                  json:"auction_hold"`
	AuctionLiftDate       string   `xml:"auctionliftdate"              json:"auction_lift_date"`
}

type TODContacts

type TODContacts struct {
	Registrant string `xml:"Registrant" json:"registrant"`
	AuxBilling string `xml:"AuxBilling" json:"auxiliar_billing"`
	Tech       string `xml:"Tech"       json:"technical"`
	Admin      string `xml:"Admin"      json:"administrator"`
	Billing    string `xml:"Billing"    json:"billing"`
}

type TOStatus

type TOStatus struct {
	StatusDesc  string `xml:"statusdesc"    json:"status_description"`
	OrderTypeId int    `xml:"ordertypeid"   json:"order_type_id"`
	TOText      TOText `xml:"tot"           json:"to_text"`
}

type TOText

type TOText struct {
	OrderTypeDesc string `xml:"ordertypedesc" json:"order_type_description"`
	Tod           string `xml:"tod"           json:"tod"`
}

type TPDetail

type TPDetail struct {
	TransferOrderDetailID int     `xml:"transferorderdetailid"             json:"transfer_order_detail_id"`
	Sld                   string  `xml:"sld"                               json:"sld"`
	Tld                   string  `xml:"tld"                               json:"tld"`
	StatusID              int     `xml:"statusid"                          json:"status_id"`
	StatusDesc            string  `xml:"statusdesc"                        json:"status_description"`
	Price                 float32 `xml:"price"                             json:"price"`
	UseContacts           int     `xml:"usecontacts"                       json:"use_contacts"`
	PremiumDomain         string  `xml:"premiumdomain"                     json:"premium_domain"`
	CustomerSuppliedPrice string  `xml:"customersuppliedprice"             json:"customer_supplied_price"`
}

type Technical

type Technical struct {
	OrganizationName string `xml:"TechOrganizationName"       json:"organization_name"`
	JobTitle         string `xml:"TechJobTitle"               json:"job_title"`
	FirstName        string `xml:"TechFirstName"              json:"first_name"`
	LastName         string `xml:"TechLastName"               json:"last_name"`
	Address1         string `xml:"TechAddress1"               json:"address_1"`
	Address2         string `xml:"TechAddress2"               json:"address_2"`
	City             string `xml:"TechCity"                   json:"city"`
	Country          string `xml:"TechCountry"                json:"country"`
	StateProvince    string `xml:"TechStateProvince"          json:"state_province"`
	PostalCode       string `xml:"TechPostalCode"             json:"postal_code"`
	Email            string `xml:"TechEmailAddress"           json:"email"`
	Phone            string `xml:"TechPhone"                  json:"phone"`
	PhoneExtension   string `xml:"TechPhoneExt"               json:"phone_extension"`
	Fax              string `xml:"TechFax"                    json:"fax"`
}

type TldDetail added in v0.1.3

type TldDetail struct {
	Tld                     string `xml:"TLD" json:"tld"`
	AbleToLock              bool   `xml:"AbleToLock" json:"able_to_lock"`
	AllowWPPS               bool   `xml:"AllowWPPS" json:"allow_wpps"`
	AutoRenewOnly           bool   `xml:"AutoRenewOnly" json:"auto_renew_only"`
	ExtAttributes           bool   `xml:"ExtAttributes" json:"ext_attributes"`
	AllowWBL                bool   `xml:"AllowWBL" json:"allow_wbl"`
	TransRequiresNewContact bool   `xml:"TransRequiresNewContact" json:"trans_requires_new_contact"`
	EncodingType            string `xml:"EncodingType" json:"encoding_type"`

	ClearPhoneNumber    bool                  `xml:"ClearPhoneNumber" json:"clear_phone_number"`
	ClearFax            bool                  `xml:"ClearFax" json:"clear_fax"`
	ValidateDNSHosting  bool                  `xml:"ValidateDNSHosting" json:"validate_dns_hosting"`
	HasPremiumNames     bool                  `xml:"HasPremiumNames" json:"has_premium_names"`
	SupportsDnsSec      bool                  `xml:"SupportsDnsSec" json:"supports_dns_sec"`
	AllowWhoisPublicity bool                  `xml:"AllowWhoisPublicity" json:"allow_whois_publicity"`
	Registration        TldDetailRegistration `xml:"Registration" json:"registration"`
	Renewal             TldDetailRenewal      `xml:"Renewal" json:"renewal"`
	Transfer            TldDetailTransfer     `xml:"Transfer" json:"transfer"`
	PremiumNames        TldDetailPremiumNames `xml:"PremiumNames" json:"premium_names"`
	NameServers         TldDetailNameServers  `xml:"NameServers" json:"name_servers"`
}

type TldDetailNameServers added in v0.1.3

type TldDetailNameServers struct {
	NameServers    bool `xml:"NameServers" json:"name_servers"`
	MinNameServers int  `xml:"MinNameServers" json:"min_name_servers"`
	MaxNameServers int  `xml:"MaxNameServers" json:"max_name_servers"`
}

type TldDetailPremiumNames added in v0.1.3

type TldDetailPremiumNames struct {
	HasPremiumNames    bool   `xml:"HasPremiumNames" json:"has_premium_names"`
	MaxPremiumRegYears int    `xml:"MaxPremiumRegYears" json:"max_premium_reg_years"`
	TrademarkStartDate string `xml:"TrademarkStartDate" json:"trademark_start_date"`
	TrademarkEndDate   string `xml:"TrademarkEndDate" json:"trademark_end_date"`
}

type TldDetailRegistration added in v0.1.3

type TldDetailRegistration struct {
	Realtime                     bool   `xml:"Realtime" json:"realtime"`
	Unit                         string `xml:"Unit" json:"unit"`
	Minimum                      int    `xml:"Minimum" json:"minimum"`
	Maximum                      int    `xml:"Maximum" json:"maximum"`
	HasPremiumNames              bool   `xml:"HasPremiumNames" json:"has_premium_names"`
	ExtAttributes                bool   `xml:"ExtAttributes" json:"ext_attributes"`
	ExtAttributesDomainLevel     bool   `xml:"ExtAttributesDomainLevel" json:"ext_attributes_domain_level"`
	DNSRequired                  bool   `xml:"DNSRequired" json:"dns_required"`
	DNSMinimum                   int    `xml:"DNSMinimum" json:"dns_minimum"`
	DNSMaximum                   int    `xml:"DNSMaximum" json:"dns_maximum"`
	GeneralAvailabilityStartDate string `xml:"GeneralAvailabilityStartDate" json:"general_availability_start_date"`
}

type TldDetailRenewal added in v0.1.3

type TldDetailRenewal struct {
	AutoRenewOnly        bool `xml:"AutoRenewOnly" json:"auto_renew_only"`
	AutoRenewed          bool `xml:"AutoRenewed" json:"auto_renewed"`
	RenewBeforeExpMonths int  `xml:"RenewBeforeExpMonths" json:"renew_before_exp_months"`
	DeleteType           int  `xml:"DeleteType" json:"delete_type"`
	DeleteDay            int  `xml:"DeleteDay" json:"delete_day"`
	GracePeriod          int  `xml:"GracePeriod" json:"grace_period"`
	Reactivate           bool `xml:"Reactivate" json:"reactivate"`
	Restorable           bool `xml:"Restorable" json:"restorable"`
	RGP                  bool `xml:"RGP" json:"rgp"`
	RGPDays              int  `xml:"RGPDays" json:"rgp_days"`
	ExtendedRGP          bool `xml:"ExtendedRGP" json:"extended_rgp"`
	TransferPeriod       int  `xml:"TransferPeriod" json:"transfer_period"`
}

type TldDetailTransfer added in v0.1.3

type TldDetailTransfer struct {
	Transferable       bool `xml:"Transferable" json:"transferable"`
	AuthInfo           bool `xml:"AuthInfo" json:"auth_info"`
	Realtime           bool `xml:"Realtime" json:"realtime"`
	AutoVerification   bool `xml:"AutoVerification" json:"auto_verification"`
	AutoFax            bool `xml:"AutoFax" json:"auto_fax"`
	TransferByFOA      bool `xml:"TransferByFOA" json:"transfer_by_foa"`
	RequiresNewContact bool `xml:"RequiresNewContact" json:"requires_new_contact"`
}

type TldDetails added in v0.1.3

type TldDetails struct {
	XMLName xml.Name `xml:"interface-response"`
	Response
	Tlds TldDetail `xml:"tlds>tld" json:"tlds"`
}

type TldList added in v0.1.3

type TldList struct {
	XMLName xml.Name `xml:"interface-response"`
	Response
	TldList []string `xml:"tldlist>tld>tld" json:"tld_list"`
}

type TransferOrder

type TransferOrder struct {
	Id        int      `xml:"transferorderid" json:"id"`
	OrderDate string   `xml:"orderdate"       json:"order_date"`
	StatusId  int      `xml:"statusid"        json:"status_id"`
	TOStatus  TOStatus `xml:"tos"             json:"transfer_order_status"`
}

type TransferOrderDetail

type TransferOrderDetail struct {
	Response

	Id             int         `xml:"transferorderdetail>transferorderdetailid" json:"id"`
	Sld            string      `xml:"transferorderdetail>sld"                   json:"sld"`
	Tld            string      `xml:"transferorderdetail>tld"                   json:"tld"`
	Lock           bool        `xml:"transferorderdetail>lock"                  json:"lock"`
	Renew          bool        `xml:"transferorderdetail>renew"                 json:"renew"`
	DomainPassword string      `xml:"transferorderdetail>domainpassword"        json:"domain_password"`
	StatusId       int         `xml:"transferorderdetail>statusid"              json:"status_id"`
	StatusDesc     string      `xml:"transferorderdetail>statusdesc"            json:"status_description"`
	Price          float32     `xml:"transferorderdetail>price"                 json:"price"`
	UseContacts    int         `xml:"transferorderdetail>usecontacts"           json:"use_contacts"`
	Contacts       TODContacts `xml:"transferorderdetail>contacts"              json:"contacts"`
}

type TransferOrderDetailed

type TransferOrderDetailed struct {
	DetailId          int     `xml:"transferorderdetailid" json:"detail_id"`
	Sld               string  `xml:"sld"                   json:"sld"`
	Tld               string  `xml:"tld"                   json:"tld"`
	Price             float32 `xml:"price"                 json:"price"`
	AbleToLock        bool    `xml:"abletolock"            json:"able_to_lock"`
	Lock              bool    `xml:"lock"                  json:"lock"`
	Renew             bool    `xml:"renew"                 json:"renew"`
	DomainPassword    string  `xml:"domainpassword"        json:"domain_password"`
	UseContacts       int     `xml:"usecontacts"           json:"use_contacts"`
	RequestAuthInfo   bool    `xml:"reqauthinfo"           json:"request_auth_info"`
	AuthInfo          string  `xml:"authinfo"              json:"auth_info"`
	RRProcessor       string  `xml:"RRProcessor"           json:"rr_processor"`
	RegistrantPartyID string  `xml:"RegistrantPartyID"     json:"registrant_party_id"`
	RegistrantROID    string  `xml:"RegistrantROID"        json:"registrant_roid"`
	PremiumDomain     bool    `xml:"PremiumDomain"         json:"premium_domain"`
}

type TransferOrderReview

type TransferOrderReview struct {
	Response

	TransferOrderDetailed TransferOrderDetailed `xml:"transferorderreview>transferorderdetail" json:"transfer_order_detail"`

	TransferOrderDetailCount   int     `xml:"transferorderdetailcount"                json:"transfer_order_detail_count"`
	TransferOrderDetailEuCount int     `xml:"transferorderdetaileucount"              json:"transfer_order_detail_eu_count"`
	TransferOrderDetailCaCount int     `xml:"transferorderdetailcacount"              json:"transfer_order_detail_ca_count"`
	TransferOrderDetailDeCount int     `xml:"transferorderdetaildecount"              json:"transfer_order_detail_de_count"`
	TransferOrderDetailBeCount int     `xml:"transferorderdetailbecount"              json:"transfer_order_detail_be_count"`
	TransferTotalPrice         float32 `xml:"transfertotalprice"                      json:"transfer_total_price"`
	AuthInfoStillRequired      string  `xml:"authinfostillrequired"                   json:"auth_info_still_required"`
	EuInfoStillRequired        string  `xml:"euinfostillrequired"                     json:"eu_info_still_required"`
	CaInfoStillRequired        string  `xml:"cainfostillrequired"                     json:"ca_info_still_required"`
	DeInfoStillRequired        string  `xml:"deinfostillrequired"                     json:"de_info_still_required"`
	BeInfoStillRequired        string  `xml:"beinfostillrequired"                     json:"be_info_still_required"`
}

type TransferOrderStatuses

type TransferOrderStatuses struct {
	Response

	Count         int             `xml:"TransferOrderCount" json:"transfer_order_count"`
	TransferOrder []TransferOrder `xml:"transferorder"      json:"transfer_order"`

	AtLeastOnePendingOrder bool `xml:"FoundAtLeastOnePendingOrder" json:"at_least_one_pending_order"`
}

type TransferOrders

type TransferOrders struct {
	Response
}

type UpdateNameserver

type UpdateNameserver struct {
	Response

	NsSuccess int `xml:"RegisterNameserver>NsSuccess" json:"ns_success"`
}

type WPPSContactData

type WPPSContactData struct {
	ContactType      string `xml:"ContactType"                json:"contact_type"`
	OrganizationName string `xml:"OrganizationName"           json:"organization_name"`
	JobTitle         string `xml:"JobTitle"                   json:"job_title"`
	FirstName        string `xml:"FirstName"                  json:"first_name"`
	LastName         string `xml:"LastName"                   json:"last_name"`
	Address1         string `xml:"Address1"                   json:"address_1"`
	Address2         string `xml:"Address2"                   json:"address_2"`
	City             string `xml:"City"                       json:"city"`
	Country          string `xml:"Country"                    json:"country"`
	StateProvince    string `xml:"StateProvince"              json:"state_province"`
	PostalCode       string `xml:"PostalCode"                 json:"postal_code"`
	Email            string `xml:"EmailAddress"               json:"email"`
	Phone            string `xml:"Phone"                      json:"phone"`
	PhoneExtension   string `xml:"PhoneExt"                   json:"phone_extension"`
	Fax              string `xml:"Fax"                        json:"fax"`
	DateTimeChanged  string `xml:"DateTimeChanged"            json:"date_time_changed"`
}

type WhoisContact

type WhoisContact struct {
	Response

	Contacts      []Contact `xml:"GetWhoisContacts>contacts>contact" json:"contacts"`
	RRPInfo       RRPInfo   `xml:"GetWhoisContacts>rrp-info"         json:"rrp_info"`
	DomainExpired bool      `xml:"GetWhoisContacts>DomainExpired"    json:"domain_expired"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL