Class: TencentCloud::Dlc::V20210125::KVPair
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::KVPair
- Defined in:
- lib/v20210125/models.rb
Overview
配置格式
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ KVPair
constructor
A new instance of KVPair.
Constructor Details
#initialize(key = nil, value = nil) ⇒ KVPair
11619 11620 11621 11622 |
# File 'lib/v20210125/models.rb', line 11619 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
11617 11618 11619 |
# File 'lib/v20210125/models.rb', line 11617 def Key @Key end |
#Value ⇒ Object
11617 11618 11619 |
# File 'lib/v20210125/models.rb', line 11617 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
11624 11625 11626 11627 |
# File 'lib/v20210125/models.rb', line 11624 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |