Class: TencentCloud::Chc::V20230418::DeviceRackOn
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Chc::V20230418::DeviceRackOn
- Defined in:
- lib/v20230418/models.rb
Overview
设备上架信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(devicesn = nil, dstrackname = nil, dstpositioncode = nil, dstip = nil) ⇒ DeviceRackOn
constructor
A new instance of DeviceRackOn.
Constructor Details
#initialize(devicesn = nil, dstrackname = nil, dstpositioncode = nil, dstip = nil) ⇒ DeviceRackOn
Returns a new instance of DeviceRackOn.
2811 2812 2813 2814 2815 2816 |
# File 'lib/v20230418/models.rb', line 2811 def initialize(devicesn=nil, dstrackname=nil, dstpositioncode=nil, dstip=nil) @DeviceSn = devicesn @DstRackName = dstrackname @DstPositionCode = dstpositioncode @DstIp = dstip end |
Instance Attribute Details
#DeviceSn ⇒ Object
2809 2810 2811 |
# File 'lib/v20230418/models.rb', line 2809 def DeviceSn @DeviceSn end |
#DstIp ⇒ Object
2809 2810 2811 |
# File 'lib/v20230418/models.rb', line 2809 def DstIp @DstIp end |
#DstPositionCode ⇒ Object
2809 2810 2811 |
# File 'lib/v20230418/models.rb', line 2809 def DstPositionCode @DstPositionCode end |
#DstRackName ⇒ Object
2809 2810 2811 |
# File 'lib/v20230418/models.rb', line 2809 def DstRackName @DstRackName end |
Instance Method Details
#deserialize(params) ⇒ Object
2818 2819 2820 2821 2822 2823 |
# File 'lib/v20230418/models.rb', line 2818 def deserialize(params) @DeviceSn = params['DeviceSn'] @DstRackName = params['DstRackName'] @DstPositionCode = params['DstPositionCode'] @DstIp = params['DstIp'] end |