Class: TencentCloud::Mps::V20190612::ProhibitedAsrReviewTemplateInfoForUpdate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ProhibitedAsrReviewTemplateInfoForUpdate
- Defined in:
- lib/v20190612/models.rb
Overview
语音违禁任务控制参数
Instance Attribute Summary collapse
-
#BlockConfidence ⇒ Object
- ON:开启语音违禁任务;
- OFF:关闭语音违禁任务。
. -
#ReviewConfidence ⇒ Object
- ON:开启语音违禁任务;
- OFF:关闭语音违禁任务。
. -
#Switch ⇒ Object
- ON:开启语音违禁任务;
- OFF:关闭语音违禁任务。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, blockconfidence = nil, reviewconfidence = nil) ⇒ ProhibitedAsrReviewTemplateInfoForUpdate
constructor
A new instance of ProhibitedAsrReviewTemplateInfoForUpdate.
Constructor Details
#initialize(switch = nil, blockconfidence = nil, reviewconfidence = nil) ⇒ ProhibitedAsrReviewTemplateInfoForUpdate
Returns a new instance of ProhibitedAsrReviewTemplateInfoForUpdate.
25137 25138 25139 25140 25141 |
# File 'lib/v20190612/models.rb', line 25137 def initialize(switch=nil, blockconfidence=nil, reviewconfidence=nil) @Switch = switch @BlockConfidence = blockconfidence @ReviewConfidence = reviewconfidence end |
Instance Attribute Details
#BlockConfidence ⇒ Object
25135 25136 25137 |
# File 'lib/v20190612/models.rb', line 25135 def BlockConfidence @BlockConfidence end |
#ReviewConfidence ⇒ Object
25135 25136 25137 |
# File 'lib/v20190612/models.rb', line 25135 def ReviewConfidence @ReviewConfidence end |
#Switch ⇒ Object
25135 25136 25137 |
# File 'lib/v20190612/models.rb', line 25135 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
25143 25144 25145 25146 25147 |
# File 'lib/v20190612/models.rb', line 25143 def deserialize(params) @Switch = params['Switch'] @BlockConfidence = params['BlockConfidence'] @ReviewConfidence = params['ReviewConfidence'] end |