Class: TencentCloud::Apm::V20210622::APMKVItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::APMKVItem
- Defined in:
- lib/v20210622/models.rb
Overview
APM 通用 KV 结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ APMKVItem
constructor
A new instance of APMKVItem.
Constructor Details
#initialize(key = nil, value = nil) ⇒ APMKVItem
Returns a new instance of APMKVItem.
49 50 51 52 |
# File 'lib/v20210622/models.rb', line 49 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
47 48 49 |
# File 'lib/v20210622/models.rb', line 47 def Key @Key end |
#Value ⇒ Object
47 48 49 |
# File 'lib/v20210622/models.rb', line 47 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
54 55 56 57 |
# File 'lib/v20210622/models.rb', line 54 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |