Class: TencentCloud::Cwp::V20180228::BaselineHostTopList

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

Overview

基线影响服务器列表数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(eventlevellist = nil, hostname = nil, quuid = nil, score = nil) ⇒ BaselineHostTopList

Returns a new instance of BaselineHostTopList.



3197
3198
3199
3200
3201
3202
# File 'lib/v20180228/models.rb', line 3197

def initialize(eventlevellist=nil, hostname=nil, quuid=nil, score=nil)
  @EventLevelList = eventlevellist
  @HostName = hostname
  @Quuid = quuid
  @Score = score
end

Instance Attribute Details

#EventLevelListObject

Parameters:

  • EventLevelList:

    事件等级与次数列表

  • HostName:

    主机名称

  • Quuid:

    主机Quuid

  • Score:

    计算权重的分数



3195
3196
3197
# File 'lib/v20180228/models.rb', line 3195

def EventLevelList
  @EventLevelList
end

#HostNameObject

Parameters:

  • EventLevelList:

    事件等级与次数列表

  • HostName:

    主机名称

  • Quuid:

    主机Quuid

  • Score:

    计算权重的分数



3195
3196
3197
# File 'lib/v20180228/models.rb', line 3195

def HostName
  @HostName
end

#QuuidObject

Parameters:

  • EventLevelList:

    事件等级与次数列表

  • HostName:

    主机名称

  • Quuid:

    主机Quuid

  • Score:

    计算权重的分数



3195
3196
3197
# File 'lib/v20180228/models.rb', line 3195

def Quuid
  @Quuid
end

#ScoreObject

Parameters:

  • EventLevelList:

    事件等级与次数列表

  • HostName:

    主机名称

  • Quuid:

    主机Quuid

  • Score:

    计算权重的分数



3195
3196
3197
# File 'lib/v20180228/models.rb', line 3195

def Score
  @Score
end

Instance Method Details

#deserialize(params) ⇒ Object



3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
# File 'lib/v20180228/models.rb', line 3204

def deserialize(params)
  unless params['EventLevelList'].nil?
    @EventLevelList = []
    params['EventLevelList'].each do |i|
      baselineeventlevelinfo_tmp = BaselineEventLevelInfo.new
      baselineeventlevelinfo_tmp.deserialize(i)
      @EventLevelList << baselineeventlevelinfo_tmp
    end
  end
  @HostName = params['HostName']
  @Quuid = params['Quuid']
  @Score = params['Score']
end