github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/partners/describe_agent_clients.go (about)

     1  package partners
     2  
     3  import (
     4  	github_com_morlay_goqcloud "github.com/morlay/goqcloud"
     5  )
     6  
     7  // 查询待审核客户列表
     8  // https://cloud.tencent.com/document/api/563/16046
     9  
    10  type DescribeAgentClientsRequest struct {
    11  	// 客户类型,a/b,类型定义参考代理商相关政策文档
    12  	ClientFlag *string `name:"ClientFlag,omitempty"`
    13  	// 客户名称。由于涉及隐私,名称打码显示,故名称仅支持打码后的模糊搜索
    14  	ClientName *string `name:"ClientName,omitempty"`
    15  	// 客户账号ID
    16  	ClientUin *string `name:"ClientUin,omitempty"`
    17  	// 限制数目
    18  	Limit *int64 `name:"Limit,omitempty"`
    19  	// 偏移量
    20  	Offset *int64 `name:"Offset,omitempty"`
    21  	// ASC/DESC, 不区分大小写,按申请时间排序
    22  	OrderDirection *string `name:"OrderDirection,omitempty"`
    23  	// 区域
    24  	Region string `name:"Region"`
    25  }
    26  
    27  func (req *DescribeAgentClientsRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeAgentClientsResponse, error) {
    28  	resp := &DescribeAgentClientsResponse{}
    29  	err := client.Request("partners", "DescribeAgentClients", "2018-03-21").Do(req, resp)
    30  	return resp, err
    31  }
    32  
    33  type DescribeAgentClientsResponse struct {
    34  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    35  	// 待审核代客列表
    36  	AgentClientSet []*AgentClientElem `json:"AgentClientSet"`
    37  	// 符合条件的代客总数
    38  	TotalCount int64 `json:"TotalCount"`
    39  }