class TencentCloud::Emr::V20190103::SLInstanceInfo
EMR Lite HBase 实例信息
def deserialize(params)
def deserialize(params) @ClusterId = params['ClusterId'] @Id = params['Id'] @StatusDesc = params['StatusDesc'] @ClusterName = params['ClusterName'] @RegionId = params['RegionId'] @ZoneId = params['ZoneId'] @Zone = params['Zone'] @AppId = params['AppId'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @Status = params['Status'] @AddTime = params['AddTime'] @PayMode = params['PayMode'] unless params['ZoneSettings'].nil? @ZoneSettings = [] params['ZoneSettings'].each do |i| zonesetting_tmp = ZoneSetting.new zonesetting_tmp.deserialize(i) @ZoneSettings << zonesetting_tmp end end unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end
def initialize(clusterid=nil, id=nil, statusdesc=nil, clustername=nil, regionid=nil, zoneid=nil, zone=nil, appid=nil, vpcid=nil, subnetid=nil, status=nil, addtime=nil, paymode=nil, zonesettings=nil, tags=nil)
def initialize(clusterid=nil, id=nil, statusdesc=nil, clustername=nil, regionid=nil, zoneid=nil, zone=nil, appid=nil, vpcid=nil, subnetid=nil, status=nil, addtime=nil, paymode=nil, zonesettings=nil, tags=nil) @ClusterId = clusterid @Id = id @StatusDesc = statusdesc @ClusterName = clustername @RegionId = regionid @ZoneId = zoneid @Zone = zone @AppId = appid @VpcId = vpcid @SubnetId = subnetid @Status = status @AddTime = addtime @PayMode = paymode @ZoneSettings = zonesettings @Tags = tags end