Class: TencentCloud::Cdb::V20170320::ModifyBackupDownloadRestrictionRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/models.rb

Overview

ModifyBackupDownloadRestriction请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(limittype = nil, vpccomparisonsymbol = nil, ipcomparisonsymbol = nil, limitvpc = nil, limitip = nil) ⇒ ModifyBackupDownloadRestrictionRequest



10595
10596
10597
10598
10599
10600
10601
# File 'lib/v20170320/models.rb', line 10595

def initialize(limittype=nil, vpccomparisonsymbol=nil, ipcomparisonsymbol=nil, limitvpc=nil, limitip=nil)
  @LimitType = limittype
  @VpcComparisonSymbol = vpccomparisonsymbol
  @IpComparisonSymbol = ipcomparisonsymbol
  @LimitVpc = limitvpc
  @LimitIp = limitip
end

Instance Attribute Details

#IpComparisonSymbolObject



10593
10594
10595
# File 'lib/v20170320/models.rb', line 10593

def IpComparisonSymbol
  @IpComparisonSymbol
end

#LimitIpObject



10593
10594
10595
# File 'lib/v20170320/models.rb', line 10593

def LimitIp
  @LimitIp
end

#LimitTypeObject



10593
10594
10595
# File 'lib/v20170320/models.rb', line 10593

def LimitType
  @LimitType
end

#LimitVpcObject



10593
10594
10595
# File 'lib/v20170320/models.rb', line 10593

def LimitVpc
  @LimitVpc
end

#VpcComparisonSymbolObject



10593
10594
10595
# File 'lib/v20170320/models.rb', line 10593

def VpcComparisonSymbol
  @VpcComparisonSymbol
end

Instance Method Details

#deserialize(params) ⇒ Object



10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
# File 'lib/v20170320/models.rb', line 10603

def deserialize(params)
  @LimitType = params['LimitType']
  @VpcComparisonSymbol = params['VpcComparisonSymbol']
  @IpComparisonSymbol = params['IpComparisonSymbol']
  unless params['LimitVpc'].nil?
    @LimitVpc = []
    params['LimitVpc'].each do |i|
      backuplimitvpcitem_tmp = BackupLimitVpcItem.new
      backuplimitvpcitem_tmp.deserialize(i)
      @LimitVpc << backuplimitvpcitem_tmp
    end
  end
  @LimitIp = params['LimitIp']
end