Class: TencentCloud::Ticm::V20181127::VodPornReviewResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ticm::V20181127::VodPornReviewResult
- Defined in:
- lib/v20181127/models.rb
Overview
内容审核鉴黄任务结果类型
Instance Attribute Summary collapse
-
#Code ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Confidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Label ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Msg ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SegmentSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Suggestion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, code = nil, msg = nil, confidence = nil, suggestion = nil, label = nil, segmentset = nil) ⇒ VodPornReviewResult
constructor
A new instance of VodPornReviewResult.
Constructor Details
#initialize(status = nil, code = nil, msg = nil, confidence = nil, suggestion = nil, label = nil, segmentset = nil) ⇒ VodPornReviewResult
Returns a new instance of VodPornReviewResult.
1114 1115 1116 1117 1118 1119 1120 1121 1122 |
# File 'lib/v20181127/models.rb', line 1114 def initialize(status=nil, code=nil, msg=nil, confidence=nil, suggestion=nil, label=nil, segmentset=nil) @Status = status @Code = code @Msg = msg @Confidence = confidence @Suggestion = suggestion @Label = label @SegmentSet = segmentset end |
Instance Attribute Details
#Code ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1112 1113 1114 |
# File 'lib/v20181127/models.rb', line 1112 def Code @Code end |
#Confidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1112 1113 1114 |
# File 'lib/v20181127/models.rb', line 1112 def Confidence @Confidence end |
#Label ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1112 1113 1114 |
# File 'lib/v20181127/models.rb', line 1112 def Label @Label end |
#Msg ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1112 1113 1114 |
# File 'lib/v20181127/models.rb', line 1112 def Msg @Msg end |
#SegmentSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1112 1113 1114 |
# File 'lib/v20181127/models.rb', line 1112 def SegmentSet @SegmentSet end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1112 1113 1114 |
# File 'lib/v20181127/models.rb', line 1112 def Status @Status end |
#Suggestion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1112 1113 1114 |
# File 'lib/v20181127/models.rb', line 1112 def Suggestion @Suggestion end |
Instance Method Details
#deserialize(params) ⇒ Object
1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 |
# File 'lib/v20181127/models.rb', line 1124 def deserialize(params) @Status = params['Status'] @Code = params['Code'] @Msg = params['Msg'] @Confidence = params['Confidence'] @Suggestion = params['Suggestion'] @Label = params['Label'] unless params['SegmentSet'].nil? @SegmentSet = [] params['SegmentSet'].each do |i| vodpornreviewsegmentitem_tmp = VodPornReviewSegmentItem.new vodpornreviewsegmentitem_tmp.deserialize(i) @SegmentSet << vodpornreviewsegmentitem_tmp end end end |