Class: TencentCloud::Tse::V20201207::KVMapping
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::KVMapping
- Defined in:
- lib/v20201207/models.rb
Overview
键值对
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ KVMapping
constructor
A new instance of KVMapping.
Constructor Details
#initialize(key = nil, value = nil) ⇒ KVMapping
Returns a new instance of KVMapping.
8574 8575 8576 8577 |
# File 'lib/v20201207/models.rb', line 8574 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
8572 8573 8574 |
# File 'lib/v20201207/models.rb', line 8572 def Key @Key end |
#Value ⇒ Object
8572 8573 8574 |
# File 'lib/v20201207/models.rb', line 8572 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
8579 8580 8581 8582 |
# File 'lib/v20201207/models.rb', line 8579 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |