github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/live/delete_live_record.go (about) 1 package live 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 删除录制任务 8 // https://cloud.tencent.com/document/api/267/30147 9 10 type DeleteLiveRecordRequest struct { 11 // 区域 12 Region string `name:"Region"` 13 // 流名称。 14 StreamName string `name:"StreamName"` 15 // 任务ID,全局唯一标识录制任务。 16 TaskId int64 `name:"TaskId"` 17 } 18 19 func (req *DeleteLiveRecordRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeleteLiveRecordResponse, error) { 20 resp := &DeleteLiveRecordResponse{} 21 err := client.Request("live", "DeleteLiveRecord", "2018-08-01").Do(req, resp) 22 return resp, err 23 } 24 25 type DeleteLiveRecordResponse struct { 26 github_com_morlay_goqcloud.TencentCloudBaseResponse 27 }