class TencentCloud::Cdb::V20170320::CdbZoneSellConf

可用区售卖配置

def deserialize(params)

def deserialize(params)
  @Status = params['Status']
  @ZoneName = params['ZoneName']
  @IsCustom = params['IsCustom']
  @IsSupportDr = params['IsSupportDr']
  @IsSupportVpc = params['IsSupportVpc']
  @HourInstanceSaleMaxNum = params['HourInstanceSaleMaxNum']
  @IsDefaultZone = params['IsDefaultZone']
  @IsBm = params['IsBm']
  @PayType = params['PayType']
  @ProtectMode = params['ProtectMode']
  @Zone = params['Zone']
  unless params['ZoneConf'].nil?
    @ZoneConf = ZoneConf.new
    @ZoneConf.deserialize(params['ZoneConf'])
  end
  @DrZone = params['DrZone']
  @IsSupportRemoteRo = params['IsSupportRemoteRo']
  @RemoteRoZone = params['RemoteRoZone']
  @ExClusterStatus = params['ExClusterStatus']
  @ExClusterRemoteRoZone = params['ExClusterRemoteRoZone']
  unless params['ExClusterZoneConf'].nil?
    @ExClusterZoneConf = ZoneConf.new
    @ExClusterZoneConf.deserialize(params['ExClusterZoneConf'])
  end
  unless params['SellType'].nil?
    @SellType = []
    params['SellType'].each do |i|
      cdbselltype_tmp = CdbSellType.new
      cdbselltype_tmp.deserialize(i)
      @SellType << cdbselltype_tmp
    end
  end
  @ZoneId = params['ZoneId']
  @IsSupportIpv6 = params['IsSupportIpv6']
  @EngineType = params['EngineType']
end

def initialize(status=nil, zonename=nil, iscustom=nil, issupportdr=nil, issupportvpc=nil, hourinstancesalemaxnum=nil, isdefaultzone=nil, isbm=nil, paytype=nil, protectmode=nil, zone=nil, zoneconf=nil, drzone=nil, issupportremotero=nil, remoterozone=nil, exclusterstatus=nil, exclusterremoterozone=nil, exclusterzoneconf=nil, selltype=nil, zoneid=nil, issupportipv6=nil, enginetype=nil)

def initialize(status=nil, zonename=nil, iscustom=nil, issupportdr=nil, issupportvpc=nil, hourinstancesalemaxnum=nil, isdefaultzone=nil, isbm=nil, paytype=nil, protectmode=nil, zone=nil, zoneconf=nil, drzone=nil, issupportremotero=nil, remoterozone=nil, exclusterstatus=nil, exclusterremoterozone=nil, exclusterzoneconf=nil, selltype=nil, zoneid=nil, issupportipv6=nil, enginetype=nil)
  @Status = status
  @ZoneName = zonename
  @IsCustom = iscustom
  @IsSupportDr = issupportdr
  @IsSupportVpc = issupportvpc
  @HourInstanceSaleMaxNum = hourinstancesalemaxnum
  @IsDefaultZone = isdefaultzone
  @IsBm = isbm
  @PayType = paytype
  @ProtectMode = protectmode
  @Zone = zone
  @ZoneConf = zoneconf
  @DrZone = drzone
  @IsSupportRemoteRo = issupportremotero
  @RemoteRoZone = remoterozone
  @ExClusterStatus = exclusterstatus
  @ExClusterRemoteRoZone = exclusterremoterozone
  @ExClusterZoneConf = exclusterzoneconf
  @SellType = selltype
  @ZoneId = zoneid
  @IsSupportIpv6 = issupportipv6
  @EngineType = enginetype
end