Class: TencentCloud::Mongodb::V20190725::FBKeyValue
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::FBKeyValue
- Defined in:
- lib/v20190725/models.rb
Overview
按 Key 闪回键值对
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ FBKeyValue
constructor
A new instance of FBKeyValue.
Constructor Details
#initialize(key = nil, value = nil) ⇒ FBKeyValue
Returns a new instance of FBKeyValue.
3429 3430 3431 3432 |
# File 'lib/v20190725/models.rb', line 3429 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
3427 3428 3429 |
# File 'lib/v20190725/models.rb', line 3427 def Key @Key end |
#Value ⇒ Object
3427 3428 3429 |
# File 'lib/v20190725/models.rb', line 3427 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
3434 3435 3436 3437 |
# File 'lib/v20190725/models.rb', line 3434 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |