Class: TencentCloud::Iecp::V20210914::NodeUnitTemplate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::NodeUnitTemplate
- Defined in:
- lib/v20210914/models.rb
Overview
NodeUnit模版信息
Instance Attribute Summary collapse
-
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Description ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Namespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NodeGroups ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NodeList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpdateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, namespace = nil, description = nil, nodelist = nil, nodegroups = nil, updatetime = nil, createtime = nil) ⇒ NodeUnitTemplate
constructor
A new instance of NodeUnitTemplate.
Constructor Details
#initialize(id = nil, name = nil, namespace = nil, description = nil, nodelist = nil, nodegroups = nil, updatetime = nil, createtime = nil) ⇒ NodeUnitTemplate
Returns a new instance of NodeUnitTemplate.
6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 |
# File 'lib/v20210914/models.rb', line 6046 def initialize(id=nil, name=nil, namespace=nil, description=nil, nodelist=nil, nodegroups=nil, updatetime=nil, createtime=nil) @ID = id @Name = name @Namespace = namespace @Description = description @NodeList = nodelist @NodeGroups = nodegroups @UpdateTime = updatetime @CreateTime = createtime end |
Instance Attribute Details
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6044 6045 6046 |
# File 'lib/v20210914/models.rb', line 6044 def CreateTime @CreateTime end |
#Description ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6044 6045 6046 |
# File 'lib/v20210914/models.rb', line 6044 def Description @Description end |
#ID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6044 6045 6046 |
# File 'lib/v20210914/models.rb', line 6044 def ID @ID end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6044 6045 6046 |
# File 'lib/v20210914/models.rb', line 6044 def Name @Name end |
#Namespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6044 6045 6046 |
# File 'lib/v20210914/models.rb', line 6044 def Namespace @Namespace end |
#NodeGroups ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6044 6045 6046 |
# File 'lib/v20210914/models.rb', line 6044 def NodeGroups @NodeGroups end |
#NodeList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6044 6045 6046 |
# File 'lib/v20210914/models.rb', line 6044 def NodeList @NodeList end |
#UpdateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6044 6045 6046 |
# File 'lib/v20210914/models.rb', line 6044 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 |
# File 'lib/v20210914/models.rb', line 6057 def deserialize(params) @ID = params['ID'] @Name = params['Name'] @Namespace = params['Namespace'] @Description = params['Description'] unless params['NodeList'].nil? @NodeList = [] params['NodeList'].each do |i| nodesimpleinfo_tmp = NodeSimpleInfo.new nodesimpleinfo_tmp.deserialize(i) @NodeList << nodesimpleinfo_tmp end end @NodeGroups = params['NodeGroups'] @UpdateTime = params['UpdateTime'] @CreateTime = params['CreateTime'] end |