Class: TencentCloud::Keewidb::V20220308::InstanceTextParam

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

Overview

实例字符型参数描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(paramname = nil, valuetype = nil, needrestart = nil, defaultvalue = nil, currentvalue = nil, tips = nil, textvalue = nil, status = nil) ⇒ InstanceTextParam

Returns a new instance of InstanceTextParam.



2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
# File 'lib/v20220308/models.rb', line 2284

def initialize(paramname=nil, valuetype=nil, needrestart=nil, defaultvalue=nil, currentvalue=nil, tips=nil, textvalue=nil, status=nil)
  @ParamName = paramname
  @ValueType = valuetype
  @NeedRestart = needrestart
  @DefaultValue = defaultvalue
  @CurrentValue = currentvalue
  @Tips = tips
  @TextValue = textvalue
  @Status = status
end

Instance Attribute Details

#CurrentValueObject

Parameters:

  • ParamName:

    参数名

  • ValueType:

    参数类型:text

  • NeedRestart:

    修改后是否需要重启:true,false

  • DefaultValue:

    参数默认值

  • CurrentValue:

    当前运行参数值

  • Tips:

    参数说明

  • TextValue:

    参数可取值

  • Status:

    参数状态, 1: 修改中, 2:修改完成



2282
2283
2284
# File 'lib/v20220308/models.rb', line 2282

def CurrentValue
  @CurrentValue
end

#DefaultValueObject

Parameters:

  • ParamName:

    参数名

  • ValueType:

    参数类型:text

  • NeedRestart:

    修改后是否需要重启:true,false

  • DefaultValue:

    参数默认值

  • CurrentValue:

    当前运行参数值

  • Tips:

    参数说明

  • TextValue:

    参数可取值

  • Status:

    参数状态, 1: 修改中, 2:修改完成



2282
2283
2284
# File 'lib/v20220308/models.rb', line 2282

def DefaultValue
  @DefaultValue
end

#NeedRestartObject

Parameters:

  • ParamName:

    参数名

  • ValueType:

    参数类型:text

  • NeedRestart:

    修改后是否需要重启:true,false

  • DefaultValue:

    参数默认值

  • CurrentValue:

    当前运行参数值

  • Tips:

    参数说明

  • TextValue:

    参数可取值

  • Status:

    参数状态, 1: 修改中, 2:修改完成



2282
2283
2284
# File 'lib/v20220308/models.rb', line 2282

def NeedRestart
  @NeedRestart
end

#ParamNameObject

Parameters:

  • ParamName:

    参数名

  • ValueType:

    参数类型:text

  • NeedRestart:

    修改后是否需要重启:true,false

  • DefaultValue:

    参数默认值

  • CurrentValue:

    当前运行参数值

  • Tips:

    参数说明

  • TextValue:

    参数可取值

  • Status:

    参数状态, 1: 修改中, 2:修改完成



2282
2283
2284
# File 'lib/v20220308/models.rb', line 2282

def ParamName
  @ParamName
end

#StatusObject

Parameters:

  • ParamName:

    参数名

  • ValueType:

    参数类型:text

  • NeedRestart:

    修改后是否需要重启:true,false

  • DefaultValue:

    参数默认值

  • CurrentValue:

    当前运行参数值

  • Tips:

    参数说明

  • TextValue:

    参数可取值

  • Status:

    参数状态, 1: 修改中, 2:修改完成



2282
2283
2284
# File 'lib/v20220308/models.rb', line 2282

def Status
  @Status
end

#TextValueObject

Parameters:

  • ParamName:

    参数名

  • ValueType:

    参数类型:text

  • NeedRestart:

    修改后是否需要重启:true,false

  • DefaultValue:

    参数默认值

  • CurrentValue:

    当前运行参数值

  • Tips:

    参数说明

  • TextValue:

    参数可取值

  • Status:

    参数状态, 1: 修改中, 2:修改完成



2282
2283
2284
# File 'lib/v20220308/models.rb', line 2282

def TextValue
  @TextValue
end

#TipsObject

Parameters:

  • ParamName:

    参数名

  • ValueType:

    参数类型:text

  • NeedRestart:

    修改后是否需要重启:true,false

  • DefaultValue:

    参数默认值

  • CurrentValue:

    当前运行参数值

  • Tips:

    参数说明

  • TextValue:

    参数可取值

  • Status:

    参数状态, 1: 修改中, 2:修改完成



2282
2283
2284
# File 'lib/v20220308/models.rb', line 2282

def Tips
  @Tips
end

#ValueTypeObject

Parameters:

  • ParamName:

    参数名

  • ValueType:

    参数类型:text

  • NeedRestart:

    修改后是否需要重启:true,false

  • DefaultValue:

    参数默认值

  • CurrentValue:

    当前运行参数值

  • Tips:

    参数说明

  • TextValue:

    参数可取值

  • Status:

    参数状态, 1: 修改中, 2:修改完成



2282
2283
2284
# File 'lib/v20220308/models.rb', line 2282

def ValueType
  @ValueType
end

Instance Method Details

#deserialize(params) ⇒ Object



2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
# File 'lib/v20220308/models.rb', line 2295

def deserialize(params)
  @ParamName = params['ParamName']
  @ValueType = params['ValueType']
  @NeedRestart = params['NeedRestart']
  @DefaultValue = params['DefaultValue']
  @CurrentValue = params['CurrentValue']
  @Tips = params['Tips']
  @TextValue = params['TextValue']
  @Status = params['Status']
end