Class: TencentCloud::Cynosdb::V20190107::ParamItem
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cynosdb::V20190107::ParamItem
- Defined in:
- lib/v20190107/models.rb
Overview
修改参数时,传入参数描述
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(paramname = nil, currentvalue = nil, oldvalue = nil) ⇒ ParamItem
constructor
A new instance of ParamItem.
Constructor Details
#initialize(paramname = nil, currentvalue = nil, oldvalue = nil) ⇒ ParamItem
Returns a new instance of ParamItem.
12234 12235 12236 12237 12238 |
# File 'lib/v20190107/models.rb', line 12234 def initialize(paramname=nil, currentvalue=nil, oldvalue=nil) @ParamName = paramname @CurrentValue = currentvalue @OldValue = oldvalue end |
Instance Attribute Details
#CurrentValue ⇒ Object
12232 12233 12234 |
# File 'lib/v20190107/models.rb', line 12232 def CurrentValue @CurrentValue end |
#OldValue ⇒ Object
12232 12233 12234 |
# File 'lib/v20190107/models.rb', line 12232 def OldValue @OldValue end |
#ParamName ⇒ Object
12232 12233 12234 |
# File 'lib/v20190107/models.rb', line 12232 def ParamName @ParamName end |
Instance Method Details
#deserialize(params) ⇒ Object
12240 12241 12242 12243 12244 |
# File 'lib/v20190107/models.rb', line 12240 def deserialize(params) @ParamName = params['ParamName'] @CurrentValue = params['CurrentValue'] @OldValue = params['OldValue'] end |