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.



8574
8575
8576
8577
# File 'lib/v20201207/models.rb', line 8574

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    key

  • Value:

    value



8572
8573
8574
# File 'lib/v20201207/models.rb', line 8572

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    key

  • Value:

    value



8572
8573
8574
# File 'lib/v20201207/models.rb', line 8572

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



8579
8580
8581
8582
# File 'lib/v20201207/models.rb', line 8579

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