Class: TencentCloud::Ticm::V20181127::VodPoliticalReviewResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ticm::V20181127::VodPoliticalReviewResult
- 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) ⇒ VodPoliticalReviewResult
constructor
A new instance of VodPoliticalReviewResult.
Constructor Details
#initialize(status = nil, code = nil, msg = nil, confidence = nil, suggestion = nil, label = nil, segmentset = nil) ⇒ VodPoliticalReviewResult
Returns a new instance of VodPoliticalReviewResult.
886 887 888 889 890 891 892 893 894 |
# File 'lib/v20181127/models.rb', line 886 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,表示取不到有效值。
884 885 886 |
# File 'lib/v20181127/models.rb', line 884 def Code @Code end |
#Confidence ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
884 885 886 |
# File 'lib/v20181127/models.rb', line 884 def Confidence @Confidence end |
#Label ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
884 885 886 |
# File 'lib/v20181127/models.rb', line 884 def Label @Label end |
#Msg ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
884 885 886 |
# File 'lib/v20181127/models.rb', line 884 def Msg @Msg end |
#SegmentSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
884 885 886 |
# File 'lib/v20181127/models.rb', line 884 def SegmentSet @SegmentSet end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
884 885 886 |
# File 'lib/v20181127/models.rb', line 884 def Status @Status end |
#Suggestion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
884 885 886 |
# File 'lib/v20181127/models.rb', line 884 def Suggestion @Suggestion end |
Instance Method Details
#deserialize(params) ⇒ Object
896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 |
# File 'lib/v20181127/models.rb', line 896 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| vodpoliticalreviewsegmentitem_tmp = VodPoliticalReviewSegmentItem.new vodpoliticalreviewsegmentitem_tmp.deserialize(i) @SegmentSet << vodpoliticalreviewsegmentitem_tmp end end end |