class TencentCloud::Emr::V20190103::NodeHardwareInfo

节点硬件信息

def deserialize(params)

def deserialize(params)
  @AppId = params['AppId']
  @SerialNo = params['SerialNo']
  @OrderNo = params['OrderNo']
  @WanIp = params['WanIp']
  @Flag = params['Flag']
  @Spec = params['Spec']
  @CpuNum = params['CpuNum']
  @MemSize = params['MemSize']
  @MemDesc = params['MemDesc']
  @RegionId = params['RegionId']
  @ZoneId = params['ZoneId']
  @ApplyTime = params['ApplyTime']
  @FreeTime = params['FreeTime']
  @DiskSize = params['DiskSize']
  @NameTag = params['NameTag']
  @Services = params['Services']
  @StorageType = params['StorageType']
  @RootSize = params['RootSize']
  @ChargeType = params['ChargeType']
  @CdbIp = params['CdbIp']
  @CdbPort = params['CdbPort']
  @HwDiskSize = params['HwDiskSize']
  @HwDiskSizeDesc = params['HwDiskSizeDesc']
  @HwMemSize = params['HwMemSize']
  @HwMemSizeDesc = params['HwMemSizeDesc']
  @ExpireTime = params['ExpireTime']
  @EmrResourceId = params['EmrResourceId']
  @IsAutoRenew = params['IsAutoRenew']
  @DeviceClass = params['DeviceClass']
  @Mutable = params['Mutable']
  unless params['MCMultiDisk'].nil?
    @MCMultiDisk = []
    params['MCMultiDisk'].each do |i|
      multidiskmc_tmp = MultiDiskMC.new
      multidiskmc_tmp.deserialize(i)
      @MCMultiDisk << multidiskmc_tmp
    end
  end
  unless params['CdbNodeInfo'].nil?
    @CdbNodeInfo = CdbInfo.new
    @CdbNodeInfo.deserialize(params['CdbNodeInfo'])
  end
  @Ip = params['Ip']
  @Destroyable = params['Destroyable']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
  @AutoFlag = params['AutoFlag']
  @HardwareResourceType = params['HardwareResourceType']
  @IsDynamicSpec = params['IsDynamicSpec']
  @DynamicPodSpec = params['DynamicPodSpec']
  @SupportModifyPayMode = params['SupportModifyPayMode']
  @RootStorageType = params['RootStorageType']
  @Zone = params['Zone']
  unless params['SubnetInfo'].nil?
    @SubnetInfo = SubnetInfo.new
    @SubnetInfo.deserialize(params['SubnetInfo'])
  end
  @Clients = params['Clients']
  @CurrentTime = params['CurrentTime']
  @IsFederation = params['IsFederation']
  @DeviceName = params['DeviceName']
  @ServiceClient = params['ServiceClient']
  @DisableApiTermination = params['DisableApiTermination']
  @TradeVersion = params['TradeVersion']
  @ServicesStatus = params['ServicesStatus']
  @Remark = params['Remark']
  @SharedClusterId = params['SharedClusterId']
  @SharedClusterIdDesc = params['SharedClusterIdDesc']
end

def initialize(appid=nil, serialno=nil, orderno=nil, wanip=nil, flag=nil, spec=nil, cpunum=nil, memsize=nil, memdesc=nil, regionid=nil, zoneid=nil, applytime=nil, freetime=nil, disksize=nil, nametag=nil, services=nil, storagetype=nil, rootsize=nil, chargetype=nil, cdbip=nil, cdbport=nil, hwdisksize=nil, hwdisksizedesc=nil, hwmemsize=nil, hwmemsizedesc=nil, expiretime=nil, emrresourceid=nil, isautorenew=nil, deviceclass=nil, mutable=nil, mcmultidisk=nil, cdbnodeinfo=nil, ip=nil, destroyable=nil, tags=nil, autoflag=nil, hardwareresourcetype=nil, isdynamicspec=nil, dynamicpodspec=nil, supportmodifypaymode=nil, rootstoragetype=nil, zone=nil, subnetinfo=nil, clients=nil, currenttime=nil, isfederation=nil, devicename=nil, serviceclient=nil, disableapitermination=nil, tradeversion=nil, servicesstatus=nil, remark=nil, sharedclusterid=nil, sharedclusteriddesc=nil)

def initialize(appid=nil, serialno=nil, orderno=nil, wanip=nil, flag=nil, spec=nil, cpunum=nil, memsize=nil, memdesc=nil, regionid=nil, zoneid=nil, applytime=nil, freetime=nil, disksize=nil, nametag=nil, services=nil, storagetype=nil, rootsize=nil, chargetype=nil, cdbip=nil, cdbport=nil, hwdisksize=nil, hwdisksizedesc=nil, hwmemsize=nil, hwmemsizedesc=nil, expiretime=nil, emrresourceid=nil, isautorenew=nil, deviceclass=nil, mutable=nil, mcmultidisk=nil, cdbnodeinfo=nil, ip=nil, destroyable=nil, tags=nil, autoflag=nil, hardwareresourcetype=nil, isdynamicspec=nil, dynamicpodspec=nil, supportmodifypaymode=nil, rootstoragetype=nil, zone=nil, subnetinfo=nil, clients=nil, currenttime=nil, isfederation=nil, devicename=nil, serviceclient=nil, disableapitermination=nil, tradeversion=nil, servicesstatus=nil, remark=nil, sharedclusterid=nil, sharedclusteriddesc=nil)
  @AppId = appid
  @SerialNo = serialno
  @OrderNo = orderno
  @WanIp = wanip
  @Flag = flag
  @Spec = spec
  @CpuNum = cpunum
  @MemSize = memsize
  @MemDesc = memdesc
  @RegionId = regionid
  @ZoneId = zoneid
  @ApplyTime = applytime
  @FreeTime = freetime
  @DiskSize = disksize
  @NameTag = nametag
  @Services = services
  @StorageType = storagetype
  @RootSize = rootsize
  @ChargeType = chargetype
  @CdbIp = cdbip
  @CdbPort = cdbport
  @HwDiskSize = hwdisksize
  @HwDiskSizeDesc = hwdisksizedesc
  @HwMemSize = hwmemsize
  @HwMemSizeDesc = hwmemsizedesc
  @ExpireTime = expiretime
  @EmrResourceId = emrresourceid
  @IsAutoRenew = isautorenew
  @DeviceClass = deviceclass
  @Mutable = mutable
  @MCMultiDisk = mcmultidisk
  @CdbNodeInfo = cdbnodeinfo
  @Ip = ip
  @Destroyable = destroyable
  @Tags = tags
  @AutoFlag = autoflag
  @HardwareResourceType = hardwareresourcetype
  @IsDynamicSpec = isdynamicspec
  @DynamicPodSpec = dynamicpodspec
  @SupportModifyPayMode = supportmodifypaymode
  @RootStorageType = rootstoragetype
  @Zone = zone
  @SubnetInfo = subnetinfo
  @Clients = clients
  @CurrentTime = currenttime
  @IsFederation = isfederation
  @DeviceName = devicename
  @ServiceClient = serviceclient
  @DisableApiTermination = disableapitermination
  @TradeVersion = tradeversion
  @ServicesStatus = servicesstatus
  @Remark = remark
  @SharedClusterId = sharedclusterid
  @SharedClusterIdDesc = sharedclusteriddesc
end