Class: TencentCloud::Mongodb::V20190725::InstanceEnumParam

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CurrentValueObject

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

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    枚举值,所有支持的值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中参数值。



4212
4213
4214
# File 'lib/v20190725/models.rb', line 4212

def CurrentValue
  @CurrentValue
end

#DefaultValueObject

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

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    枚举值,所有支持的值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中参数值。



4212
4213
4214
# File 'lib/v20190725/models.rb', line 4212

def DefaultValue
  @DefaultValue
end

#EnumValueObject

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

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    枚举值,所有支持的值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中参数值。



4212
4213
4214
# File 'lib/v20190725/models.rb', line 4212

def EnumValue
  @EnumValue
end

#NeedRestartObject

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

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    枚举值,所有支持的值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中参数值。



4212
4213
4214
# File 'lib/v20190725/models.rb', line 4212

def NeedRestart
  @NeedRestart
end

#ParamNameObject

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

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    枚举值,所有支持的值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中参数值。



4212
4213
4214
# File 'lib/v20190725/models.rb', line 4212

def ParamName
  @ParamName
end

#StatusObject

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

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    枚举值,所有支持的值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中参数值。



4212
4213
4214
# File 'lib/v20190725/models.rb', line 4212

def Status
  @Status
end

#TipsObject

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

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    枚举值,所有支持的值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中参数值。



4212
4213
4214
# File 'lib/v20190725/models.rb', line 4212

def Tips
  @Tips
end

#ValueTypeObject

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

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • EnumValue:

    枚举值,所有支持的值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中参数值。



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