Class: TencentCloud::Tcb::V20180608::KVPair

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180608/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.



6551
6552
6553
6554
# File 'lib/v20180608/models.rb', line 6551

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

  • Value:



6549
6550
6551
# File 'lib/v20180608/models.rb', line 6549

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

  • Value:



6549
6550
6551
# File 'lib/v20180608/models.rb', line 6549

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6556
6557
6558
6559
# File 'lib/v20180608/models.rb', line 6556

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