Class: TencentCloud::Emr::V20190103::DescribeNodeSpec
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::DescribeNodeSpec
- Defined in:
- lib/v20190103/models.rb
Overview
节点规格
Instance Attribute Summary collapse
-
#CmnTypes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NodeName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NodeType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Types ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodetype = nil, nodename = nil, types = nil, cmntypes = nil) ⇒ DescribeNodeSpec
constructor
A new instance of DescribeNodeSpec.
Constructor Details
#initialize(nodetype = nil, nodename = nil, types = nil, cmntypes = nil) ⇒ DescribeNodeSpec
Returns a new instance of DescribeNodeSpec.
4857 4858 4859 4860 4861 4862 |
# File 'lib/v20190103/models.rb', line 4857 def initialize(nodetype=nil, nodename=nil, types=nil, cmntypes=nil) @NodeType = nodetype @NodeName = nodename @Types = types @CmnTypes = cmntypes end |
Instance Attribute Details
#CmnTypes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
4855 4856 4857 |
# File 'lib/v20190103/models.rb', line 4855 def CmnTypes @CmnTypes end |
#NodeName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
4855 4856 4857 |
# File 'lib/v20190103/models.rb', line 4855 def NodeName @NodeName end |
#NodeType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
4855 4856 4857 |
# File 'lib/v20190103/models.rb', line 4855 def NodeType @NodeType end |
#Types ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
4855 4856 4857 |
# File 'lib/v20190103/models.rb', line 4855 def Types @Types end |
Instance Method Details
#deserialize(params) ⇒ Object
4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 |
# File 'lib/v20190103/models.rb', line 4864 def deserialize(params) @NodeType = params['NodeType'] @NodeName = params['NodeName'] unless params['Types'].nil? @Types = [] params['Types'].each do |i| nodespectype_tmp = NodeSpecType.new nodespectype_tmp.deserialize(i) @Types << nodespectype_tmp end end unless params['CmnTypes'].nil? @CmnTypes = [] params['CmnTypes'].each do |i| nodespectype_tmp = NodeSpecType.new nodespectype_tmp.deserialize(i) @CmnTypes << nodespectype_tmp end end end |