Class: TencentCloud::Cdb::V20170320::Inbound
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::Inbound
- Defined in:
- lib/v20170320/models.rb
Overview
安全组入站规则
Instance Attribute Summary collapse
- #Action ⇒ Object
- #AddressModule ⇒ Object
- #CidrIp ⇒ Object
- #Desc ⇒ Object
- #Dir ⇒ Object
- #Id ⇒ Object
- #IpProtocol ⇒ Object
- #PortRange ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(action = nil, cidrip = nil, portrange = nil, ipprotocol = nil, dir = nil, addressmodule = nil, id = nil, desc = nil) ⇒ Inbound
constructor
A new instance of Inbound.
Constructor Details
#initialize(action = nil, cidrip = nil, portrange = nil, ipprotocol = nil, dir = nil, addressmodule = nil, id = nil, desc = nil) ⇒ Inbound
Returns a new instance of Inbound.
9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 |
# File 'lib/v20170320/models.rb', line 9196 def initialize(action=nil, cidrip=nil, portrange=nil, ipprotocol=nil, dir=nil, addressmodule=nil, id=nil, desc=nil) @Action = action @CidrIp = cidrip @PortRange = portrange @IpProtocol = ipprotocol @Dir = dir @AddressModule = addressmodule @Id = id @Desc = desc end |
Instance Attribute Details
#Action ⇒ Object
9194 9195 9196 |
# File 'lib/v20170320/models.rb', line 9194 def Action @Action end |
#AddressModule ⇒ Object
9194 9195 9196 |
# File 'lib/v20170320/models.rb', line 9194 def AddressModule @AddressModule end |
#CidrIp ⇒ Object
9194 9195 9196 |
# File 'lib/v20170320/models.rb', line 9194 def CidrIp @CidrIp end |
#Desc ⇒ Object
9194 9195 9196 |
# File 'lib/v20170320/models.rb', line 9194 def Desc @Desc end |
#Dir ⇒ Object
9194 9195 9196 |
# File 'lib/v20170320/models.rb', line 9194 def Dir @Dir end |
#Id ⇒ Object
9194 9195 9196 |
# File 'lib/v20170320/models.rb', line 9194 def Id @Id end |
#IpProtocol ⇒ Object
9194 9195 9196 |
# File 'lib/v20170320/models.rb', line 9194 def IpProtocol @IpProtocol end |
#PortRange ⇒ Object
9194 9195 9196 |
# File 'lib/v20170320/models.rb', line 9194 def PortRange @PortRange end |
Instance Method Details
#deserialize(params) ⇒ Object
9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 |
# File 'lib/v20170320/models.rb', line 9207 def deserialize(params) @Action = params['Action'] @CidrIp = params['CidrIp'] @PortRange = params['PortRange'] @IpProtocol = params['IpProtocol'] @Dir = params['Dir'] @AddressModule = params['AddressModule'] @Id = params['Id'] @Desc = params['Desc'] end |