github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/yunjing/describe_history_accounts.go (about) 1 package yunjing 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 获取帐号变更历史列表 8 // https://cloud.tencent.com/document/api/296/30335 9 10 type DescribeHistoryAccountsRequest struct { 11 // 过滤条件。Username - String - 是否必填:否 - 帐号名 12 Filters []*Filter `name:"Filters,omitempty"` 13 // 返回数量,默认为10,最大值为100。 14 Limit *int64 `name:"Limit,omitempty"` 15 // 偏移量,默认为0。 16 Offset *int64 `name:"Offset,omitempty"` 17 // 区域 18 Region string `name:"Region"` 19 // 云镜客户端唯一Uuid。 20 Uuid string `name:"Uuid"` 21 } 22 23 func (req *DescribeHistoryAccountsRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeHistoryAccountsResponse, error) { 24 resp := &DescribeHistoryAccountsResponse{} 25 err := client.Request("yunjing", "DescribeHistoryAccounts", "2018-02-28").Do(req, resp) 26 return resp, err 27 } 28 29 type DescribeHistoryAccountsResponse struct { 30 github_com_morlay_goqcloud.TencentCloudBaseResponse 31 // 帐号变更历史数据数组。 32 HistoryAccounts []*HistoryAccount `json:"HistoryAccounts"` 33 // 帐号变更历史列表记录总数。 34 TotalCount int64 `json:"TotalCount"` 35 }