Class: TencentCloud::Dayu::V20180709::KeyValue
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::KeyValue
- Defined in:
- lib/v20180709/models.rb
Overview
字段值,K-V形式
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.
6236 6237 6238 6239 |
# File 'lib/v20180709/models.rb', line 6236 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
6234 6235 6236 |
# File 'lib/v20180709/models.rb', line 6234 def Key @Key end |
#Value ⇒ Object
6234 6235 6236 |
# File 'lib/v20180709/models.rb', line 6234 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
6241 6242 6243 6244 |
# File 'lib/v20180709/models.rb', line 6241 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |