Class: TencentCloud::Wedata::V20210820::Pair

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

Overview

键值对

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ Pair

Returns a new instance of Pair.



19101
19102
19103
19104
# File 'lib/v20210820/models.rb', line 19101

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    键名

  • Value:



19099
19100
19101
# File 'lib/v20210820/models.rb', line 19099

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    键名

  • Value:



19099
19100
19101
# File 'lib/v20210820/models.rb', line 19099

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



19106
19107
19108
19109
# File 'lib/v20210820/models.rb', line 19106

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
end