Class: TencentCloud::Cwp::V20180228::DescribeScreenAttackHotspotResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeScreenAttackHotspotResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeScreenAttackHotspot返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, requestid = nil) ⇒ DescribeScreenAttackHotspotResponse
constructor
A new instance of DescribeScreenAttackHotspotResponse.
Constructor Details
#initialize(list = nil, requestid = nil) ⇒ DescribeScreenAttackHotspotResponse
Returns a new instance of DescribeScreenAttackHotspotResponse.
21382 21383 21384 21385 |
# File 'lib/v20180228/models.rb', line 21382 def initialize(list=nil, requestid=nil) @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
21380 21381 21382 |
# File 'lib/v20180228/models.rb', line 21380 def List @List end |
#RequestId ⇒ Object
21380 21381 21382 |
# File 'lib/v20180228/models.rb', line 21380 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
21387 21388 21389 21390 21391 21392 21393 21394 21395 21396 21397 |
# File 'lib/v20180228/models.rb', line 21387 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| screenattackhotspot_tmp = ScreenAttackHotspot.new screenattackhotspot_tmp.deserialize(i) @List << screenattackhotspot_tmp end end @RequestId = params['RequestId'] end |