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



2331
2332
2333
2334
2335
2336
# File 'lib/v20210820/models.rb', line 2331

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

Instance Attribute Details

#ProjectIdObject



2329
2330
2331
# File 'lib/v20210820/models.rb', line 2329

def ProjectId
  @ProjectId
end

#StartTaskInfoSetObject



2329
2330
2331
# File 'lib/v20210820/models.rb', line 2329

def StartTaskInfoSet
  @StartTaskInfoSet
end

#TaskIdsObject



2329
2330
2331
# File 'lib/v20210820/models.rb', line 2329

def TaskIds
  @TaskIds
end

#TaskTypeObject



2329
2330
2331
# File 'lib/v20210820/models.rb', line 2329

def TaskType
  @TaskType
end

Instance Method Details

#deserialize(params) ⇒ Object



2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
# File 'lib/v20210820/models.rb', line 2338

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