Class: TencentCloud::Dts::V20211206::KeyValuePairOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::KeyValuePairOption
- Defined in:
- lib/v20211206/models.rb
Overview
存放配置时的额外信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ KeyValuePairOption
constructor
A new instance of KeyValuePairOption.
Constructor Details
#initialize(key = nil, value = nil) ⇒ KeyValuePairOption
Returns a new instance of KeyValuePairOption.
4686 4687 4688 4689 |
# File 'lib/v20211206/models.rb', line 4686 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
4684 4685 4686 |
# File 'lib/v20211206/models.rb', line 4684 def Key @Key end |
#Value ⇒ Object
4684 4685 4686 |
# File 'lib/v20211206/models.rb', line 4684 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
4691 4692 4693 4694 |
# File 'lib/v20211206/models.rb', line 4691 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |