Class: TencentCloud::Iecp::V20210914::NodeGroupNodeUnitTemplateInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::NodeGroupNodeUnitTemplateInfo
- Defined in:
- lib/v20210914/models.rb
Overview
指定NodeGroup中查询NodeUnit模版
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #Description ⇒ Object
- #ID ⇒ Object
- #Name ⇒ Object
- #Namespace ⇒ Object
- #NodeList ⇒ Object
- #Relation ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, namespace = nil, description = nil, nodelist = nil, updatetime = nil, createtime = nil, relation = nil) ⇒ NodeGroupNodeUnitTemplateInfo
constructor
A new instance of NodeGroupNodeUnitTemplateInfo.
Constructor Details
#initialize(id = nil, name = nil, namespace = nil, description = nil, nodelist = nil, updatetime = nil, createtime = nil, relation = nil) ⇒ NodeGroupNodeUnitTemplateInfo
Returns a new instance of NodeGroupNodeUnitTemplateInfo.
5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 |
# File 'lib/v20210914/models.rb', line 5913 def initialize(id=nil, name=nil, namespace=nil, description=nil, nodelist=nil, updatetime=nil, createtime=nil, relation=nil) @ID = id @Name = name @Namespace = namespace @Description = description @NodeList = nodelist @UpdateTime = updatetime @CreateTime = createtime @Relation = relation end |
Instance Attribute Details
#CreateTime ⇒ Object
5911 5912 5913 |
# File 'lib/v20210914/models.rb', line 5911 def CreateTime @CreateTime end |
#Description ⇒ Object
5911 5912 5913 |
# File 'lib/v20210914/models.rb', line 5911 def Description @Description end |
#ID ⇒ Object
5911 5912 5913 |
# File 'lib/v20210914/models.rb', line 5911 def ID @ID end |
#Name ⇒ Object
5911 5912 5913 |
# File 'lib/v20210914/models.rb', line 5911 def Name @Name end |
#Namespace ⇒ Object
5911 5912 5913 |
# File 'lib/v20210914/models.rb', line 5911 def Namespace @Namespace end |
#NodeList ⇒ Object
5911 5912 5913 |
# File 'lib/v20210914/models.rb', line 5911 def NodeList @NodeList end |
#Relation ⇒ Object
5911 5912 5913 |
# File 'lib/v20210914/models.rb', line 5911 def Relation @Relation end |
#UpdateTime ⇒ Object
5911 5912 5913 |
# File 'lib/v20210914/models.rb', line 5911 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 |
# File 'lib/v20210914/models.rb', line 5924 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 @UpdateTime = params['UpdateTime'] @CreateTime = params['CreateTime'] @Relation = params['Relation'] end |