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.
6512 6513 6514 6515 6516 6517 6518 |
# File 'lib/v20190904/models.rb', line 6512 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
6510 6511 6512 |
# File 'lib/v20190904/models.rb', line 6510 def EndTime @EndTime end |
#IOC ⇒ Object
6510 6511 6512 |
# File 'lib/v20190904/models.rb', line 6510 def IOC @IOC end |
#IocAction ⇒ Object
6510 6511 6512 |
# File 'lib/v20190904/models.rb', line 6510 def IocAction @IocAction end |
#RuleType ⇒ Object
6510 6511 6512 |
# File 'lib/v20190904/models.rb', line 6510 def RuleType @RuleType end |
#StartTime ⇒ Object
6510 6511 6512 |
# File 'lib/v20190904/models.rb', line 6510 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 |
# File 'lib/v20190904/models.rb', line 6520 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 |