Class: TencentCloud::Tse::V20201207::KeyValue
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::KeyValue
- Defined in:
- lib/v20201207/models.rb
Overview
Key/Value结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ KeyValue
constructor
A new instance of KeyValue.
Constructor Details
#initialize(key = nil, value = nil) ⇒ KeyValue
Returns a new instance of KeyValue.
8632 8633 8634 8635 |
# File 'lib/v20201207/models.rb', line 8632 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
8630 8631 8632 |
# File 'lib/v20201207/models.rb', line 8630 def Key @Key end |
#Value ⇒ Object
8630 8631 8632 |
# File 'lib/v20201207/models.rb', line 8630 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
8637 8638 8639 8640 |
# File 'lib/v20201207/models.rb', line 8637 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |