Class: TencentCloud::Emr::V20190103::KeyValue

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190103/models.rb

Overview

键值对,主要用来做Filter

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#KeyObject

Parameters:



8254
8255
8256
# File 'lib/v20190103/models.rb', line 8254

def Key
  @Key
end

#ValueObject

Parameters:



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