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.



8612
8613
8614
8615
# File 'lib/v20201207/models.rb', line 8612

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

  • Value:



8610
8611
8612
# File 'lib/v20201207/models.rb', line 8610

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

  • Value:



8610
8611
8612
# File 'lib/v20201207/models.rb', line 8610

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



8617
8618
8619
8620
# File 'lib/v20201207/models.rb', line 8617

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