Class: TencentCloud::Mps::V20190612::AiReviewTerrorismTaskOutput
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AiReviewTerrorismTaskOutput
- Defined in:
- lib/v20190612/models.rb
Overview
涉敏信息
Instance Attribute Summary collapse
-
#Confidence ⇒ Object
- pass。
- review。
- block。
- guns:武器枪支。
- crowd:人群聚集。
- police:警察部队。
- bloody:血腥画面。
- banners:涉敏旗帜。
- militant:武装分子。
- explosion:爆炸火灾。
- terrorists:涉敏人物。
- scenario:涉敏画面。
. -
#Label ⇒ Object
- pass。
- review。
- block。
- guns:武器枪支。
- crowd:人群聚集。
- police:警察部队。
- bloody:血腥画面。
- banners:涉敏旗帜。
- militant:武装分子。
- explosion:爆炸火灾。
- terrorists:涉敏人物。
- scenario:涉敏画面。
. -
#SegmentSet ⇒ Object
- pass。
- review。
- block。
- guns:武器枪支。
- crowd:人群聚集。
- police:警察部队。
- bloody:血腥画面。
- banners:涉敏旗帜。
- militant:武装分子。
- explosion:爆炸火灾。
- terrorists:涉敏人物。
- scenario:涉敏画面。
. -
#Suggestion ⇒ Object
- pass。
- review。
- block。
- guns:武器枪支。
- crowd:人群聚集。
- police:警察部队。
- bloody:血腥画面。
- banners:涉敏旗帜。
- militant:武装分子。
- explosion:爆炸火灾。
- terrorists:涉敏人物。
- scenario:涉敏画面。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(confidence = nil, suggestion = nil, label = nil, segmentset = nil) ⇒ AiReviewTerrorismTaskOutput
constructor
A new instance of AiReviewTerrorismTaskOutput.
Constructor Details
#initialize(confidence = nil, suggestion = nil, label = nil, segmentset = nil) ⇒ AiReviewTerrorismTaskOutput
Returns a new instance of AiReviewTerrorismTaskOutput.
4707 4708 4709 4710 4711 4712 |
# File 'lib/v20190612/models.rb', line 4707 def initialize(confidence=nil, suggestion=nil, label=nil, segmentset=nil) @Confidence = confidence @Suggestion = suggestion @Label = label @SegmentSet = segmentset end |
Instance Attribute Details
#Confidence ⇒ Object
4705 4706 4707 |
# File 'lib/v20190612/models.rb', line 4705 def Confidence @Confidence end |
#Label ⇒ Object
4705 4706 4707 |
# File 'lib/v20190612/models.rb', line 4705 def Label @Label end |
#SegmentSet ⇒ Object
4705 4706 4707 |
# File 'lib/v20190612/models.rb', line 4705 def SegmentSet @SegmentSet end |
#Suggestion ⇒ Object
4705 4706 4707 |
# File 'lib/v20190612/models.rb', line 4705 def Suggestion @Suggestion end |
Instance Method Details
#deserialize(params) ⇒ Object
4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 |
# File 'lib/v20190612/models.rb', line 4714 def deserialize(params) @Confidence = params['Confidence'] @Suggestion = params['Suggestion'] @Label = params['Label'] unless params['SegmentSet'].nil? @SegmentSet = [] params['SegmentSet'].each do |i| mediacontentreviewsegmentitem_tmp = MediaContentReviewSegmentItem.new mediacontentreviewsegmentitem_tmp.deserialize(i) @SegmentSet << mediacontentreviewsegmentitem_tmp end end end |