Class: TencentCloud::Mps::V20190612::ProhibitedOcrReviewTemplateInfoForUpdate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ProhibitedOcrReviewTemplateInfoForUpdate
- 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) ⇒ ProhibitedOcrReviewTemplateInfoForUpdate
constructor
A new instance of ProhibitedOcrReviewTemplateInfoForUpdate.
Constructor Details
#initialize(switch = nil, blockconfidence = nil, reviewconfidence = nil) ⇒ ProhibitedOcrReviewTemplateInfoForUpdate
Returns a new instance of ProhibitedOcrReviewTemplateInfoForUpdate.
22183 22184 22185 22186 22187 |
# File 'lib/v20190612/models.rb', line 22183 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>
22181 22182 22183 |
# File 'lib/v20190612/models.rb', line 22181 def BlockConfidence @BlockConfidence end |
#ReviewConfidence ⇒ Object
<li>ON:开启文本违禁任务;</li> <li>OFF:关闭文本违禁任务。</li>
22181 22182 22183 |
# File 'lib/v20190612/models.rb', line 22181 def ReviewConfidence @ReviewConfidence end |
#Switch ⇒ Object
<li>ON:开启文本违禁任务;</li> <li>OFF:关闭文本违禁任务。</li>
22181 22182 22183 |
# File 'lib/v20190612/models.rb', line 22181 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
22189 22190 22191 22192 22193 |
# File 'lib/v20190612/models.rb', line 22189 def deserialize(params) @Switch = params['Switch'] @BlockConfidence = params['BlockConfidence'] @ReviewConfidence = params['ReviewConfidence'] end |