Class: TencentCloud::Ocr::V20181119::SealInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::SealInfo
- Defined in:
- lib/v20181119/models.rb
Overview
印章信息
Instance Attribute Summary collapse
-
#Location ⇒ Object
圆形印章:0 椭圆形印章:1 方形印章:2 菱形印章:3 三角形印章:4.
-
#OtherTexts ⇒ Object
圆形印章:0 椭圆形印章:1 方形印章:2 菱形印章:3 三角形印章:4.
-
#SealBody ⇒ Object
圆形印章:0 椭圆形印章:1 方形印章:2 菱形印章:3 三角形印章:4.
-
#SealShape ⇒ Object
圆形印章:0 椭圆形印章:1 方形印章:2 菱形印章:3 三角形印章:4.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sealbody = nil, location = nil, othertexts = nil, sealshape = nil) ⇒ SealInfo
constructor
A new instance of SealInfo.
Constructor Details
#initialize(sealbody = nil, location = nil, othertexts = nil, sealshape = nil) ⇒ SealInfo
Returns a new instance of SealInfo.
10229 10230 10231 10232 10233 10234 |
# File 'lib/v20181119/models.rb', line 10229 def initialize(sealbody=nil, location=nil, othertexts=nil, sealshape=nil) @SealBody = sealbody @Location = location @OtherTexts = othertexts @SealShape = sealshape end |
Instance Attribute Details
#Location ⇒ Object
圆形印章:0 椭圆形印章:1 方形印章:2 菱形印章:3 三角形印章:4
10227 10228 10229 |
# File 'lib/v20181119/models.rb', line 10227 def Location @Location end |
#OtherTexts ⇒ Object
圆形印章:0 椭圆形印章:1 方形印章:2 菱形印章:3 三角形印章:4
10227 10228 10229 |
# File 'lib/v20181119/models.rb', line 10227 def OtherTexts @OtherTexts end |
#SealBody ⇒ Object
圆形印章:0 椭圆形印章:1 方形印章:2 菱形印章:3 三角形印章:4
10227 10228 10229 |
# File 'lib/v20181119/models.rb', line 10227 def SealBody @SealBody end |
#SealShape ⇒ Object
圆形印章:0 椭圆形印章:1 方形印章:2 菱形印章:3 三角形印章:4
10227 10228 10229 |
# File 'lib/v20181119/models.rb', line 10227 def SealShape @SealShape end |
Instance Method Details
#deserialize(params) ⇒ Object
10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'lib/v20181119/models.rb', line 10236 def deserialize(params) @SealBody = params['SealBody'] unless params['Location'].nil? @Location = Rect.new @Location.deserialize(params['Location']) end @OtherTexts = params['OtherTexts'] @SealShape = params['SealShape'] end |