Class: TencentCloud::Wedata::V20210820::CreateIntegrationNodeRequest

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

Overview

CreateIntegrationNode请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nodeinfo = nil, projectid = nil, tasktype = nil) ⇒ CreateIntegrationNodeRequest

Returns a new instance of CreateIntegrationNodeRequest.



4963
4964
4965
4966
4967
# File 'lib/v20210820/models.rb', line 4963

def initialize(nodeinfo=nil, projectid=nil, tasktype=nil)
  @NodeInfo = nodeinfo
  @ProjectId = projectid
  @TaskType = tasktype
end

Instance Attribute Details

#NodeInfoObject

Parameters:

  • NodeInfo:

    集成节点信息

  • ProjectId:

    项目id

  • TaskType:

    任务类型,201为实时任务,202为离线任务



4961
4962
4963
# File 'lib/v20210820/models.rb', line 4961

def NodeInfo
  @NodeInfo
end

#ProjectIdObject

Parameters:

  • NodeInfo:

    集成节点信息

  • ProjectId:

    项目id

  • TaskType:

    任务类型,201为实时任务,202为离线任务



4961
4962
4963
# File 'lib/v20210820/models.rb', line 4961

def ProjectId
  @ProjectId
end

#TaskTypeObject

Parameters:

  • NodeInfo:

    集成节点信息

  • ProjectId:

    项目id

  • TaskType:

    任务类型,201为实时任务,202为离线任务



4961
4962
4963
# File 'lib/v20210820/models.rb', line 4961

def TaskType
  @TaskType
end

Instance Method Details

#deserialize(params) ⇒ Object



4969
4970
4971
4972
4973
4974
4975
4976
# File 'lib/v20210820/models.rb', line 4969

def deserialize(params)
  unless params['NodeInfo'].nil?
    @NodeInfo = IntegrationNodeInfo.new
    @NodeInfo.deserialize(params['NodeInfo'])
  end
  @ProjectId = params['ProjectId']
  @TaskType = params['TaskType']
end