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.
6831 6832 6833 6834 6835 6836 6837 6838 |
# File 'lib/v20190904/models.rb', line 6831 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
6829 6830 6831 |
# File 'lib/v20190904/models.rb', line 6829 def Comment @Comment end |
#Direction ⇒ Object
6829 6830 6831 |
# File 'lib/v20190904/models.rb', line 6829 def Direction @Direction end |
#Domain ⇒ Object
6829 6830 6831 |
# File 'lib/v20190904/models.rb', line 6829 def Domain @Domain end |
#EndTime ⇒ Object
6829 6830 6831 |
# File 'lib/v20190904/models.rb', line 6829 def EndTime @EndTime end |
#IP ⇒ Object
6829 6830 6831 |
# File 'lib/v20190904/models.rb', line 6829 def IP @IP end |
#StartTime ⇒ Object
6829 6830 6831 |
# File 'lib/v20190904/models.rb', line 6829 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
6840 6841 6842 6843 6844 6845 6846 6847 |
# File 'lib/v20190904/models.rb', line 6840 def deserialize(params) @Direction = params['Direction'] @EndTime = params['EndTime'] @IP = params['IP'] @Domain = params['Domain'] @StartTime = params['StartTime'] @Comment = params['Comment'] end |