class TencentCloud::Cdc::V20201214::HostStatistic
CDC集群内宿主机的统计信息
def deserialize(params)
def deserialize(params) @HostType = params['HostType'] @HostFamily = params['HostFamily'] @Cpu = params['Cpu'] @Memory = params['Memory'] @Count = params['Count'] @CpuAverage = params['CpuAverage'] @MemAverage = params['MemAverage'] @NetAverage = params['NetAverage'] unless params['CpuDetailData'].nil? @CpuDetailData = DetailData.new @CpuDetailData.deserialize(params['CpuDetailData']) end unless params['MemDetailData'].nil? @MemDetailData = DetailData.new @MemDetailData.deserialize(params['MemDetailData']) end unless params['NetRateDetailData'].nil? @NetRateDetailData = DetailData.new @NetRateDetailData.deserialize(params['NetRateDetailData']) end unless params['NetPacketDetailData'].nil? @NetPacketDetailData = DetailData.new @NetPacketDetailData.deserialize(params['NetPacketDetailData']) end end
def initialize(hosttype=nil, hostfamily=nil, cpu=nil, memory=nil, count=nil, cpuaverage=nil, memaverage=nil, netaverage=nil, cpudetaildata=nil, memdetaildata=nil, netratedetaildata=nil, netpacketdetaildata=nil)
def initialize(hosttype=nil, hostfamily=nil, cpu=nil, memory=nil, count=nil, cpuaverage=nil, memaverage=nil, netaverage=nil, cpudetaildata=nil, memdetaildata=nil, netratedetaildata=nil, netpacketdetaildata=nil) @HostType = hosttype @HostFamily = hostfamily @Cpu = cpu @Memory = memory @Count = count @CpuAverage = cpuaverage @MemAverage = memaverage @NetAverage = netaverage @CpuDetailData = cpudetaildata @MemDetailData = memdetaildata @NetRateDetailData = netratedetaildata @NetPacketDetailData = netpacketdetaildata end