Class: TencentCloud::Mps::V20190612::PoliticalOcrReviewTemplateInfoForUpdate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::PoliticalOcrReviewTemplateInfoForUpdate
- 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) ⇒ PoliticalOcrReviewTemplateInfoForUpdate
constructor
A new instance of PoliticalOcrReviewTemplateInfoForUpdate.
Constructor Details
#initialize(switch = nil, blockconfidence = nil, reviewconfidence = nil) ⇒ PoliticalOcrReviewTemplateInfoForUpdate
Returns a new instance of PoliticalOcrReviewTemplateInfoForUpdate.
24444 24445 24446 24447 24448 |
# File 'lib/v20190612/models.rb', line 24444 def initialize(switch=nil, blockconfidence=nil, reviewconfidence=nil) @Switch = switch @BlockConfidence = blockconfidence @ReviewConfidence = reviewconfidence end |
Instance Attribute Details
#BlockConfidence ⇒ Object
24442 24443 24444 |
# File 'lib/v20190612/models.rb', line 24442 def BlockConfidence @BlockConfidence end |
#ReviewConfidence ⇒ Object
24442 24443 24444 |
# File 'lib/v20190612/models.rb', line 24442 def ReviewConfidence @ReviewConfidence end |
#Switch ⇒ Object
24442 24443 24444 |
# File 'lib/v20190612/models.rb', line 24442 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
24450 24451 24452 24453 24454 |
# File 'lib/v20190612/models.rb', line 24450 def deserialize(params) @Switch = params['Switch'] @BlockConfidence = params['BlockConfidence'] @ReviewConfidence = params['ReviewConfidence'] end |