Class: TencentCloud::Cls::V20201016::AlarmClassification
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::AlarmClassification
- Defined in:
- lib/v20201016/models.rb
Overview
告警分类信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ AlarmClassification
constructor
A new instance of AlarmClassification.
Constructor Details
#initialize(key = nil, value = nil) ⇒ AlarmClassification
Returns a new instance of AlarmClassification.
150 151 152 153 |
# File 'lib/v20201016/models.rb', line 150 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
148 149 150 |
# File 'lib/v20201016/models.rb', line 148 def Key @Key end |
#Value ⇒ Object
148 149 150 |
# File 'lib/v20201016/models.rb', line 148 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
155 156 157 158 |
# File 'lib/v20201016/models.rb', line 155 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |