Class: TencentCloud::Waf::V20180125::CreateIpAccessControlRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::CreateIpAccessControlRequest
- Defined in:
- lib/v20180125/models.rb
Overview
CreateIpAccessControl请求参数结构体
Instance Attribute Summary collapse
-
#ActionType ⇒ Object
全局域名为:global.
-
#Domain ⇒ Object
全局域名为:global.
-
#Edition ⇒ Object
全局域名为:global.
-
#InstanceId ⇒ Object
全局域名为:global.
-
#IpList ⇒ Object
全局域名为:global.
-
#JobDateTime ⇒ Object
全局域名为:global.
-
#JobType ⇒ Object
全局域名为:global.
-
#Note ⇒ Object
全局域名为:global.
-
#SourceType ⇒ Object
全局域名为:global.
-
#ValidTS ⇒ Object
全局域名为:global.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, iplist = nil, actiontype = nil, validts = nil, instanceid = nil, edition = nil, sourcetype = nil, note = nil, jobtype = nil, jobdatetime = nil) ⇒ CreateIpAccessControlRequest
constructor
A new instance of CreateIpAccessControlRequest.
Constructor Details
#initialize(domain = nil, iplist = nil, actiontype = nil, validts = nil, instanceid = nil, edition = nil, sourcetype = nil, note = nil, jobtype = nil, jobdatetime = nil) ⇒ CreateIpAccessControlRequest
Returns a new instance of CreateIpAccessControlRequest.
2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/v20180125/models.rb', line 2377 def initialize(domain=nil, iplist=nil, actiontype=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil) @Domain = domain @IpList = iplist @ActionType = actiontype @ValidTS = validts @InstanceId = instanceid @Edition = edition @SourceType = sourcetype @Note = note @JobType = jobtype @JobDateTime = jobdatetime end |
Instance Attribute Details
#ActionType ⇒ Object
全局域名为:global
2375 2376 2377 |
# File 'lib/v20180125/models.rb', line 2375 def ActionType @ActionType end |
#Domain ⇒ Object
全局域名为:global
2375 2376 2377 |
# File 'lib/v20180125/models.rb', line 2375 def Domain @Domain end |
#Edition ⇒ Object
全局域名为:global
2375 2376 2377 |
# File 'lib/v20180125/models.rb', line 2375 def Edition @Edition end |
#InstanceId ⇒ Object
全局域名为:global
2375 2376 2377 |
# File 'lib/v20180125/models.rb', line 2375 def InstanceId @InstanceId end |
#IpList ⇒ Object
全局域名为:global
2375 2376 2377 |
# File 'lib/v20180125/models.rb', line 2375 def IpList @IpList end |
#JobDateTime ⇒ Object
全局域名为:global
2375 2376 2377 |
# File 'lib/v20180125/models.rb', line 2375 def JobDateTime @JobDateTime end |
#JobType ⇒ Object
全局域名为:global
2375 2376 2377 |
# File 'lib/v20180125/models.rb', line 2375 def JobType @JobType end |
#Note ⇒ Object
全局域名为:global
2375 2376 2377 |
# File 'lib/v20180125/models.rb', line 2375 def Note @Note end |
#SourceType ⇒ Object
全局域名为:global
2375 2376 2377 |
# File 'lib/v20180125/models.rb', line 2375 def SourceType @SourceType end |
#ValidTS ⇒ Object
全局域名为:global
2375 2376 2377 |
# File 'lib/v20180125/models.rb', line 2375 def ValidTS @ValidTS end |
Instance Method Details
#deserialize(params) ⇒ Object
2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 |
# File 'lib/v20180125/models.rb', line 2390 def deserialize(params) @Domain = params['Domain'] @IpList = params['IpList'] @ActionType = params['ActionType'] @ValidTS = params['ValidTS'] @InstanceId = params['InstanceId'] @Edition = params['Edition'] @SourceType = params['SourceType'] @Note = params['Note'] @JobType = params['JobType'] unless params['JobDateTime'].nil? @JobDateTime = JobDateTime.new @JobDateTime.deserialize(params['JobDateTime']) end end |