Class: TencentCloud::Dbdc::V20201029::DeviceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbdc::V20201029::DeviceInfo
- Defined in:
- lib/v20201029/models.rb
Overview
设备信息
Instance Attribute Summary collapse
- #DevClass ⇒ Object
- #DeviceId ⇒ Object
- #DeviceNo ⇒ Object
- #InstanceNum ⇒ Object
- #MaxDisk ⇒ Object
- #MaxMemory ⇒ Object
- #RawDeviceNum ⇒ Object
- #RestDisk ⇒ Object
- #RestMemory ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deviceid = nil, deviceno = nil, devclass = nil, maxmemory = nil, maxdisk = nil, restmemory = nil, restdisk = nil, rawdevicenum = nil, instancenum = nil) ⇒ DeviceInfo
constructor
A new instance of DeviceInfo.
Constructor Details
#initialize(deviceid = nil, deviceno = nil, devclass = nil, maxmemory = nil, maxdisk = nil, restmemory = nil, restdisk = nil, rawdevicenum = nil, instancenum = nil) ⇒ DeviceInfo
Returns a new instance of DeviceInfo.
721 722 723 724 725 726 727 728 729 730 731 |
# File 'lib/v20201029/models.rb', line 721 def initialize(deviceid=nil, deviceno=nil, devclass=nil, maxmemory=nil, maxdisk=nil, restmemory=nil, restdisk=nil, rawdevicenum=nil, instancenum=nil) @DeviceId = deviceid @DeviceNo = deviceno @DevClass = devclass @MaxMemory = maxmemory @MaxDisk = maxdisk @RestMemory = restmemory @RestDisk = restdisk @RawDeviceNum = rawdevicenum @InstanceNum = instancenum end |
Instance Attribute Details
#DevClass ⇒ Object
719 720 721 |
# File 'lib/v20201029/models.rb', line 719 def DevClass @DevClass end |
#DeviceId ⇒ Object
719 720 721 |
# File 'lib/v20201029/models.rb', line 719 def DeviceId @DeviceId end |
#DeviceNo ⇒ Object
719 720 721 |
# File 'lib/v20201029/models.rb', line 719 def DeviceNo @DeviceNo end |
#InstanceNum ⇒ Object
719 720 721 |
# File 'lib/v20201029/models.rb', line 719 def InstanceNum @InstanceNum end |
#MaxDisk ⇒ Object
719 720 721 |
# File 'lib/v20201029/models.rb', line 719 def MaxDisk @MaxDisk end |
#MaxMemory ⇒ Object
719 720 721 |
# File 'lib/v20201029/models.rb', line 719 def MaxMemory @MaxMemory end |
#RawDeviceNum ⇒ Object
719 720 721 |
# File 'lib/v20201029/models.rb', line 719 def RawDeviceNum @RawDeviceNum end |
#RestDisk ⇒ Object
719 720 721 |
# File 'lib/v20201029/models.rb', line 719 def RestDisk @RestDisk end |
#RestMemory ⇒ Object
719 720 721 |
# File 'lib/v20201029/models.rb', line 719 def RestMemory @RestMemory end |
Instance Method Details
#deserialize(params) ⇒ Object
733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/v20201029/models.rb', line 733 def deserialize(params) @DeviceId = params['DeviceId'] @DeviceNo = params['DeviceNo'] @DevClass = params['DevClass'] @MaxMemory = params['MaxMemory'] @MaxDisk = params['MaxDisk'] @RestMemory = params['RestMemory'] @RestDisk = params['RestDisk'] @RawDeviceNum = params['RawDeviceNum'] @InstanceNum = params['InstanceNum'] end |