Class: TencentCloud::Ocr::V20181119::QuestionInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::QuestionInfo
- Defined in:
- lib/v20181119/models.rb
Overview
试题识别结果
Instance Attribute Summary collapse
-
#Angle ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Height ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ImageBase64 ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#OrgHeight ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#OrgWidth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ResultList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Width ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(angle = nil, height = nil, width = nil, resultlist = nil, orgheight = nil, orgwidth = nil, imagebase64 = nil) ⇒ QuestionInfo
constructor
A new instance of QuestionInfo.
Constructor Details
#initialize(angle = nil, height = nil, width = nil, resultlist = nil, orgheight = nil, orgwidth = nil, imagebase64 = nil) ⇒ QuestionInfo
Returns a new instance of QuestionInfo.
8117 8118 8119 8120 8121 8122 8123 8124 8125 |
# File 'lib/v20181119/models.rb', line 8117 def initialize(angle=nil, height=nil, width=nil, resultlist=nil, orgheight=nil, orgwidth=nil, imagebase64=nil) @Angle = angle @Height = height @Width = width @ResultList = resultlist @OrgHeight = orgheight @OrgWidth = orgwidth @ImageBase64 = imagebase64 end |
Instance Attribute Details
#Angle ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8115 8116 8117 |
# File 'lib/v20181119/models.rb', line 8115 def Angle @Angle end |
#Height ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8115 8116 8117 |
# File 'lib/v20181119/models.rb', line 8115 def Height @Height end |
#ImageBase64 ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8115 8116 8117 |
# File 'lib/v20181119/models.rb', line 8115 def ImageBase64 @ImageBase64 end |
#OrgHeight ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8115 8116 8117 |
# File 'lib/v20181119/models.rb', line 8115 def OrgHeight @OrgHeight end |
#OrgWidth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8115 8116 8117 |
# File 'lib/v20181119/models.rb', line 8115 def OrgWidth @OrgWidth end |
#ResultList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8115 8116 8117 |
# File 'lib/v20181119/models.rb', line 8115 def ResultList @ResultList end |
#Width ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8115 8116 8117 |
# File 'lib/v20181119/models.rb', line 8115 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 |
# File 'lib/v20181119/models.rb', line 8127 def deserialize(params) @Angle = params['Angle'] @Height = params['Height'] @Width = params['Width'] unless params['ResultList'].nil? @ResultList = [] params['ResultList'].each do |i| resultlist_tmp = ResultList.new resultlist_tmp.deserialize(i) @ResultList << resultlist_tmp end end @OrgHeight = params['OrgHeight'] @OrgWidth = params['OrgWidth'] @ImageBase64 = params['ImageBase64'] end |