Class: TencentCloud::Vm::V20210922::ImageResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20210922::ImageResult
- Defined in:
- lib/v20210922/models.rb
Overview
Result结果详情
Instance Attribute Summary collapse
-
#Extra ⇒ Object
0 未命中 1 命中 Porn 色情 Sexy 性感 Polity 政治 Illegal 违法 Abuse 谩骂 Terror 暴恐 Ad 广告 Pass 通过, Review 建议人审, Block 确认违规.
-
#HitFlag ⇒ Object
0 未命中 1 命中 Porn 色情 Sexy 性感 Polity 政治 Illegal 违法 Abuse 谩骂 Terror 暴恐 Ad 广告 Pass 通过, Review 建议人审, Block 确认违规.
-
#HitType ⇒ Object
0 未命中 1 命中 Porn 色情 Sexy 性感 Polity 政治 Illegal 违法 Abuse 谩骂 Terror 暴恐 Ad 广告 Pass 通过, Review 建议人审, Block 确认违规.
-
#Label ⇒ Object
0 未命中 1 命中 Porn 色情 Sexy 性感 Polity 政治 Illegal 违法 Abuse 谩骂 Terror 暴恐 Ad 广告 Pass 通过, Review 建议人审, Block 确认违规.
-
#RecognitionResults ⇒ Object
0 未命中 1 命中 Porn 色情 Sexy 性感 Polity 政治 Illegal 违法 Abuse 谩骂 Terror 暴恐 Ad 广告 Pass 通过, Review 建议人审, Block 确认违规.
-
#Results ⇒ Object
0 未命中 1 命中 Porn 色情 Sexy 性感 Polity 政治 Illegal 违法 Abuse 谩骂 Terror 暴恐 Ad 广告 Pass 通过, Review 建议人审, Block 确认违规.
-
#Score ⇒ Object
0 未命中 1 命中 Porn 色情 Sexy 性感 Polity 政治 Illegal 违法 Abuse 谩骂 Terror 暴恐 Ad 广告 Pass 通过, Review 建议人审, Block 确认违规.
-
#SubLabel ⇒ Object
0 未命中 1 命中 Porn 色情 Sexy 性感 Polity 政治 Illegal 违法 Abuse 谩骂 Terror 暴恐 Ad 广告 Pass 通过, Review 建议人审, Block 确认违规.
-
#Suggestion ⇒ Object
0 未命中 1 命中 Porn 色情 Sexy 性感 Polity 政治 Illegal 违法 Abuse 谩骂 Terror 暴恐 Ad 广告 Pass 通过, Review 建议人审, Block 确认违规.
-
#Url ⇒ Object
0 未命中 1 命中 Porn 色情 Sexy 性感 Polity 政治 Illegal 违法 Abuse 谩骂 Terror 暴恐 Ad 广告 Pass 通过, Review 建议人审, Block 确认违规.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hitflag = nil, label = nil, suggestion = nil, score = nil, results = nil, url = nil, extra = nil, sublabel = nil, recognitionresults = nil, hittype = nil) ⇒ ImageResult
constructor
A new instance of ImageResult.
Constructor Details
#initialize(hitflag = nil, label = nil, suggestion = nil, score = nil, results = nil, url = nil, extra = nil, sublabel = nil, recognitionresults = nil, hittype = nil) ⇒ ImageResult
Returns a new instance of ImageResult.
721 722 723 724 725 726 727 728 729 730 731 732 |
# File 'lib/v20210922/models.rb', line 721 def initialize(hitflag=nil, label=nil, suggestion=nil, score=nil, results=nil, url=nil, extra=nil, sublabel=nil, recognitionresults=nil, hittype=nil) @HitFlag = hitflag @Label = label @Suggestion = suggestion @Score = score @Results = results @Url = url @Extra = extra @SubLabel = sublabel @RecognitionResults = recognitionresults @HitType = hittype end |
Instance Attribute Details
#Extra ⇒ Object
0 未命中1 命中Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告Pass 通过,Review 建议人审,Block 确认违规
719 720 721 |
# File 'lib/v20210922/models.rb', line 719 def Extra @Extra end |
#HitFlag ⇒ Object
0 未命中1 命中Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告Pass 通过,Review 建议人审,Block 确认违规
719 720 721 |
# File 'lib/v20210922/models.rb', line 719 def HitFlag @HitFlag end |
#HitType ⇒ Object
0 未命中1 命中Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告Pass 通过,Review 建议人审,Block 确认违规
719 720 721 |
# File 'lib/v20210922/models.rb', line 719 def HitType @HitType end |
#Label ⇒ Object
0 未命中1 命中Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告Pass 通过,Review 建议人审,Block 确认违规
719 720 721 |
# File 'lib/v20210922/models.rb', line 719 def Label @Label end |
#RecognitionResults ⇒ Object
0 未命中1 命中Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告Pass 通过,Review 建议人审,Block 确认违规
719 720 721 |
# File 'lib/v20210922/models.rb', line 719 def RecognitionResults @RecognitionResults end |
#Results ⇒ Object
0 未命中1 命中Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告Pass 通过,Review 建议人审,Block 确认违规
719 720 721 |
# File 'lib/v20210922/models.rb', line 719 def Results @Results end |
#Score ⇒ Object
0 未命中1 命中Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告Pass 通过,Review 建议人审,Block 确认违规
719 720 721 |
# File 'lib/v20210922/models.rb', line 719 def Score @Score end |
#SubLabel ⇒ Object
0 未命中1 命中Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告Pass 通过,Review 建议人审,Block 确认违规
719 720 721 |
# File 'lib/v20210922/models.rb', line 719 def SubLabel @SubLabel end |
#Suggestion ⇒ Object
0 未命中1 命中Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告Pass 通过,Review 建议人审,Block 确认违规
719 720 721 |
# File 'lib/v20210922/models.rb', line 719 def Suggestion @Suggestion end |
#Url ⇒ Object
0 未命中1 命中Porn 色情Sexy 性感Polity 政治Illegal 违法Abuse 谩骂Terror 暴恐Ad 广告Pass 通过,Review 建议人审,Block 确认违规
719 720 721 |
# File 'lib/v20210922/models.rb', line 719 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 |
# File 'lib/v20210922/models.rb', line 734 def deserialize(params) @HitFlag = params['HitFlag'] @Label = params['Label'] @Suggestion = params['Suggestion'] @Score = params['Score'] unless params['Results'].nil? @Results = [] params['Results'].each do |i| imageresultresult_tmp = ImageResultResult.new imageresultresult_tmp.deserialize(i) @Results << imageresultresult_tmp end end @Url = params['Url'] @Extra = params['Extra'] @SubLabel = params['SubLabel'] unless params['RecognitionResults'].nil? @RecognitionResults = [] params['RecognitionResults'].each do |i| recognitionresult_tmp = RecognitionResult.new recognitionresult_tmp.deserialize(i) @RecognitionResults << recognitionresult_tmp end end @HitType = params['HitType'] end |