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.
8874 8875 8876 8877 |
# File 'lib/v20200910/models.rb', line 8874 def initialize(x=nil, y=nil) @X = x @Y = y end |
Instance Attribute Details
#X ⇒ Object
8872 8873 8874 |
# File 'lib/v20200910/models.rb', line 8872 def X @X end |
#Y ⇒ Object
8872 8873 8874 |
# File 'lib/v20200910/models.rb', line 8872 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
8879 8880 8881 8882 |
# File 'lib/v20200910/models.rb', line 8879 def deserialize(params) @X = params['X'] @Y = params['Y'] end |