Class: TencentCloud::Cwp::V20180228::DescribeVulHostTopResponse

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

Overview

DescribeVulHostTop返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vulhosttoplist = nil, requestid = nil) ⇒ DescribeVulHostTopResponse

Returns a new instance of DescribeVulHostTopResponse.



24030
24031
24032
24033
# File 'lib/v20180228/models.rb', line 24030

def initialize(vulhosttoplist=nil, requestid=nil)
  @VulHostTopList = vulhosttoplist
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • VulHostTopList:

    服务器风险top列表

  • RequestId:

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



24028
24029
24030
# File 'lib/v20180228/models.rb', line 24028

def RequestId
  @RequestId
end

#VulHostTopListObject

Parameters:

  • VulHostTopList:

    服务器风险top列表

  • RequestId:

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



24028
24029
24030
# File 'lib/v20180228/models.rb', line 24028

def VulHostTopList
  @VulHostTopList
end

Instance Method Details

#deserialize(params) ⇒ Object



24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
# File 'lib/v20180228/models.rb', line 24035

def deserialize(params)
  unless params['VulHostTopList'].nil?
    @VulHostTopList = []
    params['VulHostTopList'].each do |i|
      vulhosttopinfo_tmp = VulHostTopInfo.new
      vulhosttopinfo_tmp.deserialize(i)
      @VulHostTopList << vulhosttopinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end