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.
2065 2066 2067 2068 2069 2070 |
# File 'lib/v20190904/models.rb', line 2065 def initialize(dstip=nil, idsruleid=nil, idsrulename=nil, srcip=nil) @DstIP = dstip @IdsRuleId = idsruleid @IdsRuleName = idsrulename @SrcIP = srcip end |
Instance Attribute Details
#DstIP ⇒ Object
2063 2064 2065 |
# File 'lib/v20190904/models.rb', line 2063 def DstIP @DstIP end |
#IdsRuleId ⇒ Object
2063 2064 2065 |
# File 'lib/v20190904/models.rb', line 2063 def IdsRuleId @IdsRuleId end |
#IdsRuleName ⇒ Object
2063 2064 2065 |
# File 'lib/v20190904/models.rb', line 2063 def IdsRuleName @IdsRuleName end |
#SrcIP ⇒ Object
2063 2064 2065 |
# File 'lib/v20190904/models.rb', line 2063 def SrcIP @SrcIP end |
Instance Method Details
#deserialize(params) ⇒ Object
2072 2073 2074 2075 2076 2077 |
# File 'lib/v20190904/models.rb', line 2072 def deserialize(params) @DstIP = params['DstIP'] @IdsRuleId = params['IdsRuleId'] @IdsRuleName = params['IdsRuleName'] @SrcIP = params['SrcIP'] end |