Class: TencentCloud::Mongodb::V20190725::InstanceMultiParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::InstanceMultiParam
- Defined in:
- lib/v20190725/models.rb
Overview
实例可修改参数Multi类型集合。
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, status = nil, tips = nil, valuetype = nil) ⇒ InstanceMultiParam
constructor
A new instance of InstanceMultiParam.
Constructor Details
#initialize(currentvalue = nil, defaultvalue = nil, enumvalue = nil, needrestart = nil, paramname = nil, status = nil, tips = nil, valuetype = nil) ⇒ InstanceMultiParam
Returns a new instance of InstanceMultiParam.
4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 |
# File 'lib/v20190725/models.rb', line 4402 def initialize(currentvalue=nil, defaultvalue=nil, enumvalue=nil, needrestart=nil, paramname=nil, status=nil, tips=nil, valuetype=nil) @CurrentValue = currentvalue @DefaultValue = defaultvalue @EnumValue = enumvalue @NeedRestart = needrestart @ParamName = paramname @Status = status @Tips = tips @ValueType = valuetype end |
Instance Attribute Details
#CurrentValue ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4400 4401 4402 |
# File 'lib/v20190725/models.rb', line 4400 def CurrentValue @CurrentValue end |
#DefaultValue ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4400 4401 4402 |
# File 'lib/v20190725/models.rb', line 4400 def DefaultValue @DefaultValue end |
#EnumValue ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4400 4401 4402 |
# File 'lib/v20190725/models.rb', line 4400 def EnumValue @EnumValue end |
#NeedRestart ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4400 4401 4402 |
# File 'lib/v20190725/models.rb', line 4400 def NeedRestart @NeedRestart end |
#ParamName ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4400 4401 4402 |
# File 'lib/v20190725/models.rb', line 4400 def ParamName @ParamName end |
#Status ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4400 4401 4402 |
# File 'lib/v20190725/models.rb', line 4400 def Status @Status end |
#Tips ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4400 4401 4402 |
# File 'lib/v20190725/models.rb', line 4400 def Tips @Tips end |
#ValueType ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4400 4401 4402 |
# File 'lib/v20190725/models.rb', line 4400 def ValueType @ValueType end |
Instance Method Details
#deserialize(params) ⇒ Object
4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 |
# File 'lib/v20190725/models.rb', line 4413 def deserialize(params) @CurrentValue = params['CurrentValue'] @DefaultValue = params['DefaultValue'] @EnumValue = params['EnumValue'] @NeedRestart = params['NeedRestart'] @ParamName = params['ParamName'] @Status = params['Status'] @Tips = params['Tips'] @ValueType = params['ValueType'] end |