class TencentCloud::Emr::V20190103::TopologyInfo

集群节点拓扑信息

def deserialize(params)

def deserialize(params)
  @ZoneId = params['ZoneId']
  @Zone = params['Zone']
  unless params['SubnetInfoList'].nil?
    @SubnetInfoList = []
    params['SubnetInfoList'].each do |i|
      subnetinfo_tmp = SubnetInfo.new
      subnetinfo_tmp.deserialize(i)
      @SubnetInfoList << subnetinfo_tmp
    end
  end
  unless params['NodeInfoList'].nil?
    @NodeInfoList = []
    params['NodeInfoList'].each do |i|
      shortnodeinfo_tmp = ShortNodeInfo.new
      shortnodeinfo_tmp.deserialize(i)
      @NodeInfoList << shortnodeinfo_tmp
    end
  end
end

def initialize(zoneid=nil, zone=nil, subnetinfolist=nil, nodeinfolist=nil)

def initialize(zoneid=nil, zone=nil, subnetinfolist=nil, nodeinfolist=nil)
  @ZoneId = zoneid
  @Zone = zone
  @SubnetInfoList = subnetinfolist
  @NodeInfoList = nodeinfolist
end