Class: TencentCloud::Keewidb::V20220308::InstanceEnumParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::InstanceEnumParam
- Defined in:
- lib/v20220308/models.rb
Overview
实例枚举类型参数描述,keewidb暂无枚举值
Instance Attribute Summary collapse
- #CurrentValue ⇒ Object
- #DefaultValue ⇒ Object
- #EnumValue ⇒ Object
- #NeedRestart ⇒ Object
- #ParamName ⇒ Object
- #Status ⇒ Object
- #Tips ⇒ Object
- #ValueType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(paramname = nil, valuetype = nil, needrestart = nil, defaultvalue = nil, currentvalue = nil, tips = nil, enumvalue = nil, status = nil) ⇒ InstanceEnumParam
constructor
A new instance of InstanceEnumParam.
Constructor Details
#initialize(paramname = nil, valuetype = nil, needrestart = nil, defaultvalue = nil, currentvalue = nil, tips = nil, enumvalue = nil, status = nil) ⇒ InstanceEnumParam
Returns a new instance of InstanceEnumParam.
1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 |
# File 'lib/v20220308/models.rb', line 1807 def initialize(paramname=nil, valuetype=nil, needrestart=nil, defaultvalue=nil, currentvalue=nil, tips=nil, enumvalue=nil, status=nil) @ParamName = paramname @ValueType = valuetype @NeedRestart = needrestart @DefaultValue = defaultvalue @CurrentValue = currentvalue @Tips = tips @EnumValue = enumvalue @Status = status end |
Instance Attribute Details
#CurrentValue ⇒ Object
1805 1806 1807 |
# File 'lib/v20220308/models.rb', line 1805 def CurrentValue @CurrentValue end |
#DefaultValue ⇒ Object
1805 1806 1807 |
# File 'lib/v20220308/models.rb', line 1805 def DefaultValue @DefaultValue end |
#EnumValue ⇒ Object
1805 1806 1807 |
# File 'lib/v20220308/models.rb', line 1805 def EnumValue @EnumValue end |
#NeedRestart ⇒ Object
1805 1806 1807 |
# File 'lib/v20220308/models.rb', line 1805 def NeedRestart @NeedRestart end |
#ParamName ⇒ Object
1805 1806 1807 |
# File 'lib/v20220308/models.rb', line 1805 def ParamName @ParamName end |
#Status ⇒ Object
1805 1806 1807 |
# File 'lib/v20220308/models.rb', line 1805 def Status @Status end |
#Tips ⇒ Object
1805 1806 1807 |
# File 'lib/v20220308/models.rb', line 1805 def Tips @Tips end |
#ValueType ⇒ Object
1805 1806 1807 |
# File 'lib/v20220308/models.rb', line 1805 def ValueType @ValueType end |
Instance Method Details
#deserialize(params) ⇒ Object
1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 |
# File 'lib/v20220308/models.rb', line 1818 def deserialize(params) @ParamName = params['ParamName'] @ValueType = params['ValueType'] @NeedRestart = params['NeedRestart'] @DefaultValue = params['DefaultValue'] @CurrentValue = params['CurrentValue'] @Tips = params['Tips'] @EnumValue = params['EnumValue'] @Status = params['Status'] end |