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.
8614 8615 8616 8617 |
# File 'lib/v20201207/models.rb', line 8614 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
8612 8613 8614 |
# File 'lib/v20201207/models.rb', line 8612 def Key @Key end |
#Value ⇒ Object
8612 8613 8614 |
# File 'lib/v20201207/models.rb', line 8612 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
8619 8620 8621 8622 |
# File 'lib/v20201207/models.rb', line 8619 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |