Class: TencentCloud::Tcb::V20180608::KVPair
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::KVPair
- Defined in:
- lib/v20180608/models.rb
Overview
键值对
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ KVPair
constructor
A new instance of KVPair.
Constructor Details
#initialize(key = nil, value = nil) ⇒ KVPair
Returns a new instance of KVPair.
6551 6552 6553 6554 |
# File 'lib/v20180608/models.rb', line 6551 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
6549 6550 6551 |
# File 'lib/v20180608/models.rb', line 6549 def Key @Key end |
#Value ⇒ Object
6549 6550 6551 |
# File 'lib/v20180608/models.rb', line 6549 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
6556 6557 6558 6559 |
# File 'lib/v20180608/models.rb', line 6556 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |