Class: TencentCloud::Weilingwith::V20230427::DeviceLocation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::DeviceLocation
- Defined in:
- lib/v20230427/models.rb
Overview
设备点位坐标值
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil, z = nil) ⇒ DeviceLocation
constructor
A new instance of DeviceLocation.
Constructor Details
#initialize(x = nil, y = nil, z = nil) ⇒ DeviceLocation
Returns a new instance of DeviceLocation.
4832 4833 4834 4835 4836 |
# File 'lib/v20230427/models.rb', line 4832 def initialize(x=nil, y=nil, z=nil) @X = x @Y = y @Z = z end |
Instance Attribute Details
#X ⇒ Object
4830 4831 4832 |
# File 'lib/v20230427/models.rb', line 4830 def X @X end |
#Y ⇒ Object
4830 4831 4832 |
# File 'lib/v20230427/models.rb', line 4830 def Y @Y end |
#Z ⇒ Object
4830 4831 4832 |
# File 'lib/v20230427/models.rb', line 4830 def Z @Z end |
Instance Method Details
#deserialize(params) ⇒ Object
4838 4839 4840 4841 4842 |
# File 'lib/v20230427/models.rb', line 4838 def deserialize(params) @X = params['X'] @Y = params['Y'] @Z = params['Z'] end |