Class: TencentCloud::Dbbrain::V20210527::HealthScoreInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::HealthScoreInfo
- Defined in:
- lib/v20210527/models.rb
Overview
获取健康得分返回的详情。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(issuetypes = nil, eventstotalcount = nil, healthscore = nil, healthlevel = nil) ⇒ HealthScoreInfo
constructor
A new instance of HealthScoreInfo.
Constructor Details
#initialize(issuetypes = nil, eventstotalcount = nil, healthscore = nil, healthlevel = nil) ⇒ HealthScoreInfo
Returns a new instance of HealthScoreInfo.
5372 5373 5374 5375 5376 5377 |
# File 'lib/v20210527/models.rb', line 5372 def initialize(issuetypes=nil, eventstotalcount=nil, healthscore=nil, healthlevel=nil) @IssueTypes = issuetypes @EventsTotalCount = eventstotalcount @HealthScore = healthscore @HealthLevel = healthlevel end |
Instance Attribute Details
#EventsTotalCount ⇒ Object
5370 5371 5372 |
# File 'lib/v20210527/models.rb', line 5370 def EventsTotalCount @EventsTotalCount end |
#HealthLevel ⇒ Object
5370 5371 5372 |
# File 'lib/v20210527/models.rb', line 5370 def HealthLevel @HealthLevel end |
#HealthScore ⇒ Object
5370 5371 5372 |
# File 'lib/v20210527/models.rb', line 5370 def HealthScore @HealthScore end |
#IssueTypes ⇒ Object
5370 5371 5372 |
# File 'lib/v20210527/models.rb', line 5370 def IssueTypes @IssueTypes end |
Instance Method Details
#deserialize(params) ⇒ Object
5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 |
# File 'lib/v20210527/models.rb', line 5379 def deserialize(params) unless params['IssueTypes'].nil? @IssueTypes = [] params['IssueTypes'].each do |i| issuetypeinfo_tmp = IssueTypeInfo.new issuetypeinfo_tmp.deserialize(i) @IssueTypes << issuetypeinfo_tmp end end @EventsTotalCount = params['EventsTotalCount'] @HealthScore = params['HealthScore'] @HealthLevel = params['HealthLevel'] end |