Class: TencentCloud::Waf::V20180125::IpAccessControlParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::IpAccessControlParam
- Defined in:
- lib/v20180125/models.rb
Overview
IP黑白名单参数结构体,主要用于IP黑白名单的导入。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(iplist = nil, validts = nil, actiontype = nil, note = nil) ⇒ IpAccessControlParam
constructor
A new instance of IpAccessControlParam.
Constructor Details
#initialize(iplist = nil, validts = nil, actiontype = nil, note = nil) ⇒ IpAccessControlParam
Returns a new instance of IpAccessControlParam.
12788 12789 12790 12791 12792 12793 |
# File 'lib/v20180125/models.rb', line 12788 def initialize(iplist=nil, validts=nil, actiontype=nil, note=nil) @IpList = iplist @ValidTs = validts @ActionType = actiontype @Note = note end |
Instance Attribute Details
#ActionType ⇒ Object
12786 12787 12788 |
# File 'lib/v20180125/models.rb', line 12786 def ActionType @ActionType end |
#IpList ⇒ Object
12786 12787 12788 |
# File 'lib/v20180125/models.rb', line 12786 def IpList @IpList end |
#Note ⇒ Object
12786 12787 12788 |
# File 'lib/v20180125/models.rb', line 12786 def Note @Note end |
#ValidTs ⇒ Object
12786 12787 12788 |
# File 'lib/v20180125/models.rb', line 12786 def ValidTs @ValidTs end |
Instance Method Details
#deserialize(params) ⇒ Object
12795 12796 12797 12798 12799 12800 |
# File 'lib/v20180125/models.rb', line 12795 def deserialize(params) @IpList = params['IpList'] @ValidTs = params['ValidTs'] @ActionType = params['ActionType'] @Note = params['Note'] end |