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.



3259
3260
3261
3262
3263
# File 'lib/v20210820/models.rb', line 3259

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为离线任务



3257
3258
3259
# File 'lib/v20210820/models.rb', line 3257

def NodeInfo
  @NodeInfo
end

#ProjectIdObject

Parameters:

  • NodeInfo:

    集成节点信息

  • ProjectId:

    项目id

  • TaskType:

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



3257
3258
3259
# File 'lib/v20210820/models.rb', line 3257

def ProjectId
  @ProjectId
end

#TaskTypeObject

Parameters:

  • NodeInfo:

    集成节点信息

  • ProjectId:

    项目id

  • TaskType:

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



3257
3258
3259
# File 'lib/v20210820/models.rb', line 3257

def TaskType
  @TaskType
end

Instance Method Details

#deserialize(params) ⇒ Object



3265
3266
3267
3268
3269
3270
3271
3272
# File 'lib/v20210820/models.rb', line 3265

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