Class: TencentCloud::Emr::V20190103::NodeSpecType
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::NodeSpecType
- Defined in:
- lib/v20190103/models.rb
Overview
节点机型类型
Instance Attribute Summary collapse
-
#InstanceFamilies ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Order ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TypeName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, typename = nil, order = nil, instancefamilies = nil) ⇒ NodeSpecType
constructor
A new instance of NodeSpecType.
Constructor Details
#initialize(type = nil, typename = nil, order = nil, instancefamilies = nil) ⇒ NodeSpecType
Returns a new instance of NodeSpecType.
10593 10594 10595 10596 10597 10598 |
# File 'lib/v20190103/models.rb', line 10593 def initialize(type=nil, typename=nil, order=nil, instancefamilies=nil) @Type = type @TypeName = typename @Order = order @InstanceFamilies = instancefamilies end |
Instance Attribute Details
#InstanceFamilies ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10591 10592 10593 |
# File 'lib/v20190103/models.rb', line 10591 def InstanceFamilies @InstanceFamilies end |
#Order ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10591 10592 10593 |
# File 'lib/v20190103/models.rb', line 10591 def Order @Order end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10591 10592 10593 |
# File 'lib/v20190103/models.rb', line 10591 def Type @Type end |
#TypeName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10591 10592 10593 |
# File 'lib/v20190103/models.rb', line 10591 def TypeName @TypeName end |
Instance Method Details
#deserialize(params) ⇒ Object
10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 |
# File 'lib/v20190103/models.rb', line 10600 def deserialize(params) @Type = params['Type'] @TypeName = params['TypeName'] @Order = params['Order'] unless params['InstanceFamilies'].nil? @InstanceFamilies = [] params['InstanceFamilies'].each do |i| nodespecfamily_tmp = NodeSpecFamily.new nodespecfamily_tmp.deserialize(i) @InstanceFamilies << nodespecfamily_tmp end end end |