Class: TencentCloud::Clb::V20180317::DescribeBlockIPListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeBlockIPListResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeBlockIPList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(blockedipcount = nil, clientipfield = nil, blockediplist = nil, requestid = nil) ⇒ DescribeBlockIPListResponse
constructor
A new instance of DescribeBlockIPListResponse.
Constructor Details
#initialize(blockedipcount = nil, clientipfield = nil, blockediplist = nil, requestid = nil) ⇒ DescribeBlockIPListResponse
Returns a new instance of DescribeBlockIPListResponse.
2505 2506 2507 2508 2509 2510 |
# File 'lib/v20180317/models.rb', line 2505 def initialize(blockedipcount=nil, clientipfield=nil, blockediplist=nil, requestid=nil) @BlockedIPCount = blockedipcount @ClientIPField = clientipfield @BlockedIPList = blockediplist @RequestId = requestid end |
Instance Attribute Details
#BlockedIPCount ⇒ Object
2503 2504 2505 |
# File 'lib/v20180317/models.rb', line 2503 def BlockedIPCount @BlockedIPCount end |
#BlockedIPList ⇒ Object
2503 2504 2505 |
# File 'lib/v20180317/models.rb', line 2503 def BlockedIPList @BlockedIPList end |
#ClientIPField ⇒ Object
2503 2504 2505 |
# File 'lib/v20180317/models.rb', line 2503 def ClientIPField @ClientIPField end |
#RequestId ⇒ Object
2503 2504 2505 |
# File 'lib/v20180317/models.rb', line 2503 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 |
# File 'lib/v20180317/models.rb', line 2512 def deserialize(params) @BlockedIPCount = params['BlockedIPCount'] @ClientIPField = params['ClientIPField'] unless params['BlockedIPList'].nil? @BlockedIPList = [] params['BlockedIPList'].each do |i| blockedip_tmp = BlockedIP.new blockedip_tmp.deserialize(i) @BlockedIPList << blockedip_tmp end end @RequestId = params['RequestId'] end |