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 @RequestId = params['RequestId'] end
def initialize(cvmcount=nil, hostcount=nil, vpnconnectionstate=nil, vpngwbandwidthdata=nil, localnetinfo=nil, vpnconnectionbandwidthdata=nil, requestid=nil)
def initialize(cvmcount=nil, hostcount=nil, vpnconnectionstate=nil, vpngwbandwidthdata=nil, localnetinfo=nil, vpnconnectionbandwidthdata=nil, requestid=nil) @CvmCount = cvmcount @HostCount = hostcount @VpnConnectionState = vpnconnectionstate @VpngwBandwidthData = vpngwbandwidthdata @LocalNetInfo = localnetinfo @VpnConnectionBandwidthData = vpnconnectionbandwidthdata @RequestId = requestid end