Class: TencentCloud::Mps::V20190612::AsrWordsConfigureInfoForUpdate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AsrWordsConfigureInfoForUpdate
- 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) ⇒ AsrWordsConfigureInfoForUpdate
constructor
A new instance of AsrWordsConfigureInfoForUpdate.
Constructor Details
#initialize(switch = nil, labelset = nil) ⇒ AsrWordsConfigureInfoForUpdate
Returns a new instance of AsrWordsConfigureInfoForUpdate.
5422 5423 5424 5425 |
# File 'lib/v20190612/models.rb', line 5422 def initialize(switch=nil, labelset=nil) @Switch = switch @LabelSet = labelset end |
Instance Attribute Details
#LabelSet ⇒ Object
5420 5421 5422 |
# File 'lib/v20190612/models.rb', line 5420 def LabelSet @LabelSet end |
#Switch ⇒ Object
5420 5421 5422 |
# File 'lib/v20190612/models.rb', line 5420 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
5427 5428 5429 5430 |
# File 'lib/v20190612/models.rb', line 5427 def deserialize(params) @Switch = params['Switch'] @LabelSet = params['LabelSet'] end |