Class: TencentCloud::Tse::V20201207::KVPair

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) ⇒ KVPair

Returns a new instance of KVPair.



8594
8595
8596
8597
# File 'lib/v20201207/models.rb', line 8594

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

  • Value:



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

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

  • Value:



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

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



8599
8600
8601
8602
# File 'lib/v20201207/models.rb', line 8599

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