Class: TencentCloud::Iecp::V20210914::CreateEdgeNodeUnitTemplateRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210914/models.rb

Overview

CreateEdgeNodeUnitTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(edgeunitid = nil, name = nil, namespace = nil, nodes = nil, description = nil) ⇒ CreateEdgeNodeUnitTemplateRequest

Returns a new instance of CreateEdgeNodeUnitTemplateRequest.



598
599
600
601
602
603
604
# File 'lib/v20210914/models.rb', line 598

def initialize(edgeunitid=nil, name=nil, namespace=nil, nodes=nil, description=nil)
  @EdgeUnitId = edgeunitid
  @Name = name
  @Namespace = namespace
  @Nodes = nodes
  @Description = description
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • EdgeUnitId:

    IECP边缘单元ID

  • Name:

    NodeUnit模板名称

  • Namespace:

    命名空间,默认default

  • Nodes:

    包含的节点列表

  • Description:

    描述



596
597
598
# File 'lib/v20210914/models.rb', line 596

def Description
  @Description
end

#EdgeUnitIdObject

Parameters:

  • EdgeUnitId:

    IECP边缘单元ID

  • Name:

    NodeUnit模板名称

  • Namespace:

    命名空间,默认default

  • Nodes:

    包含的节点列表

  • Description:

    描述



596
597
598
# File 'lib/v20210914/models.rb', line 596

def EdgeUnitId
  @EdgeUnitId
end

#NameObject

Parameters:

  • EdgeUnitId:

    IECP边缘单元ID

  • Name:

    NodeUnit模板名称

  • Namespace:

    命名空间,默认default

  • Nodes:

    包含的节点列表

  • Description:

    描述



596
597
598
# File 'lib/v20210914/models.rb', line 596

def Name
  @Name
end

#NamespaceObject

Parameters:

  • EdgeUnitId:

    IECP边缘单元ID

  • Name:

    NodeUnit模板名称

  • Namespace:

    命名空间,默认default

  • Nodes:

    包含的节点列表

  • Description:

    描述



596
597
598
# File 'lib/v20210914/models.rb', line 596

def Namespace
  @Namespace
end

#NodesObject

Parameters:

  • EdgeUnitId:

    IECP边缘单元ID

  • Name:

    NodeUnit模板名称

  • Namespace:

    命名空间,默认default

  • Nodes:

    包含的节点列表

  • Description:

    描述



596
597
598
# File 'lib/v20210914/models.rb', line 596

def Nodes
  @Nodes
end

Instance Method Details

#deserialize(params) ⇒ Object



606
607
608
609
610
611
612
# File 'lib/v20210914/models.rb', line 606

def deserialize(params)
  @EdgeUnitId = params['EdgeUnitId']
  @Name = params['Name']
  @Namespace = params['Namespace']
  @Nodes = params['Nodes']
  @Description = params['Description']
end