Class: TencentCloud::Gpm::V20200820::StringKV

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

Overview

string keyValue解构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of StringKV.



1663
1664
1665
1666
# File 'lib/v20200820/models.rb', line 1663

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

  • Value:



1661
1662
1663
# File 'lib/v20200820/models.rb', line 1661

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

  • Value:



1661
1662
1663
# File 'lib/v20200820/models.rb', line 1661

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



1668
1669
1670
1671
# File 'lib/v20200820/models.rb', line 1668

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