Class: TencentCloud::Mps::V20190612::AiReviewPornOcrTaskOutput
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AiReviewPornOcrTaskOutput
- Defined in:
- lib/v20190612/models.rb
Overview
Ocr 文字涉黄信息
Instance Attribute Summary collapse
-
#Confidence ⇒ Object
- pass。
- review。
- block。
. -
#SegmentSet ⇒ Object
- pass。
- review。
- block。
. -
#Suggestion ⇒ Object
- pass。
- review。
- block。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(confidence = nil, suggestion = nil, segmentset = nil) ⇒ AiReviewPornOcrTaskOutput
constructor
A new instance of AiReviewPornOcrTaskOutput.
Constructor Details
#initialize(confidence = nil, suggestion = nil, segmentset = nil) ⇒ AiReviewPornOcrTaskOutput
Returns a new instance of AiReviewPornOcrTaskOutput.
4007 4008 4009 4010 4011 |
# File 'lib/v20190612/models.rb', line 4007 def initialize(confidence=nil, suggestion=nil, segmentset=nil) @Confidence = confidence @Suggestion = suggestion @SegmentSet = segmentset end |
Instance Attribute Details
#Confidence ⇒ Object
4005 4006 4007 |
# File 'lib/v20190612/models.rb', line 4005 def Confidence @Confidence end |
#SegmentSet ⇒ Object
4005 4006 4007 |
# File 'lib/v20190612/models.rb', line 4005 def SegmentSet @SegmentSet end |
#Suggestion ⇒ Object
4005 4006 4007 |
# File 'lib/v20190612/models.rb', line 4005 def Suggestion @Suggestion end |
Instance Method Details
#deserialize(params) ⇒ Object
4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 |
# File 'lib/v20190612/models.rb', line 4013 def deserialize(params) @Confidence = params['Confidence'] @Suggestion = params['Suggestion'] unless params['SegmentSet'].nil? @SegmentSet = [] params['SegmentSet'].each do |i| mediacontentreviewocrtextsegmentitem_tmp = MediaContentReviewOcrTextSegmentItem.new mediacontentreviewocrtextsegmentitem_tmp.deserialize(i) @SegmentSet << mediacontentreviewocrtextsegmentitem_tmp end end end |