Class: TencentCloud::Dayu::V20180709::KeyValue

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

Overview

字段值,K-V形式

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#KeyObject

Parameters:

  • Key:

    字段名称

  • Value:

    字段取值



6234
6235
6236
# File 'lib/v20180709/models.rb', line 6234

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    字段名称

  • Value:

    字段取值



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