Class: TencentCloud::Mps::V20190612::PoliticalAsrReviewTemplateInfoForUpdate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::PoliticalAsrReviewTemplateInfoForUpdate
- 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) ⇒ PoliticalAsrReviewTemplateInfoForUpdate
constructor
A new instance of PoliticalAsrReviewTemplateInfoForUpdate.
Constructor Details
#initialize(switch = nil, blockconfidence = nil, reviewconfidence = nil) ⇒ PoliticalAsrReviewTemplateInfoForUpdate
Returns a new instance of PoliticalAsrReviewTemplateInfoForUpdate.
21273 21274 21275 21276 21277 |
# File 'lib/v20190612/models.rb', line 21273 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>
21271 21272 21273 |
# File 'lib/v20190612/models.rb', line 21271 def BlockConfidence @BlockConfidence end |
#ReviewConfidence ⇒ Object
<li>ON:开启语音涉敏任务;</li> <li>OFF:关闭语音涉敏任务。</li>
21271 21272 21273 |
# File 'lib/v20190612/models.rb', line 21271 def ReviewConfidence @ReviewConfidence end |
#Switch ⇒ Object
<li>ON:开启语音涉敏任务;</li> <li>OFF:关闭语音涉敏任务。</li>
21271 21272 21273 |
# File 'lib/v20190612/models.rb', line 21271 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
21279 21280 21281 21282 21283 |
# File 'lib/v20190612/models.rb', line 21279 def deserialize(params) @Switch = params['Switch'] @BlockConfidence = params['BlockConfidence'] @ReviewConfidence = params['ReviewConfidence'] end |