Class: TencentCloud::Emr::V20190103::KeyValue
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::KeyValue
- Defined in:
- lib/v20190103/models.rb
Overview
键值对,主要用来做Filter
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.
8256 8257 8258 8259 |
# File 'lib/v20190103/models.rb', line 8256 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
8254 8255 8256 |
# File 'lib/v20190103/models.rb', line 8254 def Key @Key end |
#Value ⇒ Object
8254 8255 8256 |
# File 'lib/v20190103/models.rb', line 8254 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
8261 8262 8263 8264 |
# File 'lib/v20190103/models.rb', line 8261 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |