Class: TencentCloud::Tcb::V20180608::ObjectKV
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::ObjectKV
- Defined in:
- lib/v20180608/models.rb
Overview
Key-Value类型,模拟的 object 类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ ObjectKV
constructor
A new instance of ObjectKV.
Constructor Details
#initialize(key = nil, value = nil) ⇒ ObjectKV
Returns a new instance of ObjectKV.
6980 6981 6982 6983 |
# File 'lib/v20180608/models.rb', line 6980 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
6978 6979 6980 |
# File 'lib/v20180608/models.rb', line 6978 def Key @Key end |
#Value ⇒ Object
6978 6979 6980 |
# File 'lib/v20180608/models.rb', line 6978 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
6985 6986 6987 6988 |
# File 'lib/v20180608/models.rb', line 6985 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |