1package dns 2 3import "github.com/denverdino/aliyungo/common" 4 5// endpoint change to 'http://alidns.aliyuncs.com' then record ttl and priority change to string 6type RecordTypeNew struct { 7 DomainName string 8 RecordId string 9 RR string 10 Type string 11 Value string 12 TTL float64 13 Priority string 14 Line string 15 Status string 16 Locked bool 17} 18 19type DescribeDomainRecordInfoNewArgs struct { 20 RecordId string 21} 22 23type DescribeDomainRecordInfoNewResponse struct { 24 common.Response 25 RecordTypeNew 26} 27 28// DescribeDomainRecordInformation 29// 30// You can read doc at https://docs.aliyun.com/#/pub/dns/api-reference/record-related&DescribeDomainRecordInfo 31func (client *Client) DescribeDomainRecordInfoNew(args *DescribeDomainRecordInfoNewArgs) (response *DescribeDomainRecordInfoNewResponse, err error) { 32 action := "DescribeDomainRecordInfo" 33 response = &DescribeDomainRecordInfoNewResponse{} 34 err = client.Invoke(action, args, response) 35 if err == nil { 36 return response, nil 37 } else { 38 return nil, err 39 } 40} 41