Class: TencentCloud::Weilingwith::V20230427::DeviceLocation

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230427/models.rb

Overview

设备点位坐标值

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#XObject

Parameters:

  • X:

    点位X坐标值

  • Y:

    点位Y坐标值

  • Z:

    点位Z坐标值



4830
4831
4832
# File 'lib/v20230427/models.rb', line 4830

def X
  @X
end

#YObject

Parameters:

  • X:

    点位X坐标值

  • Y:

    点位Y坐标值

  • Z:

    点位Z坐标值



4830
4831
4832
# File 'lib/v20230427/models.rb', line 4830

def Y
  @Y
end

#ZObject

Parameters:

  • X:

    点位X坐标值

  • Y:

    点位Y坐标值

  • Z:

    点位Z坐标值



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