Class: TencentCloud::Apm::V20210622::APMKV

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

Overview

APM 浮点数类型键值对

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ APMKV

Returns a new instance of APMKV.



29
30
31
32
# File 'lib/v20210622/models.rb', line 29

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    Key 值定义

  • Value:

    Value 值定义



27
28
29
# File 'lib/v20210622/models.rb', line 27

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    Key 值定义

  • Value:

    Value 值定义



27
28
29
# File 'lib/v20210622/models.rb', line 27

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



34
35
36
37
# File 'lib/v20210622/models.rb', line 34

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
end