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
- ON:开启文本违禁任务;
- OFF:关闭文本违禁任务。
. -
#ReviewConfidence ⇒ Object
- ON:开启文本违禁任务;
- OFF:关闭文本违禁任务。
. -
#Switch ⇒ Object
- ON:开启文本违禁任务;
- OFF:关闭文本违禁任务。
.
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.
25243 25244 25245 25246 25247 |
# File 'lib/v20190612/models.rb', line 25243 def initialize(switch=nil, blockconfidence=nil, reviewconfidence=nil) @Switch = switch @BlockConfidence = blockconfidence @ReviewConfidence = reviewconfidence end |
Instance Attribute Details
#BlockConfidence ⇒ Object
25241 25242 25243 |
# File 'lib/v20190612/models.rb', line 25241 def BlockConfidence @BlockConfidence end |
#ReviewConfidence ⇒ Object
25241 25242 25243 |
# File 'lib/v20190612/models.rb', line 25241 def ReviewConfidence @ReviewConfidence end |
#Switch ⇒ Object
25241 25242 25243 |
# File 'lib/v20190612/models.rb', line 25241 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
25249 25250 25251 25252 25253 |
# File 'lib/v20190612/models.rb', line 25249 def deserialize(params) @Switch = params['Switch'] @BlockConfidence = params['BlockConfidence'] @ReviewConfidence = params['ReviewConfidence'] end |