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.
8985 8986 8987 8988 8989 8990 |
# File 'lib/v20180125/models.rb', line 8985 def initialize(iplist=nil, validts=nil, actiontype=nil, note=nil) @IpList = iplist @ValidTs = validts @ActionType = actiontype @Note = note end |
Instance Attribute Details
#ActionType ⇒ Object
8983 8984 8985 |
# File 'lib/v20180125/models.rb', line 8983 def ActionType @ActionType end |
#IpList ⇒ Object
8983 8984 8985 |
# File 'lib/v20180125/models.rb', line 8983 def IpList @IpList end |
#Note ⇒ Object
8983 8984 8985 |
# File 'lib/v20180125/models.rb', line 8983 def Note @Note end |
#ValidTs ⇒ Object
8983 8984 8985 |
# File 'lib/v20180125/models.rb', line 8983 def ValidTs @ValidTs end |
Instance Method Details
#deserialize(params) ⇒ Object
8992 8993 8994 8995 8996 8997 |
# File 'lib/v20180125/models.rb', line 8992 def deserialize(params) @IpList = params['IpList'] @ValidTs = params['ValidTs'] @ActionType = params['ActionType'] @Note = params['Note'] end |