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.
7399 7400 7401 7402 7403 7404 7405 |
# File 'lib/v20190904/models.rb', line 7399 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
7397 7398 7399 |
# File 'lib/v20190904/models.rb', line 7397 def EndTime @EndTime end |
#IOC ⇒ Object
7397 7398 7399 |
# File 'lib/v20190904/models.rb', line 7397 def IOC @IOC end |
#IocAction ⇒ Object
7397 7398 7399 |
# File 'lib/v20190904/models.rb', line 7397 def IocAction @IocAction end |
#RuleType ⇒ Object
7397 7398 7399 |
# File 'lib/v20190904/models.rb', line 7397 def RuleType @RuleType end |
#StartTime ⇒ Object
7397 7398 7399 |
# File 'lib/v20190904/models.rb', line 7397 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 |
# File 'lib/v20190904/models.rb', line 7407 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 |