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

     1  package ds
     2  
     3  import (
     4  	github_com_morlay_goqcloud "github.com/morlay/goqcloud"
     5  )
     6  
     7  // 删除签章
     8  // https://cloud.tencent.com/document/api/869/17790
     9  
    10  type DeleteSealRequest struct {
    11  	// 帐号ID
    12  	AccountResId string `name:"AccountResId"`
    13  	// 模块名
    14  	Module string `name:"Module"`
    15  	// 操作名
    16  	Operation string `name:"Operation"`
    17  	// 区域
    18  	Region string `name:"Region"`
    19  	// 签章ID
    20  	SealResId string `name:"SealResId"`
    21  }
    22  
    23  func (req *DeleteSealRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeleteSealResponse, error) {
    24  	resp := &DeleteSealResponse{}
    25  	err := client.Request("ds", "DeleteSeal", "2018-05-23").Do(req, resp)
    26  	return resp, err
    27  }
    28  
    29  type DeleteSealResponse struct {
    30  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    31  	// 签章ID
    32  	SealResId string `json:"SealResId"`
    33  }