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.



2660
2661
2662
2663
2664
2665
# File 'lib/v20210820/models.rb', line 2660

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:

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



2658
2659
2660
# File 'lib/v20210820/models.rb', line 2658

def ProjectId
  @ProjectId
end

#StartTaskInfoSetObject

Parameters:

  • TaskType:

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

  • ProjectId:

    项目id

  • TaskIds:

    任务id

  • StartTaskInfoSet:

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



2658
2659
2660
# File 'lib/v20210820/models.rb', line 2658

def StartTaskInfoSet
  @StartTaskInfoSet
end

#TaskIdsObject

Parameters:

  • TaskType:

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

  • ProjectId:

    项目id

  • TaskIds:

    任务id

  • StartTaskInfoSet:

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



2658
2659
2660
# File 'lib/v20210820/models.rb', line 2658

def TaskIds
  @TaskIds
end

#TaskTypeObject

Parameters:

  • TaskType:

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

  • ProjectId:

    项目id

  • TaskIds:

    任务id

  • StartTaskInfoSet:

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



2658
2659
2660
# File 'lib/v20210820/models.rb', line 2658

def TaskType
  @TaskType
end

Instance Method Details

#deserialize(params) ⇒ Object



2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
# File 'lib/v20210820/models.rb', line 2667

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