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.
9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 |
# File 'lib/v20170320/models.rb', line 9043 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
9041 9042 9043 |
# File 'lib/v20170320/models.rb', line 9041 def Action @Action end |
#AddressModule ⇒ Object
9041 9042 9043 |
# File 'lib/v20170320/models.rb', line 9041 def AddressModule @AddressModule end |
#CidrIp ⇒ Object
9041 9042 9043 |
# File 'lib/v20170320/models.rb', line 9041 def CidrIp @CidrIp end |
#Desc ⇒ Object
9041 9042 9043 |
# File 'lib/v20170320/models.rb', line 9041 def Desc @Desc end |
#Dir ⇒ Object
9041 9042 9043 |
# File 'lib/v20170320/models.rb', line 9041 def Dir @Dir end |
#Id ⇒ Object
9041 9042 9043 |
# File 'lib/v20170320/models.rb', line 9041 def Id @Id end |
#IpProtocol ⇒ Object
9041 9042 9043 |
# File 'lib/v20170320/models.rb', line 9041 def IpProtocol @IpProtocol end |
#PortRange ⇒ Object
9041 9042 9043 |
# File 'lib/v20170320/models.rb', line 9041 def PortRange @PortRange end |
Instance Method Details
#deserialize(params) ⇒ Object
9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 |
# File 'lib/v20170320/models.rb', line 9054 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 |