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.
1818 1819 1820 1821 1822 1823 |
# File 'lib/v20190904/models.rb', line 1818 def initialize(dstip=nil, idsruleid=nil, idsrulename=nil, srcip=nil) @DstIP = dstip @IdsRuleId = idsruleid @IdsRuleName = idsrulename @SrcIP = srcip end |
Instance Attribute Details
#DstIP ⇒ Object
1816 1817 1818 |
# File 'lib/v20190904/models.rb', line 1816 def DstIP @DstIP end |
#IdsRuleId ⇒ Object
1816 1817 1818 |
# File 'lib/v20190904/models.rb', line 1816 def IdsRuleId @IdsRuleId end |
#IdsRuleName ⇒ Object
1816 1817 1818 |
# File 'lib/v20190904/models.rb', line 1816 def IdsRuleName @IdsRuleName end |
#SrcIP ⇒ Object
1816 1817 1818 |
# File 'lib/v20190904/models.rb', line 1816 def SrcIP @SrcIP end |
Instance Method Details
#deserialize(params) ⇒ Object
1825 1826 1827 1828 1829 1830 |
# File 'lib/v20190904/models.rb', line 1825 def deserialize(params) @DstIP = params['DstIP'] @IdsRuleId = params['IdsRuleId'] @IdsRuleName = params['IdsRuleName'] @SrcIP = params['SrcIP'] end |