Class: TencentCloud::Mongodb::V20190725::InstanceIntegerParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::InstanceIntegerParam
- Defined in:
- lib/v20190725/models.rb
Overview
实例可修改参数 Integer 类型集合。
Instance Attribute Summary collapse
-
#CurrentValue ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
-
#DefaultValue ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
-
#Max ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
-
#Min ⇒ 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:非运行中参数值。.
-
#Unit ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
-
#ValueType ⇒ Object
- 1:需要重启后生效。 - 0:无需重启,设置成功即可生效。 - 1:运行中参数值。 - 0:非运行中参数值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(currentvalue = nil, defaultvalue = nil, max = nil, min = nil, needrestart = nil, paramname = nil, tips = nil, valuetype = nil, status = nil, unit = nil) ⇒ InstanceIntegerParam
constructor
A new instance of InstanceIntegerParam.
Constructor Details
#initialize(currentvalue = nil, defaultvalue = nil, max = nil, min = nil, needrestart = nil, paramname = nil, tips = nil, valuetype = nil, status = nil, unit = nil) ⇒ InstanceIntegerParam
Returns a new instance of InstanceIntegerParam.
4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 |
# File 'lib/v20190725/models.rb', line 4350 def initialize(currentvalue=nil, defaultvalue=nil, max=nil, min=nil, needrestart=nil, paramname=nil, tips=nil, valuetype=nil, status=nil, unit=nil) @CurrentValue = currentvalue @DefaultValue = defaultvalue @Max = max @Min = min @NeedRestart = needrestart @ParamName = paramname @Tips = tips @ValueType = valuetype @Status = status @Unit = unit end |
Instance Attribute Details
#CurrentValue ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4348 4349 4350 |
# File 'lib/v20190725/models.rb', line 4348 def CurrentValue @CurrentValue end |
#DefaultValue ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4348 4349 4350 |
# File 'lib/v20190725/models.rb', line 4348 def DefaultValue @DefaultValue end |
#Max ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4348 4349 4350 |
# File 'lib/v20190725/models.rb', line 4348 def Max @Max end |
#Min ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4348 4349 4350 |
# File 'lib/v20190725/models.rb', line 4348 def Min @Min end |
#NeedRestart ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4348 4349 4350 |
# File 'lib/v20190725/models.rb', line 4348 def NeedRestart @NeedRestart end |
#ParamName ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4348 4349 4350 |
# File 'lib/v20190725/models.rb', line 4348 def ParamName @ParamName end |
#Status ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4348 4349 4350 |
# File 'lib/v20190725/models.rb', line 4348 def Status @Status end |
#Tips ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4348 4349 4350 |
# File 'lib/v20190725/models.rb', line 4348 def Tips @Tips end |
#Unit ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4348 4349 4350 |
# File 'lib/v20190725/models.rb', line 4348 def Unit @Unit end |
#ValueType ⇒ Object
- 1:需要重启后生效。
- 0:无需重启,设置成功即可生效。
- 1:运行中参数值。
- 0:非运行中参数值。
4348 4349 4350 |
# File 'lib/v20190725/models.rb', line 4348 def ValueType @ValueType end |
Instance Method Details
#deserialize(params) ⇒ Object
4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 |
# File 'lib/v20190725/models.rb', line 4363 def deserialize(params) @CurrentValue = params['CurrentValue'] @DefaultValue = params['DefaultValue'] @Max = params['Max'] @Min = params['Min'] @NeedRestart = params['NeedRestart'] @ParamName = params['ParamName'] @Tips = params['Tips'] @ValueType = params['ValueType'] @Status = params['Status'] @Unit = params['Unit'] end |