Class: TencentCloud::Keewidb::V20220308::Inbound

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220308/models.rb

Overview

安全组入站规则

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ActionObject



1761
1762
1763
# File 'lib/v20220308/models.rb', line 1761

def Action
  @Action
end

#AddressModuleObject



1761
1762
1763
# File 'lib/v20220308/models.rb', line 1761

def AddressModule
  @AddressModule
end

#CidrIpObject



1761
1762
1763
# File 'lib/v20220308/models.rb', line 1761

def CidrIp
  @CidrIp
end

#DescObject



1761
1762
1763
# File 'lib/v20220308/models.rb', line 1761

def Desc
  @Desc
end

#IdObject



1761
1762
1763
# File 'lib/v20220308/models.rb', line 1761

def Id
  @Id
end

#IpProtocolObject



1761
1762
1763
# File 'lib/v20220308/models.rb', line 1761

def IpProtocol
  @IpProtocol
end

#PortRangeObject



1761
1762
1763
# File 'lib/v20220308/models.rb', line 1761

def PortRange
  @PortRange
end

#ServiceModuleObject



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