Class: TencentCloud::Mps::V20190612::TerrorismOcrReviewTemplateInfoForUpdate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::TerrorismOcrReviewTemplateInfoForUpdate
- 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) ⇒ TerrorismOcrReviewTemplateInfoForUpdate
constructor
A new instance of TerrorismOcrReviewTemplateInfoForUpdate.
Constructor Details
#initialize(switch = nil, blockconfidence = nil, reviewconfidence = nil) ⇒ TerrorismOcrReviewTemplateInfoForUpdate
Returns a new instance of TerrorismOcrReviewTemplateInfoForUpdate.
30370 30371 30372 30373 30374 |
# File 'lib/v20190612/models.rb', line 30370 def initialize(switch=nil, blockconfidence=nil, reviewconfidence=nil) @Switch = switch @BlockConfidence = blockconfidence @ReviewConfidence = reviewconfidence end |
Instance Attribute Details
#BlockConfidence ⇒ Object
30368 30369 30370 |
# File 'lib/v20190612/models.rb', line 30368 def BlockConfidence @BlockConfidence end |
#ReviewConfidence ⇒ Object
30368 30369 30370 |
# File 'lib/v20190612/models.rb', line 30368 def ReviewConfidence @ReviewConfidence end |
#Switch ⇒ Object
30368 30369 30370 |
# File 'lib/v20190612/models.rb', line 30368 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
30376 30377 30378 30379 30380 |
# File 'lib/v20190612/models.rb', line 30376 def deserialize(params) @Switch = params['Switch'] @BlockConfidence = params['BlockConfidence'] @ReviewConfidence = params['ReviewConfidence'] end |