Class: TencentCloud::Ams::V20201229::CancelTaskRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201229/models.rb

Overview

CancelTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil) ⇒ CancelTaskRequest

Returns a new instance of CancelTaskRequest.



385
386
387
# File 'lib/v20201229/models.rb', line 385

def initialize(taskid=nil)
  @TaskId = taskid
end

Instance Attribute Details

#TaskIdObject

Parameters:

  • TaskId:

    该字段表示创建音频审核任务后返回的任务ID(在Results参数中),用于标识需要取消的审核任务。



383
384
385
# File 'lib/v20201229/models.rb', line 383

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



389
390
391
# File 'lib/v20201229/models.rb', line 389

def deserialize(params)
  @TaskId = params['TaskId']
end