Class: TencentCloud::Mongodb::V20190725::InstanceEnumParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::InstanceEnumParam
- Defined in:
- lib/v20190725/models.rb
Overview
实例可修改参数枚举类型集合。
Instance Attribute Summary collapse
-
#CurrentValue ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
-
#DefaultValue ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
-
#EnumValue ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
-
#NeedRestart ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
-
#ParamName ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
-
#Status ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
-
#Tips ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
-
#ValueType ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(currentvalue = nil, defaultvalue = nil, enumvalue = nil, needrestart = nil, paramname = nil, tips = nil, valuetype = nil, status = nil) ⇒ InstanceEnumParam
constructor
A new instance of InstanceEnumParam.
Constructor Details
#initialize(currentvalue = nil, defaultvalue = nil, enumvalue = nil, needrestart = nil, paramname = nil, tips = nil, valuetype = nil, status = nil) ⇒ InstanceEnumParam
Returns a new instance of InstanceEnumParam.
4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 |
# File 'lib/v20190725/models.rb', line 4214 def initialize(currentvalue=nil, defaultvalue=nil, enumvalue=nil, needrestart=nil, paramname=nil, tips=nil, valuetype=nil, status=nil) @CurrentValue = currentvalue @DefaultValue = defaultvalue @EnumValue = enumvalue @NeedRestart = needrestart @ParamName = paramname @Tips = tips @ValueType = valuetype @Status = status end |
Instance Attribute Details
#CurrentValue ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4212 4213 4214 |
# File 'lib/v20190725/models.rb', line 4212 def CurrentValue @CurrentValue end |
#DefaultValue ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4212 4213 4214 |
# File 'lib/v20190725/models.rb', line 4212 def DefaultValue @DefaultValue end |
#EnumValue ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4212 4213 4214 |
# File 'lib/v20190725/models.rb', line 4212 def EnumValue @EnumValue end |
#NeedRestart ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4212 4213 4214 |
# File 'lib/v20190725/models.rb', line 4212 def NeedRestart @NeedRestart end |
#ParamName ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4212 4213 4214 |
# File 'lib/v20190725/models.rb', line 4212 def ParamName @ParamName end |
#Status ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4212 4213 4214 |
# File 'lib/v20190725/models.rb', line 4212 def Status @Status end |
#Tips ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4212 4213 4214 |
# File 'lib/v20190725/models.rb', line 4212 def Tips @Tips end |
#ValueType ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4212 4213 4214 |
# File 'lib/v20190725/models.rb', line 4212 def ValueType @ValueType end |
Instance Method Details
#deserialize(params) ⇒ Object
4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 |
# File 'lib/v20190725/models.rb', line 4225 def deserialize(params) @CurrentValue = params['CurrentValue'] @DefaultValue = params['DefaultValue'] @EnumValue = params['EnumValue'] @NeedRestart = params['NeedRestart'] @ParamName = params['ParamName'] @Tips = params['Tips'] @ValueType = params['ValueType'] @Status = params['Status'] end |