Class: TencentCloud::Mps::V20190612::PornOcrReviewTemplateInfoForUpdate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::PornOcrReviewTemplateInfoForUpdate
- 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) ⇒ PornOcrReviewTemplateInfoForUpdate
constructor
A new instance of PornOcrReviewTemplateInfoForUpdate.
Constructor Details
#initialize(switch = nil, blockconfidence = nil, reviewconfidence = nil) ⇒ PornOcrReviewTemplateInfoForUpdate
Returns a new instance of PornOcrReviewTemplateInfoForUpdate.
24682 24683 24684 24685 24686 |
# File 'lib/v20190612/models.rb', line 24682 def initialize(switch=nil, blockconfidence=nil, reviewconfidence=nil) @Switch = switch @BlockConfidence = blockconfidence @ReviewConfidence = reviewconfidence end |
Instance Attribute Details
#BlockConfidence ⇒ Object
24680 24681 24682 |
# File 'lib/v20190612/models.rb', line 24680 def BlockConfidence @BlockConfidence end |
#ReviewConfidence ⇒ Object
24680 24681 24682 |
# File 'lib/v20190612/models.rb', line 24680 def ReviewConfidence @ReviewConfidence end |
#Switch ⇒ Object
24680 24681 24682 |
# File 'lib/v20190612/models.rb', line 24680 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
24688 24689 24690 24691 24692 |
# File 'lib/v20190612/models.rb', line 24688 def deserialize(params) @Switch = params['Switch'] @BlockConfidence = params['BlockConfidence'] @ReviewConfidence = params['ReviewConfidence'] end |