Class: TencentCloud::Wedata::V20210820::BatchStartIntegrationTasksRequest

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

Overview

BatchStartIntegrationTasks请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tasktype = nil, projectid = nil, taskids = nil, starttaskinfoset = nil) ⇒ BatchStartIntegrationTasksRequest

Returns a new instance of BatchStartIntegrationTasksRequest.



1355
1356
1357
1358
1359
1360
# File 'lib/v20210820/models.rb', line 1355

def initialize(tasktype=nil, projectid=nil, taskids=nil, starttaskinfoset=nil)
  @TaskType = tasktype
  @ProjectId = projectid
  @TaskIds = taskids
  @StartTaskInfoSet = starttaskinfoset
end

Instance Attribute Details

#ProjectIdObject

Parameters:

  • TaskType:

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

  • ProjectId:

    项目id

  • TaskIds:

    任务id

  • StartTaskInfoSet:

    批量运行集成任务,目前仅实时集成用到了这个参数



1353
1354
1355
# File 'lib/v20210820/models.rb', line 1353

def ProjectId
  @ProjectId
end

#StartTaskInfoSetObject

Parameters:

  • TaskType:

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

  • ProjectId:

    项目id

  • TaskIds:

    任务id

  • StartTaskInfoSet:

    批量运行集成任务,目前仅实时集成用到了这个参数



1353
1354
1355
# File 'lib/v20210820/models.rb', line 1353

def StartTaskInfoSet
  @StartTaskInfoSet
end

#TaskIdsObject

Parameters:

  • TaskType:

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

  • ProjectId:

    项目id

  • TaskIds:

    任务id

  • StartTaskInfoSet:

    批量运行集成任务,目前仅实时集成用到了这个参数



1353
1354
1355
# File 'lib/v20210820/models.rb', line 1353

def TaskIds
  @TaskIds
end

#TaskTypeObject

Parameters:

  • TaskType:

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

  • ProjectId:

    项目id

  • TaskIds:

    任务id

  • StartTaskInfoSet:

    批量运行集成任务,目前仅实时集成用到了这个参数



1353
1354
1355
# File 'lib/v20210820/models.rb', line 1353

def TaskType
  @TaskType
end

Instance Method Details

#deserialize(params) ⇒ Object



1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
# File 'lib/v20210820/models.rb', line 1362

def deserialize(params)
  @TaskType = params['TaskType']
  @ProjectId = params['ProjectId']
  @TaskIds = params['TaskIds']
  unless params['StartTaskInfoSet'].nil?
    @StartTaskInfoSet = []
    params['StartTaskInfoSet'].each do |i|
      starttaskinfo_tmp = StartTaskInfo.new
      starttaskinfo_tmp.deserialize(i)
      @StartTaskInfoSet << starttaskinfo_tmp
    end
  end
end