| 1 |
package dns |
| 2 |
|
| 3 |
import "github.com/denverdino/aliyungo/common" |
| 4 |
|
| 5 |
type DescribeDomainRecordsNewArgs struct { |
| 6 |
DomainName string |
| 7 |
|
| 8 |
|
| 9 |
common.Pagination |
| 10 |
RRKeyWord string |
| 11 |
TypeKeyWord string |
| 12 |
ValueKeyWord string |
| 13 |
} |
| 14 |
|
| 15 |
type DescribeDomainRecordsNewResponse struct { |
| 16 |
common.Response |
| 17 |
common.PaginationResult |
| 18 |
InstanceId string |
| 19 |
DomainRecords struct { |
| 20 |
Record []RecordTypeNew |
| 21 |
} |
| 22 |
} |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
func (client *Client) DescribeDomainRecordsNew(args *DescribeDomainRecordsNewArgs) (response *DescribeDomainRecordsNewResponse, err error) { |
| 28 |
action := "DescribeDomainRecords" |
| 29 |
response = &DescribeDomainRecordsNewResponse{} |
| 30 |
err = client.Invoke(action, args, response) |
| 31 |
if err == nil { |
| 32 |
return response, nil |
| 33 |
} else { |
| 34 |
return nil, err |
| 35 |
} |
| 36 |
} |