Class: TencentCloud::Cfw::V20190904::CustomWhiteRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::CustomWhiteRule
- Defined in:
- lib/v20190904/models.rb
Overview
自定义白名单规则
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dstip = nil, idsruleid = nil, idsrulename = nil, srcip = nil) ⇒ CustomWhiteRule
constructor
A new instance of CustomWhiteRule.
Constructor Details
#initialize(dstip = nil, idsruleid = nil, idsrulename = nil, srcip = nil) ⇒ CustomWhiteRule
Returns a new instance of CustomWhiteRule.
1769 1770 1771 1772 1773 1774 |
# File 'lib/v20190904/models.rb', line 1769 def initialize(dstip=nil, idsruleid=nil, idsrulename=nil, srcip=nil) @DstIP = dstip @IdsRuleId = idsruleid @IdsRuleName = idsrulename @SrcIP = srcip end |
Instance Attribute Details
#DstIP ⇒ Object
1767 1768 1769 |
# File 'lib/v20190904/models.rb', line 1767 def DstIP @DstIP end |
#IdsRuleId ⇒ Object
1767 1768 1769 |
# File 'lib/v20190904/models.rb', line 1767 def IdsRuleId @IdsRuleId end |
#IdsRuleName ⇒ Object
1767 1768 1769 |
# File 'lib/v20190904/models.rb', line 1767 def IdsRuleName @IdsRuleName end |
#SrcIP ⇒ Object
1767 1768 1769 |
# File 'lib/v20190904/models.rb', line 1767 def SrcIP @SrcIP end |
Instance Method Details
#deserialize(params) ⇒ Object
1776 1777 1778 1779 1780 1781 |
# File 'lib/v20190904/models.rb', line 1776 def deserialize(params) @DstIP = params['DstIP'] @IdsRuleId = params['IdsRuleId'] @IdsRuleName = params['IdsRuleName'] @SrcIP = params['SrcIP'] end |