github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/cws/describe_sites_verification.go (about) 1 package cws 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 查看站点列表的验证信息列表 8 // https://cloud.tencent.com/document/api/692/16753 9 10 type DescribeSitesVerificationRequest struct { 11 // 区域 12 Region string `name:"Region"` 13 // 站点的url列表 14 Urls []*string `name:"Urls"` 15 } 16 17 func (req *DescribeSitesVerificationRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeSitesVerificationResponse, error) { 18 resp := &DescribeSitesVerificationResponse{} 19 err := client.Request("cws", "DescribeSitesVerification", "2018-03-12").Do(req, resp) 20 return resp, err 21 } 22 23 type DescribeSitesVerificationResponse struct { 24 github_com_morlay_goqcloud.TencentCloudBaseResponse 25 // 验证信息列表。 26 SitesVerification []*SitesVerification `json:"SitesVerification"` 27 // 验证信息数量。 28 TotalCount int64 `json:"TotalCount"` 29 }