Class: TencentCloud::Cwp::V20180228::DescribeScreenAttackHotspotResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

DescribeScreenAttackHotspot返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ListObject

Parameters:

  • List:

    攻击热点列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



21380
21381
21382
# File 'lib/v20180228/models.rb', line 21380

def List
  @List
end

#RequestIdObject

Parameters:

  • List:

    攻击热点列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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