Class: TencentCloud::Cfw::V20190904::ModifyBlockIgnoreListRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::ModifyBlockIgnoreListRequest
- Defined in:
- lib/v20190904/models.rb
Overview
ModifyBlockIgnoreList请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruletype = nil, ioc = nil, iocaction = nil, starttime = nil, endtime = nil) ⇒ ModifyBlockIgnoreListRequest
constructor
A new instance of ModifyBlockIgnoreListRequest.
Constructor Details
#initialize(ruletype = nil, ioc = nil, iocaction = nil, starttime = nil, endtime = nil) ⇒ ModifyBlockIgnoreListRequest
Returns a new instance of ModifyBlockIgnoreListRequest.
6719 6720 6721 6722 6723 6724 6725 |
# File 'lib/v20190904/models.rb', line 6719 def initialize(ruletype=nil, ioc=nil, iocaction=nil, starttime=nil, endtime=nil) @RuleType = ruletype @IOC = ioc @IocAction = iocaction @StartTime = starttime @EndTime = endtime end |
Instance Attribute Details
#EndTime ⇒ Object
6717 6718 6719 |
# File 'lib/v20190904/models.rb', line 6717 def EndTime @EndTime end |
#IOC ⇒ Object
6717 6718 6719 |
# File 'lib/v20190904/models.rb', line 6717 def IOC @IOC end |
#IocAction ⇒ Object
6717 6718 6719 |
# File 'lib/v20190904/models.rb', line 6717 def IocAction @IocAction end |
#RuleType ⇒ Object
6717 6718 6719 |
# File 'lib/v20190904/models.rb', line 6717 def RuleType @RuleType end |
#StartTime ⇒ Object
6717 6718 6719 |
# File 'lib/v20190904/models.rb', line 6717 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 |
# File 'lib/v20190904/models.rb', line 6727 def deserialize(params) @RuleType = params['RuleType'] unless params['IOC'].nil? @IOC = [] params['IOC'].each do |i| ioclistdata_tmp = IocListData.new ioclistdata_tmp.deserialize(i) @IOC << ioclistdata_tmp end end @IocAction = params['IocAction'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] end |