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.
10576 10577 10578 10579 10580 10581 |
# File 'lib/v20181119/models.rb', line 10576 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
10574 10575 10576 |
# File 'lib/v20181119/models.rb', line 10574 def Location @Location end |
#OtherTexts ⇒ Object
圆形印章:0 椭圆形印章:1 方形印章:2 菱形印章:3 三角形印章:4
10574 10575 10576 |
# File 'lib/v20181119/models.rb', line 10574 def OtherTexts @OtherTexts end |
#SealBody ⇒ Object
圆形印章:0 椭圆形印章:1 方形印章:2 菱形印章:3 三角形印章:4
10574 10575 10576 |
# File 'lib/v20181119/models.rb', line 10574 def SealBody @SealBody end |
#SealShape ⇒ Object
圆形印章:0 椭圆形印章:1 方形印章:2 菱形印章:3 三角形印章:4
10574 10575 10576 |
# File 'lib/v20181119/models.rb', line 10574 def SealShape @SealShape end |
Instance Method Details
#deserialize(params) ⇒ Object
10583 10584 10585 10586 10587 10588 10589 10590 10591 |
# File 'lib/v20181119/models.rb', line 10583 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 |