Class: TencentCloud::Ocr::V20181119::Coord
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::Coord
- Defined in:
- lib/v20181119/models.rb
Overview
坐标
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil) ⇒ Coord
constructor
A new instance of Coord.
Constructor Details
#initialize(x = nil, y = nil) ⇒ Coord
Returns a new instance of Coord.
1556 1557 1558 1559 |
# File 'lib/v20181119/models.rb', line 1556 def initialize(x=nil, y=nil) @X = x @Y = y end |
Instance Attribute Details
#X ⇒ Object
1554 1555 1556 |
# File 'lib/v20181119/models.rb', line 1554 def X @X end |
#Y ⇒ Object
1554 1555 1556 |
# File 'lib/v20181119/models.rb', line 1554 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
1561 1562 1563 1564 |
# File 'lib/v20181119/models.rb', line 1561 def deserialize(params) @X = params['X'] @Y = params['Y'] end |