Class: TencentCloud::Wedata::V20210820::BatchStartIntegrationTasksRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::BatchStartIntegrationTasksRequest
- Defined in:
- lib/v20210820/models.rb
Overview
BatchStartIntegrationTasks请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tasktype = nil, projectid = nil, taskids = nil, starttaskinfoset = nil) ⇒ BatchStartIntegrationTasksRequest
constructor
A new instance of BatchStartIntegrationTasksRequest.
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
#ProjectId ⇒ Object
1353 1354 1355 |
# File 'lib/v20210820/models.rb', line 1353 def ProjectId @ProjectId end |
#StartTaskInfoSet ⇒ Object
1353 1354 1355 |
# File 'lib/v20210820/models.rb', line 1353 def StartTaskInfoSet @StartTaskInfoSet end |
#TaskIds ⇒ Object
1353 1354 1355 |
# File 'lib/v20210820/models.rb', line 1353 def TaskIds @TaskIds end |
#TaskType ⇒ Object
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 |