Class: TencentCloud::Mongodb::V20190725::InstanceTextParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::InstanceTextParam
- Defined in:
- lib/v20190725/models.rb
Overview
实例可修改参数为 Text 类型的参数集合。
Instance Attribute Summary collapse
-
#CurrentValue ⇒ Object
- 1:运行中参数值。 - 0:非运行中参数值。.
-
#DefaultValue ⇒ Object
- 1:运行中参数值。 - 0:非运行中参数值。.
-
#NeedRestart ⇒ Object
- 1:运行中参数值。 - 0:非运行中参数值。.
-
#ParamName ⇒ Object
- 1:运行中参数值。 - 0:非运行中参数值。.
-
#Status ⇒ Object
- 1:运行中参数值。 - 0:非运行中参数值。.
-
#TextValue ⇒ Object
- 1:运行中参数值。 - 0:非运行中参数值。.
-
#Tips ⇒ Object
- 1:运行中参数值。 - 0:非运行中参数值。.
-
#ValueType ⇒ Object
- 1:运行中参数值。 - 0:非运行中参数值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(currentvalue = nil, defaultvalue = nil, needrestart = nil, paramname = nil, textvalue = nil, tips = nil, valuetype = nil, status = nil) ⇒ InstanceTextParam
constructor
A new instance of InstanceTextParam.
Constructor Details
#initialize(currentvalue = nil, defaultvalue = nil, needrestart = nil, paramname = nil, textvalue = nil, tips = nil, valuetype = nil, status = nil) ⇒ InstanceTextParam
Returns a new instance of InstanceTextParam.
4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 |
# File 'lib/v20190725/models.rb', line 4448 def initialize(currentvalue=nil, defaultvalue=nil, needrestart=nil, paramname=nil, textvalue=nil, tips=nil, valuetype=nil, status=nil) @CurrentValue = currentvalue @DefaultValue = defaultvalue @NeedRestart = needrestart @ParamName = paramname @TextValue = textvalue @Tips = tips @ValueType = valuetype @Status = status end |
Instance Attribute Details
#CurrentValue ⇒ Object
- 1:运行中参数值。
- 0:非运行中参数值。
4446 4447 4448 |
# File 'lib/v20190725/models.rb', line 4446 def CurrentValue @CurrentValue end |
#DefaultValue ⇒ Object
- 1:运行中参数值。
- 0:非运行中参数值。
4446 4447 4448 |
# File 'lib/v20190725/models.rb', line 4446 def DefaultValue @DefaultValue end |
#NeedRestart ⇒ Object
- 1:运行中参数值。
- 0:非运行中参数值。
4446 4447 4448 |
# File 'lib/v20190725/models.rb', line 4446 def NeedRestart @NeedRestart end |
#ParamName ⇒ Object
- 1:运行中参数值。
- 0:非运行中参数值。
4446 4447 4448 |
# File 'lib/v20190725/models.rb', line 4446 def ParamName @ParamName end |
#Status ⇒ Object
- 1:运行中参数值。
- 0:非运行中参数值。
4446 4447 4448 |
# File 'lib/v20190725/models.rb', line 4446 def Status @Status end |
#TextValue ⇒ Object
- 1:运行中参数值。
- 0:非运行中参数值。
4446 4447 4448 |
# File 'lib/v20190725/models.rb', line 4446 def TextValue @TextValue end |
#Tips ⇒ Object
- 1:运行中参数值。
- 0:非运行中参数值。
4446 4447 4448 |
# File 'lib/v20190725/models.rb', line 4446 def Tips @Tips end |
#ValueType ⇒ Object
- 1:运行中参数值。
- 0:非运行中参数值。
4446 4447 4448 |
# File 'lib/v20190725/models.rb', line 4446 def ValueType @ValueType end |
Instance Method Details
#deserialize(params) ⇒ Object
4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 |
# File 'lib/v20190725/models.rb', line 4459 def deserialize(params) @CurrentValue = params['CurrentValue'] @DefaultValue = params['DefaultValue'] @NeedRestart = params['NeedRestart'] @ParamName = params['ParamName'] @TextValue = params['TextValue'] @Tips = params['Tips'] @ValueType = params['ValueType'] @Status = params['Status'] end |