Class: TencentCloud::Cwp::V20180228::BaselineHostTopList
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::BaselineHostTopList
- Defined in:
- lib/v20180228/models.rb
Overview
基线影响服务器列表数据
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventlevellist = nil, hostname = nil, quuid = nil, score = nil) ⇒ BaselineHostTopList
constructor
A new instance of BaselineHostTopList.
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
#EventLevelList ⇒ Object
3195 3196 3197 |
# File 'lib/v20180228/models.rb', line 3195 def EventLevelList @EventLevelList end |
#HostName ⇒ Object
3195 3196 3197 |
# File 'lib/v20180228/models.rb', line 3195 def HostName @HostName end |
#Quuid ⇒ Object
3195 3196 3197 |
# File 'lib/v20180228/models.rb', line 3195 def Quuid @Quuid end |
#Score ⇒ Object
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 |