Class: TencentCloud::Cfw::V20190904::IntrusionDefenseRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::IntrusionDefenseRule
- Defined in:
- lib/v20190904/models.rb
Overview
入侵防御封禁列表、放通列表添加规则入参
Instance Attribute Summary collapse
- #Comment ⇒ Object
- #Direction ⇒ Object
- #Domain ⇒ Object
- #EndTime ⇒ Object
- #IP ⇒ Object
- #StartTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(direction = nil, endtime = nil, ip = nil, domain = nil, starttime = nil, comment = nil) ⇒ IntrusionDefenseRule
constructor
A new instance of IntrusionDefenseRule.
Constructor Details
#initialize(direction = nil, endtime = nil, ip = nil, domain = nil, starttime = nil, comment = nil) ⇒ IntrusionDefenseRule
Returns a new instance of IntrusionDefenseRule.
6167 6168 6169 6170 6171 6172 6173 6174 |
# File 'lib/v20190904/models.rb', line 6167 def initialize(direction=nil, endtime=nil, ip=nil, domain=nil, starttime=nil, comment=nil) @Direction = direction @EndTime = endtime @IP = ip @Domain = domain @StartTime = starttime @Comment = comment end |
Instance Attribute Details
#Comment ⇒ Object
6165 6166 6167 |
# File 'lib/v20190904/models.rb', line 6165 def Comment @Comment end |
#Direction ⇒ Object
6165 6166 6167 |
# File 'lib/v20190904/models.rb', line 6165 def Direction @Direction end |
#Domain ⇒ Object
6165 6166 6167 |
# File 'lib/v20190904/models.rb', line 6165 def Domain @Domain end |
#EndTime ⇒ Object
6165 6166 6167 |
# File 'lib/v20190904/models.rb', line 6165 def EndTime @EndTime end |
#IP ⇒ Object
6165 6166 6167 |
# File 'lib/v20190904/models.rb', line 6165 def IP @IP end |
#StartTime ⇒ Object
6165 6166 6167 |
# File 'lib/v20190904/models.rb', line 6165 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
6176 6177 6178 6179 6180 6181 6182 6183 |
# File 'lib/v20190904/models.rb', line 6176 def deserialize(params) @Direction = params['Direction'] @EndTime = params['EndTime'] @IP = params['IP'] @Domain = params['Domain'] @StartTime = params['StartTime'] @Comment = params['Comment'] end |