Class: TencentCloud::Cii::V20210408::ResultObject
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cii::V20210408::ResultObject
- Defined in:
- lib/v20210408/models.rb
Overview
用于返回结构化任务结果
Instance Attribute Summary collapse
-
#Quality ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ReportType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#StructureResult ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(quality = nil, structureresult = nil, reporttype = nil) ⇒ ResultObject
constructor
A new instance of ResultObject.
Constructor Details
#initialize(quality = nil, structureresult = nil, reporttype = nil) ⇒ ResultObject
Returns a new instance of ResultObject.
1156 1157 1158 1159 1160 |
# File 'lib/v20210408/models.rb', line 1156 def initialize(quality=nil, structureresult=nil, reporttype=nil) @Quality = quality @StructureResult = structureresult @ReportType = reporttype end |
Instance Attribute Details
#Quality ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1154 1155 1156 |
# File 'lib/v20210408/models.rb', line 1154 def Quality @Quality end |
#ReportType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1154 1155 1156 |
# File 'lib/v20210408/models.rb', line 1154 def ReportType @ReportType end |
#StructureResult ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1154 1155 1156 |
# File 'lib/v20210408/models.rb', line 1154 def StructureResult @StructureResult end |
Instance Method Details
#deserialize(params) ⇒ Object
1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 |
# File 'lib/v20210408/models.rb', line 1162 def deserialize(params) @Quality = params['Quality'] @StructureResult = params['StructureResult'] unless params['ReportType'].nil? @ReportType = [] params['ReportType'].each do |i| = ClassifyInfo.new .deserialize(i) @ReportType << end end end |