Class: TencentCloud::Asr::V20190614::Task

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil) ⇒ Task

Returns a new instance of Task.



1819
1820
1821
# File 'lib/v20190614/models.rb', line 1819

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

Instance Attribute Details

#TaskIdObject

**注意:TaskId有效期为24小时,不同日期可能出现重复TaskId,请不要依赖TaskId作为您业务系统里的唯一ID。**

Parameters:

  • TaskId:

    任务ID,可通过此ID在轮询接口获取识别状态与结果。TaskId数据类型为uint64



1817
1818
1819
# File 'lib/v20190614/models.rb', line 1817

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



1823
1824
1825
# File 'lib/v20190614/models.rb', line 1823

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