Class: TencentCloud::Cls::V20201016::MetricLabel
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::MetricLabel
- Defined in:
- lib/v20201016/models.rb
Overview
过滤器
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ MetricLabel
constructor
A new instance of MetricLabel.
Constructor Details
#initialize(key = nil, value = nil) ⇒ MetricLabel
Returns a new instance of MetricLabel.
12928 12929 12930 12931 |
# File 'lib/v20201016/models.rb', line 12928 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
12926 12927 12928 |
# File 'lib/v20201016/models.rb', line 12926 def Key @Key end |
#Value ⇒ Object
12926 12927 12928 |
# File 'lib/v20201016/models.rb', line 12926 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
12933 12934 12935 12936 |
# File 'lib/v20201016/models.rb', line 12933 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |