Class: TencentCloud::Iai::V20180301::Point
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iai::V20180301::Point
- Defined in:
- lib/v20180301/models.rb
Overview
坐标
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil) ⇒ Point
constructor
A new instance of Point.
Constructor Details
#initialize(x = nil, y = nil) ⇒ Point
Returns a new instance of Point.
2724 2725 2726 2727 |
# File 'lib/v20180301/models.rb', line 2724 def initialize(x=nil, y=nil) @X = x @Y = y end |
Instance Attribute Details
#X ⇒ Object
2722 2723 2724 |
# File 'lib/v20180301/models.rb', line 2722 def X @X end |
#Y ⇒ Object
2722 2723 2724 |
# File 'lib/v20180301/models.rb', line 2722 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
2729 2730 2731 2732 |
# File 'lib/v20180301/models.rb', line 2729 def deserialize(params) @X = params['X'] @Y = params['Y'] end |