Class: TencentCloud::Postgres::V20170312::ParamSpecRelation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::ParamSpecRelation
- Defined in:
- lib/v20170312/models.rb
Overview
各规格下的参数信息
Instance Attribute Summary collapse
-
#EnumValue ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Max ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Memory ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Min ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Unit ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, memory = nil, value = nil, unit = nil, max = nil, min = nil, enumvalue = nil) ⇒ ParamSpecRelation
constructor
A new instance of ParamSpecRelation.
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
#EnumValue ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6658 6659 6660 |
# File 'lib/v20170312/models.rb', line 6658 def EnumValue @EnumValue end |
#Max ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6658 6659 6660 |
# File 'lib/v20170312/models.rb', line 6658 def Max @Max end |
#Memory ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6658 6659 6660 |
# File 'lib/v20170312/models.rb', line 6658 def Memory @Memory end |
#Min ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6658 6659 6660 |
# File 'lib/v20170312/models.rb', line 6658 def Min @Min end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6658 6659 6660 |
# File 'lib/v20170312/models.rb', line 6658 def Name @Name end |
#Unit ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6658 6659 6660 |
# File 'lib/v20170312/models.rb', line 6658 def Unit @Unit end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
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 |