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.
8042 8043 8044 8045 8046 8047 8048 8049 8050 |
# File 'lib/v20181119/models.rb', line 8042 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,表示取不到有效值。
8040 8041 8042 |
# File 'lib/v20181119/models.rb', line 8040 def Angle @Angle end |
#Height ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8040 8041 8042 |
# File 'lib/v20181119/models.rb', line 8040 def Height @Height end |
#ImageBase64 ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8040 8041 8042 |
# File 'lib/v20181119/models.rb', line 8040 def ImageBase64 @ImageBase64 end |
#OrgHeight ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8040 8041 8042 |
# File 'lib/v20181119/models.rb', line 8040 def OrgHeight @OrgHeight end |
#OrgWidth ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8040 8041 8042 |
# File 'lib/v20181119/models.rb', line 8040 def OrgWidth @OrgWidth end |
#ResultList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8040 8041 8042 |
# File 'lib/v20181119/models.rb', line 8040 def ResultList @ResultList end |
#Width ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8040 8041 8042 |
# File 'lib/v20181119/models.rb', line 8040 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 |
# File 'lib/v20181119/models.rb', line 8052 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 |