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

     1  package redis
     2  
     3  import (
     4  	github_com_morlay_goqcloud "github.com/morlay/goqcloud"
     5  )
     6  
     7  // 查询订单信息
     8  // https://cloud.tencent.com/document/api/239/30602
     9  
    10  type DescribeInstanceDealDetailRequest struct {
    11  	// 订单ID数组
    12  	DealIds []*string `name:"DealIds"`
    13  	// 区域
    14  	Region string `name:"Region"`
    15  }
    16  
    17  func (req *DescribeInstanceDealDetailRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeInstanceDealDetailResponse, error) {
    18  	resp := &DescribeInstanceDealDetailResponse{}
    19  	err := client.Request("redis", "DescribeInstanceDealDetail", "2018-04-12").Do(req, resp)
    20  	return resp, err
    21  }
    22  
    23  type DescribeInstanceDealDetailResponse struct {
    24  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    25  	// 订单详细信息
    26  	DealDetails []*TradeDealDetail `json:"DealDetails"`
    27  }