Class: TencentCloud::Iai::V20200303::Point
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iai::V20200303::Point
- Defined in:
- lib/v20200303/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.
3051 3052 3053 3054 |
# File 'lib/v20200303/models.rb', line 3051 def initialize(x=nil, y=nil) @X = x @Y = y end |
Instance Attribute Details
#X ⇒ Object
3049 3050 3051 |
# File 'lib/v20200303/models.rb', line 3049 def X @X end |
#Y ⇒ Object
3049 3050 3051 |
# File 'lib/v20200303/models.rb', line 3049 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
3056 3057 3058 3059 |
# File 'lib/v20200303/models.rb', line 3056 def deserialize(params) @X = params['X'] @Y = params['Y'] end |