Class: TencentCloud::Csip::V20221121::KeyValue
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Csip::V20221121::KeyValue
- Defined in:
- lib/v20221121/models.rb
Overview
KeyValue对
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ KeyValue
constructor
A new instance of KeyValue.
Constructor Details
#initialize(key = nil, value = nil) ⇒ KeyValue
Returns a new instance of KeyValue.
10161 10162 10163 10164 |
# File 'lib/v20221121/models.rb', line 10161 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
10159 10160 10161 |
# File 'lib/v20221121/models.rb', line 10159 def Key @Key end |
#Value ⇒ Object
10159 10160 10161 |
# File 'lib/v20221121/models.rb', line 10159 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
10166 10167 10168 10169 |
# File 'lib/v20221121/models.rb', line 10166 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |