Class: TencentCloud::Waf::V20180125::ImportIpAccessControlRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::ImportIpAccessControlRequest
- Defined in:
- lib/v20180125/models.rb
Overview
ImportIpAccessControl请求参数结构体
Instance Attribute Summary collapse
-
#Data ⇒ Object
全局域名为:global.
-
#Domain ⇒ Object
全局域名为:global.
-
#InstanceId ⇒ Object
全局域名为:global.
-
#SourceType ⇒ Object
全局域名为:global.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, domain = nil, sourcetype = nil, instanceid = nil) ⇒ ImportIpAccessControlRequest
constructor
A new instance of ImportIpAccessControlRequest.
Constructor Details
#initialize(data = nil, domain = nil, sourcetype = nil, instanceid = nil) ⇒ ImportIpAccessControlRequest
Returns a new instance of ImportIpAccessControlRequest.
8589 8590 8591 8592 8593 8594 |
# File 'lib/v20180125/models.rb', line 8589 def initialize(data=nil, domain=nil, sourcetype=nil, instanceid=nil) @Data = data @Domain = domain @SourceType = sourcetype @InstanceId = instanceid end |
Instance Attribute Details
#Data ⇒ Object
全局域名为:global
8587 8588 8589 |
# File 'lib/v20180125/models.rb', line 8587 def Data @Data end |
#Domain ⇒ Object
全局域名为:global
8587 8588 8589 |
# File 'lib/v20180125/models.rb', line 8587 def Domain @Domain end |
#InstanceId ⇒ Object
全局域名为:global
8587 8588 8589 |
# File 'lib/v20180125/models.rb', line 8587 def InstanceId @InstanceId end |
#SourceType ⇒ Object
全局域名为:global
8587 8588 8589 |
# File 'lib/v20180125/models.rb', line 8587 def SourceType @SourceType end |
Instance Method Details
#deserialize(params) ⇒ Object
8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 |
# File 'lib/v20180125/models.rb', line 8596 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| ipaccesscontrolparam_tmp = IpAccessControlParam.new ipaccesscontrolparam_tmp.deserialize(i) @Data << ipaccesscontrolparam_tmp end end @Domain = params['Domain'] @SourceType = params['SourceType'] @InstanceId = params['InstanceId'] end |