Class: TencentCloud::Gpm::V20200820::StringKV
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gpm::V20200820::StringKV
- Defined in:
- lib/v20200820/models.rb
Overview
string keyValue解构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ StringKV
constructor
A new instance of StringKV.
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
#Key ⇒ Object
1661 1662 1663 |
# File 'lib/v20200820/models.rb', line 1661 def Key @Key end |
#Value ⇒ Object
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 |