Class: TencentCloud::Mongodb::V20190725::ParamType
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::ParamType
- Defined in:
- lib/v20190725/models.rb
Overview
数据库参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ ParamType
constructor
A new instance of ParamType.
Constructor Details
#initialize(key = nil, value = nil) ⇒ ParamType
Returns a new instance of ParamType.
5375 5376 5377 5378 |
# File 'lib/v20190725/models.rb', line 5375 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
5373 5374 5375 |
# File 'lib/v20190725/models.rb', line 5373 def Key @Key end |
#Value ⇒ Object
5373 5374 5375 |
# File 'lib/v20190725/models.rb', line 5373 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5380 5381 5382 5383 |
# File 'lib/v20190725/models.rb', line 5380 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |