Class: TencentCloud::Asr::V20190614::AsyncRecognitionTaskInfo

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, url = nil) ⇒ AsyncRecognitionTaskInfo

Returns a new instance of AsyncRecognitionTaskInfo.



29
30
31
32
# File 'lib/v20190614/models.rb', line 29

def initialize(taskid=nil, url=nil)
  @TaskId = taskid
  @Url = url
end

Instance Attribute Details

#TaskIdObject

Parameters:

  • TaskId:

    任务ID

  • Url:

    音频流Url



27
28
29
# File 'lib/v20190614/models.rb', line 27

def TaskId
  @TaskId
end

#UrlObject

Parameters:

  • TaskId:

    任务ID

  • Url:

    音频流Url



27
28
29
# File 'lib/v20190614/models.rb', line 27

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



34
35
36
37
# File 'lib/v20190614/models.rb', line 34

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