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.
4817 4818 4819 4820 4821 |
# File 'lib/v20181119/models.rb', line 4817 def initialize(key=nil, polygon=nil, row=nil) @Key = key @Polygon = polygon @Row = row end |
Instance Attribute Details
#Key ⇒ Object
4815 4816 4817 |
# File 'lib/v20181119/models.rb', line 4815 def Key @Key end |
#Polygon ⇒ Object
4815 4816 4817 |
# File 'lib/v20181119/models.rb', line 4815 def Polygon @Polygon end |
#Row ⇒ Object
4815 4816 4817 |
# File 'lib/v20181119/models.rb', line 4815 def Row @Row end |
Instance Method Details
#deserialize(params) ⇒ Object
4823 4824 4825 4826 4827 4828 4829 4830 |
# File 'lib/v20181119/models.rb', line 4823 def deserialize(params) @Key = params['Key'] unless params['Polygon'].nil? @Polygon = Polygon.new @Polygon.deserialize(params['Polygon']) end @Row = params['Row'] end |