Class: TencentCloud::Mrs::V20200910::Point
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::Point
- Defined in:
- lib/v20200910/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.
8901 8902 8903 8904 |
# File 'lib/v20200910/models.rb', line 8901 def initialize(x=nil, y=nil) @X = x @Y = y end |
Instance Attribute Details
#X ⇒ Object
8899 8900 8901 |
# File 'lib/v20200910/models.rb', line 8899 def X @X end |
#Y ⇒ Object
8899 8900 8901 |
# File 'lib/v20200910/models.rb', line 8899 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
8906 8907 8908 8909 |
# File 'lib/v20200910/models.rb', line 8906 def deserialize(params) @X = params['X'] @Y = params['Y'] end |