| 1 |
package dns |
| 2 |
|
| 3 |
import "github.com/denverdino/aliyungo/common" |
| 4 |
|
| 5 |
|
| 6 |
type RecordTypeNew struct { |
| 7 |
DomainName string |
| 8 |
RecordId string |
| 9 |
RR string |
| 10 |
Type string |
| 11 |
Value string |
| 12 |
TTL float64 |
| 13 |
Priority int32 |
| 14 |
Line string |
| 15 |
Status string |
| 16 |
Locked bool |
| 17 |
} |
| 18 |
|
| 19 |
type DescribeDomainRecordInfoNewArgs struct { |
| 20 |
RecordId string |
| 21 |
} |
| 22 |
|
| 23 |
type DescribeDomainRecordInfoNewResponse struct { |
| 24 |
common.Response |
| 25 |
RecordTypeNew |
| 26 |
} |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
func (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 |
} |