Class: TencentCloud::Mongodb::V20190725::InstanceTextParam

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

Overview

实例可修改参数为 Text 类型的参数集合。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CurrentValueObject

  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • TextValue:

    Text 类型参数对应的值。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中的参数值。



4446
4447
4448
# File 'lib/v20190725/models.rb', line 4446

def CurrentValue
  @CurrentValue
end

#DefaultValueObject

  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • TextValue:

    Text 类型参数对应的值。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中的参数值。



4446
4447
4448
# File 'lib/v20190725/models.rb', line 4446

def DefaultValue
  @DefaultValue
end

#NeedRestartObject

  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • TextValue:

    Text 类型参数对应的值。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中的参数值。



4446
4447
4448
# File 'lib/v20190725/models.rb', line 4446

def NeedRestart
  @NeedRestart
end

#ParamNameObject

  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • TextValue:

    Text 类型参数对应的值。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中的参数值。



4446
4447
4448
# File 'lib/v20190725/models.rb', line 4446

def ParamName
  @ParamName
end

#StatusObject

  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • TextValue:

    Text 类型参数对应的值。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中的参数值。



4446
4447
4448
# File 'lib/v20190725/models.rb', line 4446

def Status
  @Status
end

#TextValueObject

  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • TextValue:

    Text 类型参数对应的值。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中的参数值。



4446
4447
4448
# File 'lib/v20190725/models.rb', line 4446

def TextValue
  @TextValue
end

#TipsObject

  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • TextValue:

    Text 类型参数对应的值。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中的参数值。



4446
4447
4448
# File 'lib/v20190725/models.rb', line 4446

def Tips
  @Tips
end

#ValueTypeObject

  • 1:运行中参数值。
  • 0:非运行中参数值。

Parameters:

  • CurrentValue:

    参数当前值。

  • DefaultValue:

    参数默认值。

  • NeedRestart:

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

  • ParamName:

    参数名称。

  • TextValue:

    Text 类型参数对应的值。

  • Tips:

    参数说明。

  • ValueType:

    参数值类型说明。

  • Status:

    是否为运行中的参数值。



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