class TencentCloud::Cdc::V20201214::DescribeDedicatedClusterOverviewResponse
DescribeDedicatedClusterOverview返回参数结构体
def deserialize(params)
def deserialize(params) @CvmCount = params['CvmCount'] @HostCount = params['HostCount'] @VpnConnectionState = params['VpnConnectionState'] unless params['VpngwBandwidthData'].nil? @VpngwBandwidthData = VpngwBandwidthData.new @VpngwBandwidthData.deserialize(params['VpngwBandwidthData']) end unless params['LocalNetInfo'].nil? @LocalNetInfo = LocalNetInfo.new @LocalNetInfo.deserialize(params['LocalNetInfo']) end unless params['VpnConnectionBandwidthData'].nil? @VpnConnectionBandwidthData = [] params['VpnConnectionBandwidthData'].each do |i| vpngwbandwidthdata_tmp = VpngwBandwidthData.new vpngwbandwidthdata_tmp.deserialize(i) @VpnConnectionBandwidthData << vpngwbandwidthdata_tmp end end unless params['HostDetailInfo'].nil? @HostDetailInfo = [] params['HostDetailInfo'].each do |i| hostdetailinfo_tmp = HostDetailInfo.new hostdetailinfo_tmp.deserialize(i) @HostDetailInfo << hostdetailinfo_tmp end end @HostStandbyCount = params['HostStandbyCount'] @HostNormalCount = params['HostNormalCount'] @RequestId = params['RequestId'] end
def initialize(cvmcount=nil, hostcount=nil, vpnconnectionstate=nil, vpngwbandwidthdata=nil, localnetinfo=nil, vpnconnectionbandwidthdata=nil, hostdetailinfo=nil, hoststandbycount=nil, hostnormalcount=nil, requestid=nil)
def initialize(cvmcount=nil, hostcount=nil, vpnconnectionstate=nil, vpngwbandwidthdata=nil, localnetinfo=nil, vpnconnectionbandwidthdata=nil, hostdetailinfo=nil, hoststandbycount=nil, hostnormalcount=nil, requestid=nil) @CvmCount = cvmcount @HostCount = hostcount @VpnConnectionState = vpnconnectionstate @VpngwBandwidthData = vpngwbandwidthdata @LocalNetInfo = localnetinfo @VpnConnectionBandwidthData = vpnconnectionbandwidthdata @HostDetailInfo = hostdetailinfo @HostStandbyCount = hoststandbycount @HostNormalCount = hostnormalcount @RequestId = requestid end