Class: TencentCloud::Emr::V20190103::Item

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

Overview

代表一个kv结构

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#KeyObject

Parameters:

  • Key:

    健值

  • Value:



8077
8078
8079
# File 'lib/v20190103/models.rb', line 8077

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    健值

  • Value:



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