Class: TencentCloud::Ocr::V20181119::ItemPolygonInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ItemPolygonInfo
- Defined in:
- lib/v20181119/models.rb
Overview
发票字段坐标信息。包括字段英文名称、字段值所在位置的四点坐标、字段所属行号,具体内容请点击左侧链接。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, polygon = nil, row = nil) ⇒ ItemPolygonInfo
constructor
A new instance of ItemPolygonInfo.
Constructor Details
#initialize(key = nil, polygon = nil, row = nil) ⇒ ItemPolygonInfo
Returns a new instance of ItemPolygonInfo.
5030 5031 5032 5033 5034 |
# File 'lib/v20181119/models.rb', line 5030 def initialize(key=nil, polygon=nil, row=nil) @Key = key @Polygon = polygon @Row = row end |
Instance Attribute Details
#Key ⇒ Object
5028 5029 5030 |
# File 'lib/v20181119/models.rb', line 5028 def Key @Key end |
#Polygon ⇒ Object
5028 5029 5030 |
# File 'lib/v20181119/models.rb', line 5028 def Polygon @Polygon end |
#Row ⇒ Object
5028 5029 5030 |
# File 'lib/v20181119/models.rb', line 5028 def Row @Row end |
Instance Method Details
#deserialize(params) ⇒ Object
5036 5037 5038 5039 5040 5041 5042 5043 |
# File 'lib/v20181119/models.rb', line 5036 def deserialize(params) @Key = params['Key'] unless params['Polygon'].nil? @Polygon = Polygon.new @Polygon.deserialize(params['Polygon']) end @Row = params['Row'] end |