Class: TencentCloud::Emr::V20190103::Item
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::Item
- Defined in:
- lib/v20190103/models.rb
Overview
代表一个kv结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ Item
constructor
A new instance of Item.
Constructor Details
#initialize(key = nil, value = nil) ⇒ Item
Returns a new instance of Item.
8079 8080 8081 8082 |
# File 'lib/v20190103/models.rb', line 8079 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
8077 8078 8079 |
# File 'lib/v20190103/models.rb', line 8077 def Key @Key end |
#Value ⇒ Object
8077 8078 8079 |
# File 'lib/v20190103/models.rb', line 8077 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
8084 8085 8086 8087 |
# File 'lib/v20190103/models.rb', line 8084 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |