Class: TencentCloud::Mongodb::V20190725::InstanceMultiParam

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190725/models.rb

Overview

实例可修改参数Multi类型集合。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CurrentValueObject

  • 1:需要重启后生效。
  • 0:无需重启,设置成功即可生效。
  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    参考值范围。

  • NeedRestart:

    参数修改后是否需要重启才会生效。

  • ParamName:

    参数名称。

  • Status:

    是否为运行中参数值。

  • Tips:

    参数说明。

  • ValueType:

    当前值的类型描述,默认为multi。



4400
4401
4402
# File 'lib/v20190725/models.rb', line 4400

def CurrentValue
  @CurrentValue
end

#DefaultValueObject

  • 1:需要重启后生效。
  • 0:无需重启,设置成功即可生效。
  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    参考值范围。

  • NeedRestart:

    参数修改后是否需要重启才会生效。

  • ParamName:

    参数名称。

  • Status:

    是否为运行中参数值。

  • Tips:

    参数说明。

  • ValueType:

    当前值的类型描述,默认为multi。



4400
4401
4402
# File 'lib/v20190725/models.rb', line 4400

def DefaultValue
  @DefaultValue
end

#EnumValueObject

  • 1:需要重启后生效。
  • 0:无需重启,设置成功即可生效。
  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    参考值范围。

  • NeedRestart:

    参数修改后是否需要重启才会生效。

  • ParamName:

    参数名称。

  • Status:

    是否为运行中参数值。

  • Tips:

    参数说明。

  • ValueType:

    当前值的类型描述,默认为multi。



4400
4401
4402
# File 'lib/v20190725/models.rb', line 4400

def EnumValue
  @EnumValue
end

#NeedRestartObject

  • 1:需要重启后生效。
  • 0:无需重启,设置成功即可生效。
  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    参考值范围。

  • NeedRestart:

    参数修改后是否需要重启才会生效。

  • ParamName:

    参数名称。

  • Status:

    是否为运行中参数值。

  • Tips:

    参数说明。

  • ValueType:

    当前值的类型描述,默认为multi。



4400
4401
4402
# File 'lib/v20190725/models.rb', line 4400

def NeedRestart
  @NeedRestart
end

#ParamNameObject

  • 1:需要重启后生效。
  • 0:无需重启,设置成功即可生效。
  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    参考值范围。

  • NeedRestart:

    参数修改后是否需要重启才会生效。

  • ParamName:

    参数名称。

  • Status:

    是否为运行中参数值。

  • Tips:

    参数说明。

  • ValueType:

    当前值的类型描述,默认为multi。



4400
4401
4402
# File 'lib/v20190725/models.rb', line 4400

def ParamName
  @ParamName
end

#StatusObject

  • 1:需要重启后生效。
  • 0:无需重启,设置成功即可生效。
  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    参考值范围。

  • NeedRestart:

    参数修改后是否需要重启才会生效。

  • ParamName:

    参数名称。

  • Status:

    是否为运行中参数值。

  • Tips:

    参数说明。

  • ValueType:

    当前值的类型描述,默认为multi。



4400
4401
4402
# File 'lib/v20190725/models.rb', line 4400

def Status
  @Status
end

#TipsObject

  • 1:需要重启后生效。
  • 0:无需重启,设置成功即可生效。
  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    参考值范围。

  • NeedRestart:

    参数修改后是否需要重启才会生效。

  • ParamName:

    参数名称。

  • Status:

    是否为运行中参数值。

  • Tips:

    参数说明。

  • ValueType:

    当前值的类型描述,默认为multi。



4400
4401
4402
# File 'lib/v20190725/models.rb', line 4400

def Tips
  @Tips
end

#ValueTypeObject

  • 1:需要重启后生效。
  • 0:无需重启,设置成功即可生效。
  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    参考值范围。

  • NeedRestart:

    参数修改后是否需要重启才会生效。

  • ParamName:

    参数名称。

  • Status:

    是否为运行中参数值。

  • Tips:

    参数说明。

  • ValueType:

    当前值的类型描述,默认为multi。



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