Class: TencentCloud::Dbbrain::V20191016::HealthScoreInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20191016::HealthScoreInfo
- Defined in:
- lib/v20191016/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.
1892 1893 1894 1895 1896 1897 |
# File 'lib/v20191016/models.rb', line 1892 def initialize(issuetypes=nil, eventstotalcount=nil, healthscore=nil, healthlevel=nil) @IssueTypes = issuetypes @EventsTotalCount = eventstotalcount @HealthScore = healthscore @HealthLevel = healthlevel end |
Instance Attribute Details
#EventsTotalCount ⇒ Object
1890 1891 1892 |
# File 'lib/v20191016/models.rb', line 1890 def EventsTotalCount @EventsTotalCount end |
#HealthLevel ⇒ Object
1890 1891 1892 |
# File 'lib/v20191016/models.rb', line 1890 def HealthLevel @HealthLevel end |
#HealthScore ⇒ Object
1890 1891 1892 |
# File 'lib/v20191016/models.rb', line 1890 def HealthScore @HealthScore end |
#IssueTypes ⇒ Object
1890 1891 1892 |
# File 'lib/v20191016/models.rb', line 1890 def IssueTypes @IssueTypes end |
Instance Method Details
#deserialize(params) ⇒ Object
1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 |
# File 'lib/v20191016/models.rb', line 1899 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 |