Class: TencentCloud::Mps::V20190612::ProhibitedOcrReviewTemplateInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ProhibitedOcrReviewTemplateInfo
- 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) ⇒ ProhibitedOcrReviewTemplateInfo
constructor
A new instance of ProhibitedOcrReviewTemplateInfo.
Constructor Details
#initialize(switch = nil, blockconfidence = nil, reviewconfidence = nil) ⇒ ProhibitedOcrReviewTemplateInfo
Returns a new instance of ProhibitedOcrReviewTemplateInfo.
25217 25218 25219 25220 25221 |
# File 'lib/v20190612/models.rb', line 25217 def initialize(switch=nil, blockconfidence=nil, reviewconfidence=nil) @Switch = switch @BlockConfidence = blockconfidence @ReviewConfidence = reviewconfidence end |
Instance Attribute Details
#BlockConfidence ⇒ Object
25215 25216 25217 |
# File 'lib/v20190612/models.rb', line 25215 def BlockConfidence @BlockConfidence end |
#ReviewConfidence ⇒ Object
25215 25216 25217 |
# File 'lib/v20190612/models.rb', line 25215 def ReviewConfidence @ReviewConfidence end |
#Switch ⇒ Object
25215 25216 25217 |
# File 'lib/v20190612/models.rb', line 25215 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
25223 25224 25225 25226 25227 |
# File 'lib/v20190612/models.rb', line 25223 def deserialize(params) @Switch = params['Switch'] @BlockConfidence = params['BlockConfidence'] @ReviewConfidence = params['ReviewConfidence'] end |