Class: TencentCloud::Dbbrain::V20210527::HealthScoreTimeSeriesData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::HealthScoreTimeSeriesData
- Defined in:
- lib/v20210527/models.rb
Overview
健康得分趋势
Instance Attribute Summary collapse
-
#Avg ⇒ Object
1-health 2-warning 3-critical.
-
#HealthStatus ⇒ Object
1-health 2-warning 3-critical.
-
#Metric ⇒ Object
1-health 2-warning 3-critical.
-
#Series ⇒ Object
1-health 2-warning 3-critical.
-
#Timestamp ⇒ Object
1-health 2-warning 3-critical.
-
#Unit ⇒ Object
1-health 2-warning 3-critical.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(avg = nil, healthstatus = nil, metric = nil, series = nil, timestamp = nil, unit = nil) ⇒ HealthScoreTimeSeriesData
constructor
A new instance of HealthScoreTimeSeriesData.
Constructor Details
#initialize(avg = nil, healthstatus = nil, metric = nil, series = nil, timestamp = nil, unit = nil) ⇒ HealthScoreTimeSeriesData
5414 5415 5416 5417 5418 5419 5420 5421 |
# File 'lib/v20210527/models.rb', line 5414 def initialize(avg=nil, healthstatus=nil, metric=nil, series=nil, =nil, unit=nil) @Avg = avg @HealthStatus = healthstatus @Metric = metric @Series = series @Timestamp = @Unit = unit end |
Instance Attribute Details
#Avg ⇒ Object
1-health 2-warning 3-critical
5412 5413 5414 |
# File 'lib/v20210527/models.rb', line 5412 def Avg @Avg end |
#HealthStatus ⇒ Object
1-health 2-warning 3-critical
5412 5413 5414 |
# File 'lib/v20210527/models.rb', line 5412 def HealthStatus @HealthStatus end |
#Metric ⇒ Object
1-health 2-warning 3-critical
5412 5413 5414 |
# File 'lib/v20210527/models.rb', line 5412 def Metric @Metric end |
#Series ⇒ Object
1-health 2-warning 3-critical
5412 5413 5414 |
# File 'lib/v20210527/models.rb', line 5412 def Series @Series end |
#Timestamp ⇒ Object
1-health 2-warning 3-critical
5412 5413 5414 |
# File 'lib/v20210527/models.rb', line 5412 def Timestamp @Timestamp end |
#Unit ⇒ Object
1-health 2-warning 3-critical
5412 5413 5414 |
# File 'lib/v20210527/models.rb', line 5412 def Unit @Unit end |
Instance Method Details
#deserialize(params) ⇒ Object
5423 5424 5425 5426 5427 5428 5429 5430 |
# File 'lib/v20210527/models.rb', line 5423 def deserialize(params) @Avg = params['Avg'] @HealthStatus = params['HealthStatus'] @Metric = params['Metric'] @Series = params['Series'] @Timestamp = params['Timestamp'] @Unit = params['Unit'] end |