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.



6593
6594
6595
6596
6597
6598
6599
6600
6601
# File 'lib/v20170312/models.rb', line 6593

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:

    枚举类型参数,取值范围



6591
6592
6593
# File 'lib/v20170312/models.rb', line 6591

def EnumValue
  @EnumValue
end

#MaxObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6591
6592
6593
# File 'lib/v20170312/models.rb', line 6591

def Max
  @Max
end

#MemoryObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6591
6592
6593
# File 'lib/v20170312/models.rb', line 6591

def Memory
  @Memory
end

#MinObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6591
6592
6593
# File 'lib/v20170312/models.rb', line 6591

def Min
  @Min
end

#NameObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6591
6592
6593
# File 'lib/v20170312/models.rb', line 6591

def Name
  @Name
end

#UnitObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6591
6592
6593
# File 'lib/v20170312/models.rb', line 6591

def Unit
  @Unit
end

#ValueObject

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

Parameters:

  • Name:

    参数名称

  • Memory:

    参数信息所属规格

  • Value:

    参数在该规格下的默认值

  • Unit:

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

  • Max:

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

  • Min:

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

  • EnumValue:

    枚举类型参数,取值范围



6591
6592
6593
# File 'lib/v20170312/models.rb', line 6591

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6603
6604
6605
6606
6607
6608
6609
6610
6611
# File 'lib/v20170312/models.rb', line 6603

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