Class: TencentCloud::Cls::V20201016::MetricLabel

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201016/models.rb

Overview

过滤器

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Parameters:

  • Key: —

    指标名称

  • Value: —

    指标内容



12926
12927
12928
# File 'lib/v20201016/models.rb', line 12926

def Key
  @Key
end

#Value ⇒ Object

Parameters:

  • Key: —

    指标名称

  • Value: —

    指标内容



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