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.
9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 |
# File 'lib/v20170320/models.rb', line 9104 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
9102 9103 9104 |
# File 'lib/v20170320/models.rb', line 9102 def Action @Action end |
#AddressModule ⇒ Object
9102 9103 9104 |
# File 'lib/v20170320/models.rb', line 9102 def AddressModule @AddressModule end |
#CidrIp ⇒ Object
9102 9103 9104 |
# File 'lib/v20170320/models.rb', line 9102 def CidrIp @CidrIp end |
#Desc ⇒ Object
9102 9103 9104 |
# File 'lib/v20170320/models.rb', line 9102 def Desc @Desc end |
#Dir ⇒ Object
9102 9103 9104 |
# File 'lib/v20170320/models.rb', line 9102 def Dir @Dir end |
#Id ⇒ Object
9102 9103 9104 |
# File 'lib/v20170320/models.rb', line 9102 def Id @Id end |
#IpProtocol ⇒ Object
9102 9103 9104 |
# File 'lib/v20170320/models.rb', line 9102 def IpProtocol @IpProtocol end |
#PortRange ⇒ Object
9102 9103 9104 |
# File 'lib/v20170320/models.rb', line 9102 def PortRange @PortRange end |
Instance Method Details
#deserialize(params) ⇒ Object
9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 |
# File 'lib/v20170320/models.rb', line 9115 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 |