Class: TencentCloud::Postgres::V20170312::ParamSpecRelation

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, memory = nil, value = nil, unit = nil, max = nil, min = nil, enumvalue = nil) ⇒ ParamSpecRelation

Returns a new instance of ParamSpecRelation.



6660
6661
6662
6663
6664
6665
6666
6667
6668
# File 'lib/v20170312/models.rb', line 6660

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

Instance Attribute Details

#EnumValueObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6658
6659
6660
# File 'lib/v20170312/models.rb', line 6658

def EnumValue
  @EnumValue
end

#MaxObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6658
6659
6660
# File 'lib/v20170312/models.rb', line 6658

def Max
  @Max
end

#MemoryObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6658
6659
6660
# File 'lib/v20170312/models.rb', line 6658

def Memory
  @Memory
end

#MinObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6658
6659
6660
# File 'lib/v20170312/models.rb', line 6658

def Min
  @Min
end

#NameObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6658
6659
6660
# File 'lib/v20170312/models.rb', line 6658

def Name
  @Name
end

#UnitObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6658
6659
6660
# File 'lib/v20170312/models.rb', line 6658

def Unit
  @Unit
end

#ValueObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6658
6659
6660
# File 'lib/v20170312/models.rb', line 6658

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6670
6671
6672
6673
6674
6675
6676
6677
6678
# File 'lib/v20170312/models.rb', line 6670

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