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.



3435
3436
3437
3438
3439
# File 'lib/v20210820/models.rb', line 3435

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



3433
3434
3435
# File 'lib/v20210820/models.rb', line 3433

def NodeInfo
  @NodeInfo
end

#ProjectIdObject

Parameters:

  • NodeInfo:

    集成节点信息

  • ProjectId:

    项目id

  • TaskType:

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



3433
3434
3435
# File 'lib/v20210820/models.rb', line 3433

def ProjectId
  @ProjectId
end

#TaskTypeObject

Parameters:

  • NodeInfo:

    集成节点信息

  • ProjectId:

    项目id

  • TaskType:

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



3433
3434
3435
# File 'lib/v20210820/models.rb', line 3433

def TaskType
  @TaskType
end

Instance Method Details

#deserialize(params) ⇒ Object



3441
3442
3443
3444
3445
3446
3447
3448
# File 'lib/v20210820/models.rb', line 3441

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