class TencentCloud::Cdwpg::V20201230::SimpleInstanceInfo
集群信息
def deserialize(params)
def deserialize(params) @ID = params['ID'] @InstanceId = params['InstanceId'] @InstanceName = params['InstanceName'] @Version = params['Version'] @Region = params['Region'] @Zone = params['Zone'] @UserVPCID = params['UserVPCID'] @UserSubnetID = params['UserSubnetID'] @CreateTime = params['CreateTime'] @ExpireTime = params['ExpireTime'] @AccessInfo = params['AccessInfo'] @RenewFlag = params['RenewFlag'] unless params['ChargeProperties'].nil? @ChargeProperties = ChargeProperties.new @ChargeProperties.deserialize(params['ChargeProperties']) end unless params['Resources'].nil? @Resources = [] params['Resources'].each do |i| resourceinfo_tmp = ResourceInfo.new resourceinfo_tmp.deserialize(i) @Resources << resourceinfo_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 @Status = params['Status'] end
def initialize(id=nil, instanceid=nil, instancename=nil, version=nil, region=nil, zone=nil, uservpcid=nil, usersubnetid=nil, createtime=nil, expiretime=nil, accessinfo=nil, renewflag=nil, chargeproperties=nil, resources=nil, tags=nil, status=nil)
def initialize(id=nil, instanceid=nil, instancename=nil, version=nil, region=nil, zone=nil, uservpcid=nil, usersubnetid=nil, createtime=nil, expiretime=nil, accessinfo=nil, renewflag=nil, chargeproperties=nil, resources=nil, tags=nil, status=nil) @ID = id @InstanceId = instanceid @InstanceName = instancename @Version = version @Region = region @Zone = zone @UserVPCID = uservpcid @UserSubnetID = usersubnetid @CreateTime = createtime @ExpireTime = expiretime @AccessInfo = accessinfo @RenewFlag = renewflag @ChargeProperties = chargeproperties @Resources = resources @Tags = tags @Status = status end