Class: TencentCloud::Chc::V20230418::DevicePosition
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Chc::V20230418::DevicePosition
- Defined in:
- lib/v20230418/models.rb
Overview
设备及位置信息
Instance Attribute Summary collapse
- #AssetId ⇒ Object
- #DeviceType ⇒ Object
- #IdcName ⇒ Object
- #IdcUnitId ⇒ Object
- #IdcUnitName ⇒ Object
- #PositionCode ⇒ Object
- #RackName ⇒ Object
- #Sn ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sn = nil, rackname = nil, idcunitid = nil, idcname = nil, idcunitname = nil, assetid = nil, positioncode = nil, devicetype = nil) ⇒ DevicePosition
constructor
A new instance of DevicePosition.
Constructor Details
#initialize(sn = nil, rackname = nil, idcunitid = nil, idcname = nil, idcunitname = nil, assetid = nil, positioncode = nil, devicetype = nil) ⇒ DevicePosition
Returns a new instance of DevicePosition.
2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 |
# File 'lib/v20230418/models.rb', line 2775 def initialize(sn=nil, rackname=nil, idcunitid=nil, idcname=nil, idcunitname=nil, assetid=nil, positioncode=nil, devicetype=nil) @Sn = sn @RackName = rackname @IdcUnitId = idcunitid @IdcName = idcname @IdcUnitName = idcunitname @AssetId = assetid @PositionCode = positioncode @DeviceType = devicetype end |
Instance Attribute Details
#AssetId ⇒ Object
2773 2774 2775 |
# File 'lib/v20230418/models.rb', line 2773 def AssetId @AssetId end |
#DeviceType ⇒ Object
2773 2774 2775 |
# File 'lib/v20230418/models.rb', line 2773 def DeviceType @DeviceType end |
#IdcName ⇒ Object
2773 2774 2775 |
# File 'lib/v20230418/models.rb', line 2773 def IdcName @IdcName end |
#IdcUnitId ⇒ Object
2773 2774 2775 |
# File 'lib/v20230418/models.rb', line 2773 def IdcUnitId @IdcUnitId end |
#IdcUnitName ⇒ Object
2773 2774 2775 |
# File 'lib/v20230418/models.rb', line 2773 def IdcUnitName @IdcUnitName end |
#PositionCode ⇒ Object
2773 2774 2775 |
# File 'lib/v20230418/models.rb', line 2773 def PositionCode @PositionCode end |
#RackName ⇒ Object
2773 2774 2775 |
# File 'lib/v20230418/models.rb', line 2773 def RackName @RackName end |
#Sn ⇒ Object
2773 2774 2775 |
# File 'lib/v20230418/models.rb', line 2773 def Sn @Sn end |
Instance Method Details
#deserialize(params) ⇒ Object
2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 |
# File 'lib/v20230418/models.rb', line 2786 def deserialize(params) @Sn = params['Sn'] @RackName = params['RackName'] @IdcUnitId = params['IdcUnitId'] @IdcName = params['IdcName'] @IdcUnitName = params['IdcUnitName'] @AssetId = params['AssetId'] @PositionCode = params['PositionCode'] @DeviceType = params['DeviceType'] end |