Class: TencentCloud::Ticm::V20181127::VodPoliticalOcrReviewResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ticm::V20181127::VodPoliticalOcrReviewResult
- Defined in:
- lib/v20181127/models.rb
Overview
内容审核 Ocr 文字鉴政、敏感任务结果类型
Instance Attribute Summary collapse
-
#Code ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 pass。 review。 block。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Confidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 pass。 review。 block。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Msg ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 pass。 review。 block。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SegmentSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 pass。 review。 block。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 pass。 review。 block。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Suggestion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 pass。 review。 block。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, code = nil, msg = nil, confidence = nil, suggestion = nil, segmentset = nil) ⇒ VodPoliticalOcrReviewResult
constructor
A new instance of VodPoliticalOcrReviewResult.
Constructor Details
#initialize(status = nil, code = nil, msg = nil, confidence = nil, suggestion = nil, segmentset = nil) ⇒ VodPoliticalOcrReviewResult
Returns a new instance of VodPoliticalOcrReviewResult.
828 829 830 831 832 833 834 835 |
# File 'lib/v20181127/models.rb', line 828 def initialize(status=nil, code=nil, msg=nil, confidence=nil, suggestion=nil, segmentset=nil) @Status = status @Code = code @Msg = msg @Confidence = confidence @Suggestion = suggestion @SegmentSet = segmentset end |
Instance Attribute Details
#Code ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。pass。review。block。注意:此字段可能返回 null,表示取不到有效值。
826 827 828 |
# File 'lib/v20181127/models.rb', line 826 def Code @Code end |
#Confidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。pass。review。block。注意:此字段可能返回 null,表示取不到有效值。
826 827 828 |
# File 'lib/v20181127/models.rb', line 826 def Confidence @Confidence end |
#Msg ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。pass。review。block。注意:此字段可能返回 null,表示取不到有效值。
826 827 828 |
# File 'lib/v20181127/models.rb', line 826 def Msg @Msg end |
#SegmentSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。pass。review。block。注意:此字段可能返回 null,表示取不到有效值。
826 827 828 |
# File 'lib/v20181127/models.rb', line 826 def SegmentSet @SegmentSet end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。pass。review。block。注意:此字段可能返回 null,表示取不到有效值。
826 827 828 |
# File 'lib/v20181127/models.rb', line 826 def Status @Status end |
#Suggestion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。pass。review。block。注意:此字段可能返回 null,表示取不到有效值。
826 827 828 |
# File 'lib/v20181127/models.rb', line 826 def Suggestion @Suggestion end |
Instance Method Details
#deserialize(params) ⇒ Object
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 |
# File 'lib/v20181127/models.rb', line 837 def deserialize(params) @Status = params['Status'] @Code = params['Code'] @Msg = params['Msg'] @Confidence = params['Confidence'] @Suggestion = params['Suggestion'] unless params['SegmentSet'].nil? @SegmentSet = [] params['SegmentSet'].each do |i| vodocrtextsegmentitem_tmp = VodOcrTextSegmentItem.new vodocrtextsegmentitem_tmp.deserialize(i) @SegmentSet << vodocrtextsegmentitem_tmp end end end |