Class: TencentCloud::Tmt::V20180321::Task

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

Overview

文件翻译请求的返回数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil) ⇒ Task

Returns a new instance of Task.



485
486
487
# File 'lib/v20180321/models.rb', line 485

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

Instance Attribute Details

#TaskIdObject

Parameters:

  • TaskId:

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



483
484
485
# File 'lib/v20180321/models.rb', line 483

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



489
490
491
# File 'lib/v20180321/models.rb', line 489

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