Class: TencentCloud::Mps::V20190612::PoliticalAsrReviewTemplateInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::PoliticalAsrReviewTemplateInfo
- Defined in:
- lib/v20190612/models.rb
Overview
语音涉敏任务控制参数
Instance Attribute Summary collapse
-
#BlockConfidence ⇒ Object
<li>ON:开启语音涉敏任务;</li> <li>OFF:关闭语音涉敏任务。</li>.
-
#ReviewConfidence ⇒ Object
<li>ON:开启语音涉敏任务;</li> <li>OFF:关闭语音涉敏任务。</li>.
-
#Switch ⇒ Object
<li>ON:开启语音涉敏任务;</li> <li>OFF:关闭语音涉敏任务。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, blockconfidence = nil, reviewconfidence = nil) ⇒ PoliticalAsrReviewTemplateInfo
constructor
A new instance of PoliticalAsrReviewTemplateInfo.
Constructor Details
#initialize(switch = nil, blockconfidence = nil, reviewconfidence = nil) ⇒ PoliticalAsrReviewTemplateInfo
Returns a new instance of PoliticalAsrReviewTemplateInfo.
21342 21343 21344 21345 21346 |
# File 'lib/v20190612/models.rb', line 21342 def initialize(switch=nil, blockconfidence=nil, reviewconfidence=nil) @Switch = switch @BlockConfidence = blockconfidence @ReviewConfidence = reviewconfidence end |
Instance Attribute Details
#BlockConfidence ⇒ Object
<li>ON:开启语音涉敏任务;</li> <li>OFF:关闭语音涉敏任务。</li>
21340 21341 21342 |
# File 'lib/v20190612/models.rb', line 21340 def BlockConfidence @BlockConfidence end |
#ReviewConfidence ⇒ Object
<li>ON:开启语音涉敏任务;</li> <li>OFF:关闭语音涉敏任务。</li>
21340 21341 21342 |
# File 'lib/v20190612/models.rb', line 21340 def ReviewConfidence @ReviewConfidence end |
#Switch ⇒ Object
<li>ON:开启语音涉敏任务;</li> <li>OFF:关闭语音涉敏任务。</li>
21340 21341 21342 |
# File 'lib/v20190612/models.rb', line 21340 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
21348 21349 21350 21351 21352 |
# File 'lib/v20190612/models.rb', line 21348 def deserialize(params) @Switch = params['Switch'] @BlockConfidence = params['BlockConfidence'] @ReviewConfidence = params['ReviewConfidence'] end |