Class: TencentCloud::Postgres::V20170312::BackupDownloadRestriction
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::BackupDownloadRestriction
- Defined in:
- lib/v20170312/models.rb
Overview
备份下载限制信息
Instance Attribute Summary collapse
- #IpRestrictionEffect ⇒ Object
- #IpSet ⇒ Object
- #RestrictionType ⇒ Object
- #VpcIdSet ⇒ Object
- #VpcRestrictionEffect ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(restrictiontype = nil, vpcrestrictioneffect = nil, vpcidset = nil, iprestrictioneffect = nil, ipset = nil) ⇒ BackupDownloadRestriction
constructor
A new instance of BackupDownloadRestriction.
Constructor Details
#initialize(restrictiontype = nil, vpcrestrictioneffect = nil, vpcidset = nil, iprestrictioneffect = nil, ipset = nil) ⇒ BackupDownloadRestriction
Returns a new instance of BackupDownloadRestriction.
194 195 196 197 198 199 200 |
# File 'lib/v20170312/models.rb', line 194 def initialize(restrictiontype=nil, vpcrestrictioneffect=nil, vpcidset=nil, iprestrictioneffect=nil, ipset=nil) @RestrictionType = restrictiontype @VpcRestrictionEffect = vpcrestrictioneffect @VpcIdSet = vpcidset @IpRestrictionEffect = iprestrictioneffect @IpSet = ipset end |
Instance Attribute Details
#IpRestrictionEffect ⇒ Object
192 193 194 |
# File 'lib/v20170312/models.rb', line 192 def IpRestrictionEffect @IpRestrictionEffect end |
#IpSet ⇒ Object
192 193 194 |
# File 'lib/v20170312/models.rb', line 192 def IpSet @IpSet end |
#RestrictionType ⇒ Object
192 193 194 |
# File 'lib/v20170312/models.rb', line 192 def RestrictionType @RestrictionType end |
#VpcIdSet ⇒ Object
192 193 194 |
# File 'lib/v20170312/models.rb', line 192 def VpcIdSet @VpcIdSet end |
#VpcRestrictionEffect ⇒ Object
192 193 194 |
# File 'lib/v20170312/models.rb', line 192 def VpcRestrictionEffect @VpcRestrictionEffect end |
Instance Method Details
#deserialize(params) ⇒ Object
202 203 204 205 206 207 208 |
# File 'lib/v20170312/models.rb', line 202 def deserialize(params) @RestrictionType = params['RestrictionType'] @VpcRestrictionEffect = params['VpcRestrictionEffect'] @VpcIdSet = params['VpcIdSet'] @IpRestrictionEffect = params['IpRestrictionEffect'] @IpSet = params['IpSet'] end |