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.



20993
20994
20995
20996
# File 'lib/v20180228/models.rb', line 20993

def initialize(list=nil, requestid=nil)
  @List = list
  @RequestId = requestid
end

Instance Attribute Details

#ListObject

Parameters:

  • List:

    攻击热点列表

  • RequestId:

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



20991
20992
20993
# File 'lib/v20180228/models.rb', line 20991

def List
  @List
end

#RequestIdObject

Parameters:

  • List:

    攻击热点列表

  • RequestId:

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



20991
20992
20993
# File 'lib/v20180228/models.rb', line 20991

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
# File 'lib/v20180228/models.rb', line 20998

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