Class: TencentCloud::Mps::V20190612::AsrWordsConfigureInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AsrWordsConfigureInfo
- Defined in:
- lib/v20190612/models.rb
Overview
语音关键词识别控制参数。
Instance Attribute Summary collapse
-
#LabelSet ⇒ Object
- ON:开启语音关键词识别任务;
- OFF:关闭语音关键词识别任务。
标签个数最多 10 个,每个标签长度最多 16 个字符。. -
#Switch ⇒ Object
- ON:开启语音关键词识别任务;
- OFF:关闭语音关键词识别任务。
标签个数最多 10 个,每个标签长度最多 16 个字符。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, labelset = nil) ⇒ AsrWordsConfigureInfo
constructor
A new instance of AsrWordsConfigureInfo.
Constructor Details
#initialize(switch = nil, labelset = nil) ⇒ AsrWordsConfigureInfo
Returns a new instance of AsrWordsConfigureInfo.
5399 5400 5401 5402 |
# File 'lib/v20190612/models.rb', line 5399 def initialize(switch=nil, labelset=nil) @Switch = switch @LabelSet = labelset end |
Instance Attribute Details
#LabelSet ⇒ Object
5397 5398 5399 |
# File 'lib/v20190612/models.rb', line 5397 def LabelSet @LabelSet end |
#Switch ⇒ Object
5397 5398 5399 |
# File 'lib/v20190612/models.rb', line 5397 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
5404 5405 5406 5407 |
# File 'lib/v20190612/models.rb', line 5404 def deserialize(params) @Switch = params['Switch'] @LabelSet = params['LabelSet'] end |