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
5308 5309 5310 5311 5312 5313 |
# File 'lib/v20210527/models.rb', line 5308 def initialize(issuetypes=nil, eventstotalcount=nil, healthscore=nil, healthlevel=nil) @IssueTypes = issuetypes @EventsTotalCount = eventstotalcount @HealthScore = healthscore @HealthLevel = healthlevel end |
Instance Attribute Details
#EventsTotalCount ⇒ Object
5306 5307 5308 |
# File 'lib/v20210527/models.rb', line 5306 def EventsTotalCount @EventsTotalCount end |
#HealthLevel ⇒ Object
5306 5307 5308 |
# File 'lib/v20210527/models.rb', line 5306 def HealthLevel @HealthLevel end |
#HealthScore ⇒ Object
5306 5307 5308 |
# File 'lib/v20210527/models.rb', line 5306 def HealthScore @HealthScore end |
#IssueTypes ⇒ Object
5306 5307 5308 |
# File 'lib/v20210527/models.rb', line 5306 def IssueTypes @IssueTypes end |
Instance Method Details
#deserialize(params) ⇒ Object
5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 |
# File 'lib/v20210527/models.rb', line 5315 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 |