Class: TencentCloud::Tse::V20201207::KVMapping

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

Overview

键值对

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of KVMapping.



8592
8593
8594
8595
# File 'lib/v20201207/models.rb', line 8592

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

Instance Attribute Details

#KeyObject

Parameters:

  • key

  • value



8590
8591
8592
# File 'lib/v20201207/models.rb', line 8590

def Key
  @Key
end

#ValueObject

Parameters:

  • key

  • value



8590
8591
8592
# File 'lib/v20201207/models.rb', line 8590

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



8597
8598
8599
8600
# File 'lib/v20201207/models.rb', line 8597

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