Class: TencentCloud::Ocr::V20181119::BusinessCertificateInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::BusinessCertificateInfo
- Defined in:
- lib/v20181119/models.rb
Overview
非营业执照的营业类证件识别结果,将以结构化形式呈现。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil, rect = nil) ⇒ BusinessCertificateInfo
constructor
A new instance of BusinessCertificateInfo.
Constructor Details
#initialize(name = nil, value = nil, rect = nil) ⇒ BusinessCertificateInfo
Returns a new instance of BusinessCertificateInfo.
1147 1148 1149 1150 1151 |
# File 'lib/v20181119/models.rb', line 1147 def initialize(name=nil, value=nil, rect=nil) @Name = name @Value = value @Rect = rect end |
Instance Attribute Details
#Name ⇒ Object
1145 1146 1147 |
# File 'lib/v20181119/models.rb', line 1145 def Name @Name end |
#Rect ⇒ Object
1145 1146 1147 |
# File 'lib/v20181119/models.rb', line 1145 def Rect @Rect end |
#Value ⇒ Object
1145 1146 1147 |
# File 'lib/v20181119/models.rb', line 1145 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
1153 1154 1155 1156 1157 1158 1159 1160 |
# File 'lib/v20181119/models.rb', line 1153 def deserialize(params) @Name = params['Name'] @Value = params['Value'] unless params['Rect'].nil? @Rect = Rect.new @Rect.deserialize(params['Rect']) end end |