class TencentCloud::Cdb::V20170320::DescribeDeviceMonitorInfoResponse
DescribeDeviceMonitorInfo返回参数结构体
def deserialize(params)
def deserialize(params) unless params['Cpu'].nil? @Cpu = DeviceCpuInfo.new @Cpu.deserialize(params['Cpu']) end unless params['Mem'].nil? @Mem = DeviceMemInfo.new @Mem.deserialize(params['Mem']) end unless params['Net'].nil? @Net = DeviceNetInfo.new @Net.deserialize(params['Net']) end unless params['Disk'].nil? @Disk = DeviceDiskInfo.new @Disk.deserialize(params['Disk']) end @RequestId = params['RequestId'] end
def initialize(cpu=nil, mem=nil, net=nil, disk=nil, requestid=nil)
def initialize(cpu=nil, mem=nil, net=nil, disk=nil, requestid=nil) @Cpu = cpu @Mem = mem @Net = net @Disk = disk @RequestId = requestid end