Class: TencentCloud::Iecp::V20210914::NodeUnitInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::NodeUnitInfo
- Defined in:
- lib/v20210914/models.rb
Overview
NodeUnit信息
Instance Attribute Summary collapse
-
#Id ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#NodeList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#NodeUnitName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, nodeunitname = nil, nodelist = nil) ⇒ NodeUnitInfo
constructor
A new instance of NodeUnitInfo.
Constructor Details
#initialize(id = nil, nodeunitname = nil, nodelist = nil) ⇒ NodeUnitInfo
Returns a new instance of NodeUnitInfo.
5975 5976 5977 5978 5979 |
# File 'lib/v20210914/models.rb', line 5975 def initialize(id=nil, nodeunitname=nil, nodelist=nil) @Id = id @NodeUnitName = nodeunitname @NodeList = nodelist end |
Instance Attribute Details
#Id ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5973 5974 5975 |
# File 'lib/v20210914/models.rb', line 5973 def Id @Id end |
#NodeList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5973 5974 5975 |
# File 'lib/v20210914/models.rb', line 5973 def NodeList @NodeList end |
#NodeUnitName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5973 5974 5975 |
# File 'lib/v20210914/models.rb', line 5973 def NodeUnitName @NodeUnitName end |
Instance Method Details
#deserialize(params) ⇒ Object
5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 |
# File 'lib/v20210914/models.rb', line 5981 def deserialize(params) @Id = params['Id'] @NodeUnitName = params['NodeUnitName'] unless params['NodeList'].nil? @NodeList = [] params['NodeList'].each do |i| nodeunitnodeinfo_tmp = NodeUnitNodeInfo.new nodeunitnodeinfo_tmp.deserialize(i) @NodeList << nodeunitnodeinfo_tmp end end end |