class TencentCloud::Cynosdb::V20190107::CynosdbClusterDetail
集群详情详细信息
def deserialize(params)
def deserialize(params) @ClusterId = params['ClusterId'] @ClusterName = params['ClusterName'] @Region = params['Region'] @Zone = params['Zone'] @PhysicalZone = params['PhysicalZone'] @Status = params['Status'] @StatusDesc = params['StatusDesc'] @ServerlessStatus = params['ServerlessStatus'] @StorageId = params['StorageId'] @Storage = params['Storage'] @MaxStorageSize = params['MaxStorageSize'] @MinStorageSize = params['MinStorageSize'] @StoragePayMode = params['StoragePayMode'] @VpcName = params['VpcName'] @VpcId = params['VpcId'] @SubnetName = params['SubnetName'] @SubnetId = params['SubnetId'] @Charset = params['Charset'] @CreateTime = params['CreateTime'] @DbType = params['DbType'] @DbMode = params['DbMode'] @DbVersion = params['DbVersion'] @StorageLimit = params['StorageLimit'] @UsedStorage = params['UsedStorage'] @Vip = params['Vip'] @Vport = params['Vport'] unless params['RoAddr'].nil? @RoAddr = [] params['RoAddr'].each do |i| addr_tmp = Addr.new addr_tmp.deserialize(i) @RoAddr << addr_tmp end end unless params['Ability'].nil? @Ability = Ability.new @Ability.deserialize(params['Ability']) end @CynosVersion = params['CynosVersion'] @BusinessType = params['BusinessType'] @HasSlaveZone = params['HasSlaveZone'] @IsFreeze = params['IsFreeze'] unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| objecttask_tmp = ObjectTask.new objecttask_tmp.deserialize(i) @Tasks << objecttask_tmp end end @MasterZone = params['MasterZone'] @SlaveZones = params['SlaveZones'] unless params['InstanceSet'].nil? @InstanceSet = [] params['InstanceSet'].each do |i| clusterinstancedetail_tmp = ClusterInstanceDetail.new clusterinstancedetail_tmp.deserialize(i) @InstanceSet << clusterinstancedetail_tmp end end @PayMode = params['PayMode'] @PeriodEndTime = params['PeriodEndTime'] @ProjectID = params['ProjectID'] unless params['ResourceTags'].nil? @ResourceTags = [] params['ResourceTags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @ResourceTags << tag_tmp end end @ProxyStatus = params['ProxyStatus'] @LogBin = params['LogBin'] @IsSkipTrade = params['IsSkipTrade'] @PitrType = params['PitrType'] @IsOpenPasswordComplexity = params['IsOpenPasswordComplexity'] @NetworkStatus = params['NetworkStatus'] unless params['ResourcePackages'].nil? @ResourcePackages = [] params['ResourcePackages'].each do |i| resourcepackage_tmp = ResourcePackage.new resourcepackage_tmp.deserialize(i) @ResourcePackages << resourcepackage_tmp end end @RenewFlag = params['RenewFlag'] @NetworkType = params['NetworkType'] unless params['SlaveZoneAttr'].nil? @SlaveZoneAttr = [] params['SlaveZoneAttr'].each do |i| slavezoneattritem_tmp = SlaveZoneAttrItem.new slavezoneattritem_tmp.deserialize(i) @SlaveZoneAttr << slavezoneattritem_tmp end end end
def initialize(clusterid=nil, clustername=nil, region=nil, zone=nil, physicalzone=nil, status=nil, statusdesc=nil, serverlessstatus=nil, storageid=nil, storage=nil, maxstoragesize=nil, minstoragesize=nil, storagepaymode=nil, vpcname=nil, vpcid=nil, subnetname=nil, subnetid=nil, charset=nil, createtime=nil, dbtype=nil, dbmode=nil, dbversion=nil, storagelimit=nil, usedstorage=nil, vip=nil, vport=nil, roaddr=nil, ability=nil, cynosversion=nil, businesstype=nil, hasslavezone=nil, isfreeze=nil, tasks=nil, masterzone=nil, slavezones=nil, instanceset=nil, paymode=nil, periodendtime=nil, projectid=nil, resourcetags=nil, proxystatus=nil, logbin=nil, isskiptrade=nil, pitrtype=nil, isopenpasswordcomplexity=nil, networkstatus=nil, resourcepackages=nil, renewflag=nil, networktype=nil, slavezoneattr=nil)
def initialize(clusterid=nil, clustername=nil, region=nil, zone=nil, physicalzone=nil, status=nil, statusdesc=nil, serverlessstatus=nil, storageid=nil, storage=nil, maxstoragesize=nil, minstoragesize=nil, storagepaymode=nil, vpcname=nil, vpcid=nil, subnetname=nil, subnetid=nil, charset=nil, createtime=nil, dbtype=nil, dbmode=nil, dbversion=nil, storagelimit=nil, usedstorage=nil, vip=nil, vport=nil, roaddr=nil, ability=nil, cynosversion=nil, businesstype=nil, hasslavezone=nil, isfreeze=nil, tasks=nil, masterzone=nil, slavezones=nil, instanceset=nil, paymode=nil, periodendtime=nil, projectid=nil, resourcetags=nil, proxystatus=nil, logbin=nil, isskiptrade=nil, pitrtype=nil, isopenpasswordcomplexity=nil, networkstatus=nil, resourcepackages=nil, renewflag=nil, networktype=nil, slavezoneattr=nil) @ClusterId = clusterid @ClusterName = clustername @Region = region @Zone = zone @PhysicalZone = physicalzone @Status = status @StatusDesc = statusdesc @ServerlessStatus = serverlessstatus @StorageId = storageid @Storage = storage @MaxStorageSize = maxstoragesize @MinStorageSize = minstoragesize @StoragePayMode = storagepaymode @VpcName = vpcname @VpcId = vpcid @SubnetName = subnetname @SubnetId = subnetid @Charset = charset @CreateTime = createtime @DbType = dbtype @DbMode = dbmode @DbVersion = dbversion @StorageLimit = storagelimit @UsedStorage = usedstorage @Vip = vip @Vport = vport @RoAddr = roaddr @Ability = ability @CynosVersion = cynosversion @BusinessType = businesstype @HasSlaveZone = hasslavezone @IsFreeze = isfreeze @Tasks = tasks @MasterZone = masterzone @SlaveZones = slavezones @InstanceSet = instanceset @PayMode = paymode @PeriodEndTime = periodendtime @ProjectID = projectid @ResourceTags = resourcetags @ProxyStatus = proxystatus @LogBin = logbin @IsSkipTrade = isskiptrade @PitrType = pitrtype @IsOpenPasswordComplexity = isopenpasswordcomplexity @NetworkStatus = networkstatus @ResourcePackages = resourcepackages @RenewFlag = renewflag @NetworkType = networktype @SlaveZoneAttr = slavezoneattr end