Class: TencentCloud::Mps::V20190612::AiReviewPoliticalTaskOutput
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AiReviewPoliticalTaskOutput
- Defined in:
- lib/v20190612/models.rb
Overview
涉敏信息
Instance Attribute Summary collapse
-
#Confidence ⇒ Object
- pass。
- review。
- block。
violation_photo:- violation_photo:违规图标。
其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):- politician:涉敏人物。
. -
#Label ⇒ Object
- pass。
- review。
- block。
violation_photo:- violation_photo:违规图标。
其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):- politician:涉敏人物。
. -
#SegmentSet ⇒ Object
- pass。
- review。
- block。
violation_photo:- violation_photo:违规图标。
其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):- politician:涉敏人物。
. -
#Suggestion ⇒ Object
- pass。
- review。
- block。
violation_photo:- violation_photo:违规图标。
其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):- politician:涉敏人物。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(confidence = nil, suggestion = nil, label = nil, segmentset = nil) ⇒ AiReviewPoliticalTaskOutput
constructor
A new instance of AiReviewPoliticalTaskOutput.
Constructor Details
#initialize(confidence = nil, suggestion = nil, label = nil, segmentset = nil) ⇒ AiReviewPoliticalTaskOutput
Returns a new instance of AiReviewPoliticalTaskOutput.
3905 3906 3907 3908 3909 3910 |
# File 'lib/v20190612/models.rb', line 3905 def initialize(confidence=nil, suggestion=nil, label=nil, segmentset=nil) @Confidence = confidence @Suggestion = suggestion @Label = label @SegmentSet = segmentset end |
Instance Attribute Details
#Confidence ⇒ Object
3903 3904 3905 |
# File 'lib/v20190612/models.rb', line 3903 def Confidence @Confidence end |
#Label ⇒ Object
3903 3904 3905 |
# File 'lib/v20190612/models.rb', line 3903 def Label @Label end |
#SegmentSet ⇒ Object
3903 3904 3905 |
# File 'lib/v20190612/models.rb', line 3903 def SegmentSet @SegmentSet end |
#Suggestion ⇒ Object
3903 3904 3905 |
# File 'lib/v20190612/models.rb', line 3903 def Suggestion @Suggestion end |
Instance Method Details
#deserialize(params) ⇒ Object
3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 |
# File 'lib/v20190612/models.rb', line 3912 def deserialize(params) @Confidence = params['Confidence'] @Suggestion = params['Suggestion'] @Label = params['Label'] unless params['SegmentSet'].nil? @SegmentSet = [] params['SegmentSet'].each do |i| mediacontentreviewpoliticalsegmentitem_tmp = MediaContentReviewPoliticalSegmentItem.new mediacontentreviewpoliticalsegmentitem_tmp.deserialize(i) @SegmentSet << mediacontentreviewpoliticalsegmentitem_tmp end end end |