Class: TencentCloud::Keewidb::V20220308::Inbound
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::Inbound
- Defined in:
- lib/v20220308/models.rb
Overview
安全组入站规则
Instance Attribute Summary collapse
- #Action ⇒ Object
- #AddressModule ⇒ Object
- #CidrIp ⇒ Object
- #Desc ⇒ Object
- #Id ⇒ Object
- #IpProtocol ⇒ Object
- #PortRange ⇒ Object
- #ServiceModule ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(action = nil, addressmodule = nil, cidrip = nil, desc = nil, ipprotocol = nil, portrange = nil, servicemodule = nil, id = nil) ⇒ Inbound
constructor
A new instance of Inbound.
Constructor Details
#initialize(action = nil, addressmodule = nil, cidrip = nil, desc = nil, ipprotocol = nil, portrange = nil, servicemodule = nil, id = nil) ⇒ Inbound
1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 |
# File 'lib/v20220308/models.rb', line 1763 def initialize(action=nil, addressmodule=nil, cidrip=nil, desc=nil, ipprotocol=nil, portrange=nil, servicemodule=nil, id=nil) @Action = action @AddressModule = addressmodule @CidrIp = cidrip @Desc = desc @IpProtocol = ipprotocol @PortRange = portrange @ServiceModule = servicemodule @Id = id end |
Instance Attribute Details
#Action ⇒ Object
1761 1762 1763 |
# File 'lib/v20220308/models.rb', line 1761 def Action @Action end |
#AddressModule ⇒ Object
1761 1762 1763 |
# File 'lib/v20220308/models.rb', line 1761 def AddressModule @AddressModule end |
#CidrIp ⇒ Object
1761 1762 1763 |
# File 'lib/v20220308/models.rb', line 1761 def CidrIp @CidrIp end |
#Desc ⇒ Object
1761 1762 1763 |
# File 'lib/v20220308/models.rb', line 1761 def Desc @Desc end |
#Id ⇒ Object
1761 1762 1763 |
# File 'lib/v20220308/models.rb', line 1761 def Id @Id end |
#IpProtocol ⇒ Object
1761 1762 1763 |
# File 'lib/v20220308/models.rb', line 1761 def IpProtocol @IpProtocol end |
#PortRange ⇒ Object
1761 1762 1763 |
# File 'lib/v20220308/models.rb', line 1761 def PortRange @PortRange end |
#ServiceModule ⇒ Object
1761 1762 1763 |
# File 'lib/v20220308/models.rb', line 1761 def ServiceModule @ServiceModule end |
Instance Method Details
#deserialize(params) ⇒ Object
1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 |
# File 'lib/v20220308/models.rb', line 1774 def deserialize(params) @Action = params['Action'] @AddressModule = params['AddressModule'] @CidrIp = params['CidrIp'] @Desc = params['Desc'] @IpProtocol = params['IpProtocol'] @PortRange = params['PortRange'] @ServiceModule = params['ServiceModule'] @Id = params['Id'] end |