Class: TencentCloud::Postgres::V20170312::ParamVersionRelation

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

Overview

各版本下的参数信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, dbkernelversion = nil, value = nil, unit = nil, max = nil, min = nil, enumvalue = nil) ⇒ ParamVersionRelation

Returns a new instance of ParamVersionRelation.



6634
6635
6636
6637
6638
6639
6640
6641
6642
# File 'lib/v20170312/models.rb', line 6634

def initialize(name=nil, dbkernelversion=nil, value=nil, unit=nil, max=nil, min=nil, enumvalue=nil)
  @Name = name
  @DBKernelVersion = dbkernelversion
  @Value = value
  @Unit = unit
  @Max = max
  @Min = min
  @EnumValue = enumvalue
end

Instance Attribute Details

#DBKernelVersionObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    参数名称

  • DBKernelVersion:

    参数信息所属内核版本

  • Value:

    参数在该版本该规格下的默认值

  • Unit:

    参数值单位。参数没有单位时,该字段返回空

  • Max:

    数值类型(integer、real)参数,取值上界

  • Min:

    数值类型(integer、real)参数,取值下界

  • EnumValue:

    枚举类型参数,取值范围



6632
6633
6634
# File 'lib/v20170312/models.rb', line 6632

def DBKernelVersion
  @DBKernelVersion
end

#EnumValueObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    参数名称

  • DBKernelVersion:

    参数信息所属内核版本

  • Value:

    参数在该版本该规格下的默认值

  • Unit:

    参数值单位。参数没有单位时,该字段返回空

  • Max:

    数值类型(integer、real)参数,取值上界

  • Min:

    数值类型(integer、real)参数,取值下界

  • EnumValue:

    枚举类型参数,取值范围



6632
6633
6634
# File 'lib/v20170312/models.rb', line 6632

def EnumValue
  @EnumValue
end

#MaxObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    参数名称

  • DBKernelVersion:

    参数信息所属内核版本

  • Value:

    参数在该版本该规格下的默认值

  • Unit:

    参数值单位。参数没有单位时,该字段返回空

  • Max:

    数值类型(integer、real)参数,取值上界

  • Min:

    数值类型(integer、real)参数,取值下界

  • EnumValue:

    枚举类型参数,取值范围



6632
6633
6634
# File 'lib/v20170312/models.rb', line 6632

def Max
  @Max
end

#MinObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    参数名称

  • DBKernelVersion:

    参数信息所属内核版本

  • Value:

    参数在该版本该规格下的默认值

  • Unit:

    参数值单位。参数没有单位时,该字段返回空

  • Max:

    数值类型(integer、real)参数,取值上界

  • Min:

    数值类型(integer、real)参数,取值下界

  • EnumValue:

    枚举类型参数,取值范围



6632
6633
6634
# File 'lib/v20170312/models.rb', line 6632

def Min
  @Min
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    参数名称

  • DBKernelVersion:

    参数信息所属内核版本

  • Value:

    参数在该版本该规格下的默认值

  • Unit:

    参数值单位。参数没有单位时,该字段返回空

  • Max:

    数值类型(integer、real)参数,取值上界

  • Min:

    数值类型(integer、real)参数,取值下界

  • EnumValue:

    枚举类型参数,取值范围



6632
6633
6634
# File 'lib/v20170312/models.rb', line 6632

def Name
  @Name
end

#UnitObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    参数名称

  • DBKernelVersion:

    参数信息所属内核版本

  • Value:

    参数在该版本该规格下的默认值

  • Unit:

    参数值单位。参数没有单位时,该字段返回空

  • Max:

    数值类型(integer、real)参数,取值上界

  • Min:

    数值类型(integer、real)参数,取值下界

  • EnumValue:

    枚举类型参数,取值范围



6632
6633
6634
# File 'lib/v20170312/models.rb', line 6632

def Unit
  @Unit
end

#ValueObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    参数名称

  • DBKernelVersion:

    参数信息所属内核版本

  • Value:

    参数在该版本该规格下的默认值

  • Unit:

    参数值单位。参数没有单位时,该字段返回空

  • Max:

    数值类型(integer、real)参数,取值上界

  • Min:

    数值类型(integer、real)参数,取值下界

  • EnumValue:

    枚举类型参数,取值范围



6632
6633
6634
# File 'lib/v20170312/models.rb', line 6632

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6644
6645
6646
6647
6648
6649
6650
6651
6652
# File 'lib/v20170312/models.rb', line 6644

def deserialize(params)
  @Name = params['Name']
  @DBKernelVersion = params['DBKernelVersion']
  @Value = params['Value']
  @Unit = params['Unit']
  @Max = params['Max']
  @Min = params['Min']
  @EnumValue = params['EnumValue']
end